View Full Version : Forumhome Announcement

07 Nov 2004, 19:15
I have added a box at the top of my forumhome with announcements in where i just go in and edit the forumhome template to edit what the announcement says... but now that i have more than one style set i was just wondering if there was a way to put the box in like its own template or summat and call it with a function like $announcebox?? so that i would only have to edit the announcement once and it would appear on all my styles

Thanx in advance for any help

07 Nov 2004, 19:33
open global.php

look for
eval('$header = "' . fetch_template('header') . '";');

add below
eval('$announcebox = "' . fetch_template('annoucnebox') . '";');


Make a new template with the title: annoucnebox

then add the html codes you need

then you can add $announcebox to the forumhome template where you need it.

07 Nov 2004, 19:41
Wow that was quick... thankyou so much

07 Nov 2004, 19:58
Ah... one problem... i would have to make the announcebox template on all my style wouldnt i.... and then i have the same problem....