Wiki ⇒ v9 Developer's Manual ⇒ Dragonfly Themes ⇒ Banners ⇒ CPG Dragonfly™ CMS

13.7. 8: Banners Parent


In theme.php of your theme
function themeheader()
function themefooter()

all of these functions contain the following array
$cpgtpl->assign_vars(array(

determine where you want to place the banners on your site and then add
'S_BANNER'     => ($banners) ? viewbanner() : '',
to the array in the correct function

in themename/template folder select the corresponding file
header.html
footer.html

and place {S_BANNER} where you want it to display

Created: Monday, April 25, 2005 (01:00:47) by Head-e
Updated: Thursday, March 06, 2008 (23:01:37) by Phoenix