Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:22 am EST

Geeklog Forums

Beginner\'s qns


Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
Hi, i just installed geeklog 1.3.7sr2 and am just getting used to the interface. This is the first time I am using a CMS. My problem now is that I would like to add a block that allows me to enter html. It will be a static page. I need to enter codes like . Do I have to use staticpages for it? Are there any beginner\'s guides on geeklog? I cant seem to be able to find any good guides around. thanks for helping Wink
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by belgarathc:My problem now is that I would like to add a block that allows me to enter html. It will be a static page. I need to enter codes like . Do I have to use staticpages for it?
Not sure what you want to do (and the forum has filtered out any HTML that you entered - try using the CODE button next time). Static Pages are for static content (hence the name), i.e. more or less anything that you don\'t want to make a story. You can also display the content of a static page in a block in the center area (see the documentation for details). A side block is created from the Admin\'s Block menu. If you chose to create one of type \"normal block\", you can enter HTML (or just plain text) in there and it will display in a block on the left or right side (whatever you chose). There isn\'t any user documentation (yet), I\'m afraid. But hopefully, most things are pretty obvious. If you have any question that haven\'t been answered here before, just ask ... bye, Dirk
 Quote

Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
oh man, i didnt know i just have to create a \'normal block\' to get what i need. i thought i have to use staticpages. what cant a story do that a staticpage can? really appreciate your quick reply, have a nice day Smile
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by belgarathc:what cant a story do that a staticpage can?


The original idea for static pages was to use them for things like an "about us" page, an FAQ, etc. A story just isn't the right place for this kind of content. Also, you have more control over the page layout in a static page - and you can even use PHP in them now (as of 1.3.8).

bye, Dirk
 Quote

Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
icic, hmm, how can i create in a link in the normal block that opens a page at the center area? whenever I click on a link in the block i created, it opens a whole new page in the broswer.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by belgarathc:hmm, how can i create in a link in the normal block that opens a page at the center area?
Well, that depends on what you want to display there. If its some text that you wrote, then that would be a perfect example for a static page (i.e. create a new static page, type your text into it, and link to it from your block). If it's something else, e.g. some dynamic content, you may need to create your own PHP file (and link to it). To wrap things in Geeklog's header, footer, and blocks, you only need five lines of PHP code:
Text Formatted Code
    require_once('lib-common.php');
    echo COM_siteHeader ();
    echo COM_startBlock ('Block headline here');

    ... your code here ...


    echo COM_endBlock ();
    echo COM_siteFooter ();
Hope that helps. bye, Dirk
 Quote

Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
i am trying to open the index page of another site at the center block. so i assume it\'s best that i start learning some php? thanks dirk Smile
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by belgarathc: i am trying to open the index page of another site at the center block.


Well, that is a) rude (if it's not your own site) and b) requires the use of frames or iframes (which have their own suite of problems).

What's wrong with a good ol' fashioned link?

bye, Dirk
 Quote

Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
Actually I am trying to link to another site of mine. I guess I have to use a \'open new window\' link then. Thanks for all the help!
 Quote

All times are EST. The time is now 11:22 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content