PDA

View Full Version : Forumhome Announcement


Mitsuaki
07 Nov 2004, 20: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

Johnny
07 Nov 2004, 20:33
open global.php

look for


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



add below


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
07 Nov 2004, 20:41
Wow that was quick... thankyou so much

Mitsuaki
07 Nov 2004, 20: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....