Log in

View Full Version : Forumhome Announcement


Mitsuaki
11-07-2004, 06:15 PM
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

Johnny
11-07-2004, 06:33 PM
open global.php

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

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

save

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.

Mitsuaki
11-07-2004, 06:41 PM
Wow that was quick... thankyou so much

Mitsuaki
11-07-2004, 06:58 PM
Ah... one problem... i would have to make the announcebox template on all my style wouldnt i.... and then i have the same problem....