Eddy Tumath

Anonymous
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.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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 by setting new templates for $_BLOCK_TEMPLATE['events_block']. Which may be preferrable to modifiying the code.

bye, Dirk

Eddy

Anonymous
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 by setting new templates for $_BLOCK_TEMPLATE['events_block']. Which may be preferrable to modifiying the code.

bye, Dirk


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 :

Text Formatted Code
    102 => 'Site Events',
 


I now have :

Text Formatted Code
    102 => "<img border=\"0\" src=\"http://www.dreamflight.org/ednewsite/images/titles/events_blue_19pt.gif\">",