Quote:
Originally Posted by SaN-DeeP
can we have the hack installed in header template instead of forumshome ?
it makes it easier to be viewable on all pages 
|
I tried adding $dfh_announcement just after my navbar, but it does not show up.
I am no expert in php, so that's as far as I can go, but it would be definitely useful to have the option to show the announcement in every page or just FORUMHOME. I do not care for the pop-up announcement, that I don't want in every page.
If you actually put the $dfh_announcement in navbar, the announcement will be shown in every page, if you put it in FORUMHOME, it goes only in the first page. Ideally, that could be a user-selectable parameter, from the definition of the announcement, which could be checked at run time, something like (in human language code):
if where-to-show-parameter is 1 (=show everywhere) then
show-announcement
if where-to-show-parameter is 0 then
if this is forumhome
show-announcement
else
don't-show-announcement
endif
endif
Logician, can we please have that, either with the parameter in admin cp, or without it (just do it so whoever wants that message to appear in navbar, can enter $dfh_announcement in the navbar template instead of FORUMHOME)?
Thank you Sir