Posted on: 10/19/04 10:22am
By: thedailycynic
Is there a way that I cant apply a custom block theme to the location of the centerblock on the index page. For example when I have a static page that I want to be shown as a centerblock at the highest point (Top Location) can I specify a certain look just to that location? is that possible or that going to have to be hard coded which I hope not (GL 1.3.9) thanks
Centerblock Theme
Posted on: 10/19/04 01:13pm
By: machinari
you can accomplish this but will take a small bit of coding. once you have designed your custom template files after the fashion of the regular block template files, but with your design ideas, you will then have to throw some if-else statements into the plugin's PHP code in functions.inc. The function plugin_centerblock_staticpages is what you'll be looking for. I think. so something like "if position is top, then use this template, elseif position is bottom, then use this template... etc." (not true PHP )
If there is an easier way, I don't know what it is.
Centerblock Theme
Posted on: 10/19/04 01:17pm
By: thedailycynic
Thanks for the direction though i will see if i can get it to work.
Centerblock Theme
Posted on: 10/20/04 02:28am
By: Dirk
The templates for the static pages blocks can be overridden in 1.3.10 - see docs/history
bye, Dirk