[Typo3] tip a friend
Raymond Hayes
openedge1 at gmail.com
Fri Oct 7 19:45:13 CEST 2005
Hello
I have used this example, but it does not work. There are & in the
original link that get erased by this setup.
So my link will read
http://www.mydomain.org/index.php?id=47%20tx_ttnews[tt_news]=95%20tx_ttnews[backPid]=9%20cHash=5312b2fc14
The %20 above is a space where an & should be. Why does this happen?
Thank you
Raymond Hayes
On Thu, 11 Aug 2005 21:29:17 +0200, Chi Hoang wrote:
> 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