Posted on: 03/06/06 12:14pm
By: rmhiggins
The config.php can allow the {left_blocks} variable to be available in the footer.thtml file. Is there any way to allow the right blocks in the header file?
right blocks in the Header.thtml file?
Posted on: 10/24/06 06:01am
By: MacQuarrie
That's what I want to know as well.
I want to have MediaGallery's random picture block placed in the header, and I thought the best way to do it would be to set it as a right block, disable all the other right blocks, and place the right_blocks call where I want the image in the header. But it doesn't work.
Can anyone tell me what I have to change (and where) to make this work?
Thanks!
right blocks in the Header.thtml file?
Posted on: 10/24/06 10:13am
By: Euan
There is a file functions.php included in every theme. You can override the COM_siteHeader() and footer functions in lib-common.php by including similar functions in functions.php - naming is explained in the file. I can imagine that you should be able to use a custom header function there to execute php code - for example, calling the MediaGallery block.
Euan.