[TYPO3] SOLVED ! Re: Problem with typolink?! (page:uid works, but the number not) PLS

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Dec 13 19:26:57 CET 2007


Hi!

Good that you solved it, I just want to give extra hint to you or anyone who did not understand why it works one way and not another (newbies).

Karol Martinka wrote:
> Just without the data in the "typolink.parameter.data" :

One way to solve such problems quickly is to look to TSRef to see what each parameter accepts. In your case you can find that "parameter" is stdWrap and in examples you see that it accepts uid directly. If you look to stdWrap's "data" field, you will see that it is of type getData. Going to that type you will see lots of useful things and "page:xxx" among them. So you can see why "data" works with "page:uid" but not with number: number is not suitable for "data" :)

It is as simple as that, just takes time to walk through docs. I must admit, it took lots of time for me to get used to TYPO3 docs. But if something is not working with TS, TSRef can help in 90% of cases.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list