Dmite

Anonymous
How can I test in the header.thtml (via PHP) whether the site is on the front page? I want to display an image, but only on the front page. I know I can do it in a static page centerblock, but that forces white space around the image. I want it flush against everything. If I place it in the header, it displays nicely, but on every page. I only want it on the front page.

Any ideas?

-D

Dmite

Anonymous
Wow.

I really think Geeklog is amazing. The answer to my question is

COM_onFrontpage()


We need to get Geeklog a better templating engine because, unfortunately, most users aren't terribly interested with what is under the hood. They want to know if stuff blinks and flashes and goes ooogah ooogah. But when you look inside Geeklog, it is just plain poetry.

Great bleepin' job!

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
You are right: Geeklog is not only The secure CMS
but we coudn't take Code is poetry as slogan Big Grin

Ben



I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

koalasoft

Forum User
Full Member
Registered: 03/09/05
Posts: 242
where is this function COM_onFrontpage(), what file ?

Greetings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
You can find all COM_functions in public_html/lib-common.php

Ben
I'm available to customise your themes or plugins for your Geeklog CMS