Es ist zum Mäuse melken.
Habe das Forum hier schon einige Male durchgekämmt, verschiedene Konfigurationen ausprobiert - aber es klappt nicht.
Klickt man auf meiner Site den Weitersagen- Button, gehts weiter auf die entsprechende Seite, bei mir die 33, doch dann ist Ende: Leere Seite, kein Inhalt, egal, welches Template ich so benutze.
Ich poste hier mal meine TS Einträge:
1. Template der Site
------------------
Constants::
------------------
#--------------------------------------------------------
#tipafriend konfigurieren -- ext: tipafriend installieren
#--------------------------------------------------------
plugin.tipafriend {
file.templateFile = fileadmin/tpl/tipafriend_template.tmpl
PIDtipForm = 33
}
------------------
Setup::
------------------
#----------------
# TIP A FRIEND
#----------------
temp.tipafriend = COA
temp.tipafriend {
userFunc = tx_tipafriend->main_tipafriend
code = TIPLINK
templateFile = {$plugin.tipafriend.file.templateFile}
allWrap = |
#holt die domain
1 = TEXT
1.data = getenv:HTTP_HOST
#holt den pfad
2 = TEXT
2.data = getenv:REDIRECT_URL
#setzt zusammen
1.wrap = <a href="index.php?id=33&no_cache=1&tipUrl=http://|
2.wrap = |" target="_self"><strong><img src="fileadmin/images/static/icon_seiteempfehlen.gif" alt="Diese Seite weiterempfehlen" /></strong></a>
}
Template der Plugin - Seite:
------------------
Constants::
------------------
plugin.tipafriend {
# cat=plugin.tipafriend/file; type=file[html,htm,tmpl,txt]; label= Template File: HTML-template file for display of the Tip-a-Friend form
file.templateFile = fileadmin/tpl/tipafriend_templ.tmpl
# cat=plugin.tipafriend/typo; type=wrap; label= Wrap 1: This wrap is used in the template-file.
wrap1 = <font face="verdana" size="2" color="black"> | </font>
# cat=plugin.tipafriend/typo; type=wrap; label= Wrap 2: This wrap is used in the template-file.
wrap2 = <font face="verdana" size="1" color="black"> | </font>
# cat=plugin.tipafriend/color; type=color; label= Color 1: This bgcolor is used in the template-file.
color1 = #cccccc
# cat=plugin.tipafriend/color; type=color; label= Color 2: This bgcolor is used in the template-file.
color2 = #999999
# cat=plugin.tipafriend/color; type=color; label= Color 3: This bgcolor is used in the template-file.
color3 = #333333
# cat=plugin.tipafriend//; type=int+; label= PID for the Tip-form page.
PIDtipForm = 33
# cat=plugin.tipafriend/enable; type=boolean; label= Send page as HTML: If set, the mail is sent as an HTML mail.
htmlMail = 0
}
------------------
Setup::
------------------
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/css/cssxyz.css
page.shortcutIcon = fileadmin/images/favicon.ico
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/tpl/template_tip.html
workOnSubpart = document
subparts {
#content-bereich -- css styled content installieren --
temp.content < styles.content.get
}
}
------------------
Include static:
------------------
content (default)
language.de (german)[DEPRECATED]
plugin.tipafriend [DEPRECATED]
Include static (from extensions):
CSS Styled Content
------------------
template_tip.html
-----------------
<!-- ###document### -->
<!-- ###content### -->
<!-- ###content### -->
<!-- ###document### -->
-----------------
So weit so gut - oder eben nicht.
Kann mich da jemand unterstützen? Über Hilfe würde ich mich freuen.
Beste Grüße
pop3