Hallo Freunde,
ich möchte, dass das VE_Guestbook als eine Art Kommentarfunktion immer am Ende einer Seite erscheint. Damit ich es nicht überall als PlugIn einfügen muß, würde ich es gerne HARDCODEN.
Leider finde ich nirgens einen Code für die Ausgabe des Gästebuchs. Also die LIST,FORM,und TEASER Codes. Hab alle relevanten PHP und PI´s aus der EXT angeschaut und so ziemlich alle Forumeinträge dazu durch, aber finde nichts.
Als PlugIn läuft alles bestens. Gibts da nicht sowas wie
code >
code = LIST
oder so ähnlich :-)
So habe ich das jetzt drin!!!!
marks.GUEST < plugin.tx_veguestbook_pi1
plugin.tx_veguestbook_pi1 {
userFunc = tx_veguestbook_pi1->main
templateFile = fileadmin/templates/guestbook_template.html
teasercut = 50
wordcut = 30
sortingField = crdate
sortingDirection = desc
limit = 5
email_from_name =
email_from_mail =
emoticons {
########### Um die Smile`s zu aktivieren muss active = 1 gesetzt werden !!!
active = 0
10 = IMAGE
10 {
file = EXT:ve_guestbook/pi1/emoticons/###EMOTICON###.gif
params = hspace=1 vspace=1 valign=bottom
border = 0
altText = Emoticon
titleText = Emoticon
}
subst {
11.str = :D
11.val = 1
12.str = :) || :-)
12.val = 2
13.str = :( || :-(
13.val = 3
14.str = :'(
14.val = 4
15.str = :?:
15.val = 5
16.str = ;) || ;-)
16.val = 6
}
}
_CSS_DEFAULT_STYLE (
/* example styles */
.tx-guestbook-list-header { background-color: #C5D6E6; color: #000000; font-weight:bold; }
.tx-guestbook-list-row { background-color: #FFFFFF; }
.tx-guestbook-list-rowleft { background-color: #EEEEEE; }
.tx-guestbook-list-entrycomment-title {font-weight: bold; }
.tx-guestbook-list-entrycomment { font-style: italic; }
.tx-guestbook-list-small { font-size: 9px; color: #666666; }
.tx-veguestbook-pi1-browsebox TD { font-size: 9px; color: #666666; }
.tx-veguestbook-pi1-browsebox-strong, .tx-ttnews-browsebox-SCell { font-weight: bold; }
.tx-veguestbook-pi1-browsebox-SCell { background-color: #EEEEEE; }
.tx-guestbook-latest-header { background-color: #C5D6E6; color: #000000; font-weight:bold; }
.tx-guestbook-latest-row { background-color: #FFFFFF; }
.tx-guestbook-latest-small { font-size: 9px; color: #666666; }
.tx-guestbook-form-inputfield-med { border-style: solid; border-width: 1pt; border-color:#C5D6E6; font-size:12; color:#333333; width:100; height:20; }
.tx-guestbook-form-inputfield-big { border-style: solid; border-width: 1pt; border-color:#C5D6E6; font-size:12; color:#333333; width:150; height:20; }
.tx-guestbook-form-textarea { border-style: solid; border-width: 1pt; border-color:#C5D6E6; font-size:12; color:#333333; width:200; }
.tx-guestbook-form-obligationfield { color: #CC0000; }
.tx-guestbook-form-error { color: #CC0000; }
)
pageBrowser {
maxPages = 10
# if you want the pagebrowser to display only numbers, set showPBrowserText to 0.
showPBrowserText = 0
tableParams = cellpadding="5" cellspacing="0" border="0"
showResultCount = 1
}
}
Natürlich sind die FE Einträge dann hoffentlich in der jeweiligen Seite zu finden
Gruß Andreas