Hallo, zusammen,
ich verzweifle langsam am Versuch, Plugins in meine Seite zu laden. #evil#
Ich habe ein Template von Grund auf selbst erstellt, nach diversen Anleitungen. Nun möchte ich verschiedene Plugins nutzen, z. B. News und den Shop. Keines der Plugins kann ich aber dazu überreden, ihren Inhalt auch im Frontend anzuzeigen. Dort erscheint immer nur die Überschrift. 😢
Ich gehe davon aus, dass der Fehler im Template liegt. Ich finde nur nirgends Informationen dazu. Könnte mir _bitte_ mal jemand erklären, was ich tun muß, damit der Inhalt meiner Plugins auch erscheint?!?
Falls es hilft, hier der Template-Setup-Code.
## --- Define breadcrumbs --- ##
temp.breadcrumb = HMENU
temp.breadcrumb.entryLevel = 1
temp.breadcrumb.special = rootline
temp.breadcrumb.1 = TMENU
temp.breadcrumb.1.target = container
temp.breadcrumb.1.NO {
allWrap = {$content.bcDelim} |
}
# Define Top Menu
temp.topMenu = HMENU
#temp.topMenu.stdWrap.wrap = <TABLE STYLE="text-align: right; border-top: 1px solid {$menu.borderCol}; border-bottom: 1px solid {$menu.borderCol}; spacing: 0 0 0 0; padding: 0 0 0 0; background-color: {$menu.bgCol};"><TR><TD><TABLE><TR> | </TD></TABLE></TD></TR></TABLE>
temp.topMenu.stdWrap.wrap = <TD STYLE="vertical-align: bottom; text-align: right;"> <TABLE STYLE="border-top: 1px solid {$menu.borderCol}; border-bottom: 1px solid {$menu.borderCol};"><TR> | </TR></TABLE> </TD>
temp.topMenu.entryLevel = 0
# Menu layer 1
temp.topMenu.1 = TMENU
temp.topMenu.1.target = container
temp.topMenu.1.NO {
allWrap = <TD>~</TD><TD id="1tmenu{elementUid}" STYLE="background-color: {$menu.bgCol};"><B> | </B></TD>
ATagBeforeWrap = 1
stdWrap.case = upper
subst_elementUid = 1
RO_chBgColor = {$menu.ROCol} | {$menu.bgCol} | 1tmenu
RO = 1
}
temp.leftMenu = HMENU
temp.leftMenu.entryLevel = 1
temp.leftMenu.stdWrap.wrap = <TABLE STYLE="width: 150px; border-top: 1px solid {$menu.borderCol}; border-bottom: 1px solid {$menu.borderCol}; spacing: 0 0 0 0; padding: 0 0 0 0; background-color: {$menu.bgCol};"><TR><TD STYLE="border-bottom: 1px solid #000000; font-weight: bold;">INDEX</TD></TR><TR><TD><TABLE border="0" width="100%" cellspacing="1" cellpadding="2">|</TABLE></TD></TR></TABLE>
# Menu layer 1
temp.leftMenu.1 = TMENU
temp.leftMenu.1.target = container
temp.leftMenu.1.NO {
allWrap = <TR><TD> </TD><TD ID="1tmenu{elementUid}" STYLE="background-color: {$menu.bgCol};">|</TD></TR>
subst_elementUid = 1
RO_chBgColor = {$menu.ROCol} | {$menu.bgCol} | 1tmenu
RO = 1
ATagBeforeWrap = 1
}
temp.leftMenu.2.ACT < temp.leftMenu.2.NO
temp.leftMenu.2.ACT = 1
temp.leftMenu.2.ACT {
allWrap = <TR><TD><IMG src="media/bullets/bullet1_h.gif" width="5" height="9"></TD><TD STYLE="background-color: {$menu.ROCol};">|</TD></TR>
}
## --- Define Frameset --- ##
# outer Frameset
page = PAGE
page.typeNum = 0
# inner Frameset
container = PAGE
container.typeNum = 2
# Top Frame
top = PAGE
top.typeNum = 3
top.stylesheet = fileadmin/webbird/wbnav.css
top.bodyTag = <body style="background-color: {$top.bgCol};">
top.wrap = <TABLE STYLE="width: 100%; text-align: right; spacing: 0 0 0 0; padding: 0 0 0 0; background-color: {$menu.bgCol};"><TR> | </TR></TABLE>
top.bodyTagMargins = 0
top.10 = IMAGE
top.10.wrap = <TD> | </TD>
top.10.linkWrap = <a HREF="index.php?{0}" target="_top"> | </a>
top.10.params = {$top.imgParams}
top.10.file = {$top.file.image}
top.20 < temp.topMenu
# Content Frame
content = PAGE
content.typeNum = 4
#content.config.admPanel = 1
content.bodyTagMargins = 0
content.bodyTag = <BODY STYLE="background-color: {$content.bgCol}">
content.noLinkUnderline = 0
content.10 = CONTENT
content.10.wrap = <TABLE STYLE="width: 100%; height: 100%;" BORDER="1"><TR><TD>|</TD></TR>
content.10.table = tt_content
content.50 < temp.breadcrumb
content.50.wrap = <TR><TD STYLE="vertical-align:bottom; font-size: 10px;">|</TD></TR></TABLE>
# Define outer frameset
page.frameSet.rows = 103,*
page.frameSet.params = BORDER="0" FRAMEBORDER="0" FRAMESPACING="0"
page.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO"
2 = FRAME
2.1.params = frameborder="NO" marginwidth="0" marginheight="0"
2.obj = container
}
# Define container frameset
container.frameSet.cols = 150,*
container.frameSet.params = BORDER="0" FRAMEBORDER="0" FRAMESPACING="0"
container.frameSet {
1 = FRAME
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
1.obj = menu
2 = FRAME
2.obj = content
}
# Menu Frame
menu = PAGE
menu.typeNum = 1
menu.bodyTag = <body bgColor="{$menu.bgCol}">
menu.bodyTagMargins = 0
menu.noLinkUnderline = 0
menu.stylesheet = fileadmin/webbird/wbnav.css
# Menu in menu frame
menu.10 < temp.leftMenu
## NEWS ##
plugin.tt_news.templateFile = fileadmin/webbird/news_template.tmpl
Es handelt sich also um einen verschachtelten Frameset mit einem Top-Frame, in dem sich das Logo und das Menü Ebene 1 befindet. Im linken Frame dann die zweite Menüebene. Im Frame "content" dann der Seiteninhalt. Wahrscheinlich kriegt man das alles noch besser / schöner / einfacher / was-weiß-ich hin, aber anhand der Dokus krieg ich es halt nur so hin. Funzt ja auch so weit - bis auf die Plugins...
IRGENDWO muß doch der Fehler sein. Und IRGENDWER muß doch den richtigen Tipp parat haben. BITTE HELFT MIR! *rabäh*
Vielen Dank im voraus.
Gruß, Bianka <- die sich ziemlich verlassen fühlt...