Hi Leute,
mein Problem ist dass die Banner nur auf der Root Seite ausgegebn werden - kann man das irgendwie einstellen ? Benutze die Advanced Banner Verwaltung
hier mein Sitetree:
Startseite (mit dem Template)
--Aktuelles
--Kontakt
----Adresse
----Lageplan
--Downlads
....
Hier der Setup Code
# Standardsprache festlegen
config.locale_all = de_DE@euro
# Einschalten des Spam Schutzes (benötigt allerdings JavaScript) und Angabe in welches Symbol @ umgewandelt wird. Standard: (at)
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = @
# Seite und Seiteneigenschaften festlegen
page = PAGE
page.typeNum = 0
# Sprache der Seite
page.config.sys_language_uid = 1
page.config.language = de
page.config.locale_all = de_DE
# Stylesheet, das verwendet wird
page.stylesheet = fileadmin/template/css/styles.css
# Template, das verwendet wird
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/template/index.htm
# Bereich, in dem die Variablen stehen
workOnSubpart = DOKUMENT_BODY
# Zuweisung von content
# Wichtig: Bei "Include static" muss "content (default)" gewählt werden
# Hauptinhalt
marks.SEITENINHALT = CONTENT
marks.SEITENINHALT < styles.content.get
marks.SEITENINHALT.select.orderBy = sorting
#########################################
# Das Menu erzeugen #
#########################################
marks.MENU1 = HMENU
marks.MENU1.1 = TMENU
marks.MENU1.1 {
target = _top
NO.allWrap = <tr><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="21" bgcolor="#e7e7e7" align="left" valign="top"><img border="0" src="fileadmin/template/images/pfeil_menu.gif" width="21" height="22"></td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="179" class="td_menutext" align="left" valign="top"> | </td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr><tr><td colspan="5" background="fileadmin/template/images/strich_rot_wag.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr>
ACT = 1
ACT.allWrap = <tr><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="21" bgcolor="#e7e7e7" align="left" valign="top"><img border="0" src="fileadmin/template/images/pfeil_menu.gif" width="21" height="22"></td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="179" class="td_menutextaktiv" align="left" valign="top"> | </td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr><tr><td colspan="5" background="fileadmin/template/images/strich_rot_wag.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr>
}
marks.MENU1.2 = TMENU
marks.MENU1.2 {
target = _top
NO.allWrap = <tr><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="201" bgcolor="#e7e7e7" colspan="3" height="20" class="td_submenu">» |</td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr><tr><td colspan="5" background="fileadmin/template/images/strich_rot_wag.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr>
ACT = 1
ACT.allWrap = <tr><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td><td width="201" bgcolor="#e7e7e7" colspan="3" height="20" class="td_submenu_aktiv">» |</td><td width="1" background="fileadmin/template/images/strich_rot_senk.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr><tr><td colspan="5" background="fileadmin/template/images/strich_rot_wag.gif"><img border="0" src="fileadmin/template/images/transparent.gif" width="1" height="1"></td></tr>
}
#########################################
# Datum erzeugen #
#########################################
marks.DATUM= COA
marks.DATUM {
10 = TEXT
10.data = date:U
10.strftime = <b>%A,</b> %e. %B %Y
}
marks.UEBERSCHRIFT = IMAGE
marks.UEBERSCHRIFT.file = GIFBUILDER
marks.UEBERSCHRIFT.file {
format = gif
quality = 99
XY = [10.w],20
backColor = white
10 = TEXT
10.text.field = subtitle // title
10.fontFile = fileadmin/template/thesan.ttf
10.fontSize = 11
10.fontColor = #525252
10.niceText = 1
10.offset = 0,14
}
marks.BANNERTOP < plugin.tx_macinabanners_pi1
marks.BANNERTOP {
# show banners with this attribute, options are: top, left, bottom, right
placement = top
#mode to show banners, options are: all, random
mode = all
# list of page ids where the banners should be taken from ( comma seperated f.E.: 1,5,7)
pidList =
# levels of recoursion to search for banners
recursive = 1
# Limit numeber of Banners
results_at_a_time = 5
templateFile = fileadmin/template/banner.htm
}
# marks.BANNERTOP < temp.BANNERTOP