Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 09:54 am EST

Geeklog Forums

Altering What Is Displayed On Main Page


Status: offline

Mr_Nath

Forum User
Newbie
Registered: 02/03/04
Posts: 4
I am wanting to alter the way EVERYONE views my site. I am only wanting the latest 'Featured Article' (If there is one) to be displayed, and then the last 5 posts. I have static pages installed and I have been trying to configure a static page to hold a welcome message above the Featured Article but NOT in the 'div' so that the bg of the stories isnt behind the message but the bg of the page. Is this possible??? If there is a way to do the welcome message without having to use Static Pages that would be good too? Any suggestions?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
If you really want the background of the message to be different than the rest of the contentbox, then you are probably going to have to put the message in the header.thtml file in your theme folder.

You can then use php to determine if the current page is a page you want to display the header on, and then print it out if it is.
 Quote

All times are EST. The time is now 09:54 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