[TYPO3-ttnews] tt-news extra email link with subject for reservation
Robert Wildling
rowild at gmx.net
Tue Jan 20 12:05:34 CET 2009
Hi, tt_news pro's,
I use a tt_news as a kinda calendar module for a theatre. Each entry is
supposed to display an email-link that, when clicked, opens ones email
client, fills in the subject automatically with the news title and some
preformulated other text.
What I did was inserting a ###TICKET_LINK### subpart in my
news_list_view template.
Next I defined a temp.ticket object looking like this:
temp.ticketLink = TEXT
temp.ticketLink {
value = Zur Kartenreservierung
typolink {
parameter = karten at blackbox-theater.at
additionalParams = &subject={field:title}
additionalParams = &bodytext=Please let us know howmany tickets you
would like to reserve:
}
}
Then - in my general setup typoscript - I put:
page.10.suparts.TICKET_LINK < ticketLink
But - the subpart won't even get replaced.
Can anybody help me finding out how to get such an additional link into
a new template?
The next step would be to link to a powermail pagem, where the subject
also gets replaced by the news-title.
Any help is greatly appreciated!
Thank you!
Robert
More information about the TYPO3-project-tt-news
mailing list