[Typo3] tip a friend
Chi Hoang
chibo at gmx.de
Thu Aug 11 21:29:17 CEST 2005
racco schrieb:
> But what if I would like to send someone link to news in tt_news which is
> not so simple. How can I do this with this ext? Is it possible to get by
> typoscript total URL of actual page. I could use it then in my link...
for example:
50 = IMAGE
50.file=fileadmin/Templates/tipafriend.gif
50.stdWrap.wrap = <td width="24" valign="top">|</td>
50.stdWrap.typolinkno_cache = 1
50.stdWrap.typolink.parameter.cObject = COA
50.stdWrap.typolink.parameter.cObject {
5 = TEXT
5.value = index.php?id=104 //page of tipafriend plugin
7 = TEXT
7.data = GPvar : L
7.wrap = &L=|
7.required = 1
10 = TEXT
10.data = page : uid
10.wrap = &tipUrl=http://www.mydomain.de/index.php?id=|
10.required = 1
20 = TEXT
20.data = GPvar : L
20.wrap = +L=|
20.required = 1
30 = TEXT
30.data = GPvar : tx_ttnews | backPid
30.wrap = +tx_ttnews[backPid]=|
30.required = 1
40 = TEXT
40.data = GPvar : tx_ttnews | tt_news
40.wrap = +tx_ttnews[tt_news]=|
40.required = 1
50 = TEXT
50.data = GPvar : cHash
50.wrap = +cHash=|
50.required = 1
}
50.stdWrap.typolink.ATagParams =
50.stdWrap.typolink.additionalParams.insertData = 1
50.params= align=left hspace=3 vspace=9
with GPvar you can fetch all url parameters and so on.
Greets,
Chi
More information about the TYPO3-english
mailing list