Welcome to Geeklog, Anonymous Monday, March 04 2024 @ 11:23 pm EST

Geeklog Forums

right blocks in the Header.thtml file?

Status: offline


Forum User
Registered: 11/11/03
Posts: 5
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?

Status: offline


Forum User
Registered: 09/11/03
Posts: 29
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?

I have no idea what I'm doing.

Status: offline


Forum User
Full Member
Registered: 04/22/02
Posts: 292
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.

-- Heather Engineering
-- No job too small

All times are EST. The time is now 11:23 pm.

  • 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