Posted on: 08/04/06 11:03am
By: Anonymous (Eddy Tumath)
Hi Guys
I'm using Geeklog as the base for a site I'm building for a charity based here in the UK. I'll be sure to let you see when I'm done.
I have a question though :
I need to put an image in to the block that holds the upcoming events. I can't find where to do this though. I've looked in lib-common.php but can't find anything.
I had to put some images in the login block, and that was easy enough. The Events on is proving far, far more difficult.
Any advice greatly appreciated.
Images in Blocks
Posted on: 08/04/06 02:23pm
By: Dirk
That would be function COM_printUpcomingEvents in lib-common.php.
The block header and footer for the events block can also be overridden in the
usual manner[*1] by setting new templates for $_BLOCK_TEMPLATE['events_block']. Which may be preferrable to modifiying the code.
bye, Dirk
Images in Blocks
Posted on: 08/04/06 03:55pm
By: Anonymous (Eddy)
[QUOTE BY= Dirk] That would be function COM_printUpcomingEvents in lib-common.php.
The block header and footer for the events block can also be overridden in the
usual manner[*1] by setting new templates for $_BLOCK_TEMPLATE['events_block']. Which may be preferrable to modifiying the code.
bye, Dirk[/QUOTE]
Dirk, thanks for the suggestion. I actually went down a different path though.
For anyone facing the same problems as me in the future, I went in to the Language file and found the text I wanted to replace. In this case it was "Site Events".
In place of :
102 => 'Site Events',
I now have :
102 => "<img border=\"0\" src=\"http://www.dreamflight.org/ednewsite/images/titles/events_blue_19pt.gif\">",