[TYPO3] additional parans in typolink...

Christopher Torgalson bedlamhotel at gmail.com
Tue Apr 17 05:10:36 CEST 2007


Hi,

On 4/16/07, JoH asenau <info at cybercraft.de> wrote:
> > On 4/16/07, Andrew Davis <andrew at avagraphique.com> wrote:
> >> i guess its obvious i dont fully understand ts if im posting
> >> questions... thanks for the suggestions. i checked out your site,
> >> which im sure will be helpful.
> >>
> >> you say about my solution -- "it's a bit ugly". Do you have a better
> >> suggestion about how I might do this? Im not married to this. I tried
> >> using the tipafriend extension but I had difficulty in implementing
> >> it thru only typosecript (i had to place it as a content item on a
> >> page in the BE).
> >
> > No, I meant /my/ solution (COA inside another COA) was a bit ugly. If
> > typolink.additionalParams had .stdWrap, we could have done something a
> > bit tidier--almost what you had in the first place.
>
> Well - at least in the current TYPO3 version it has got stdWrap properties.
>
> So you can do something like this:
>
> temp.tip = TEXT
> temp.tip.value = Email a friend
> temp.tip.typolink{
>    parameter=36
>    additionalParams.cObject = TEXT
>    additionalParams.cObject {
>       dataWrap = &tipUrl={getIndpEnv: TYPO3_REQUEST_URL}
>    }
> }
>
> I removed the COA in favor of a simple TEXT with dataWrap though ...


Almost what I was thinking of. Time to upgrade my printed TSref--again :-)


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list