Hallo zusammen!
Habe gestern das PlugIn Tip-A-Friend installiert und alles klappt wunerbar.
Jetzt würde ich gerne ein eigenes Template für das Formular benutzen und habe dafür ein EXT-Template auf der Empfehlungseite erstellt. Leider wird die Seite so nicht dargestellt- lösche ich das TPL wird meine Eingangsseite mit dem Formular angezeigt.
Wie bekomme ich das hin, dass nur das Formular angezeigt wird?!?
Meine Configuration der root Seite:
Constants:
plugin.tipafriend {
file.templateFile = EXT:tipafriend/pi/tipafriend_template.tmpl
PIDtipForm = 3
htmlMail = 0
}
Setup:
config.doctype = xhtml_trans
config.metaCharset = utf-8
config.additionalHeaders = Content-Type:text/html;charset=iso-8859-1
config.xhtml_cleaning = all
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/template/index.html
marks.tipafriend = TEXT
marks.tipafriend.data = TSFE:id
marks.tipafriend.wrap = index.php?id=58&tipUrl={$absoluteUrl}/index.php?id= |
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 < temp.mainTemplate
Include static:
plugin.tipafriend...
Grüße Zwomble