[TYPO3-doc] Better TSRef

Tapio Markula tapio.markula at dnainternet.net
Fri Jun 9 08:59:49 CEST 2006


JoH wrote:
>>Ok. But it would be nice, if TSRef could tell in
>>
> 
> http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/7/
> 
>>for what objects if could be applied with.
>>
>>*that* make TS Ref so difficult - you
>>don't know, where certain statements work!
> 
> 
> Well - it depends on the direction of your "walkthrough".
> In this example you have been searching backwards starting at the end of the
> chain.
> Usually you should do it vice versa and everything would be fine.
> 
> If something you are looking for would be used like this
> 
> 10 = HMENU
> 10  {
>     1 = GMENU
>     1 {
>         if.whatever
>     }
> }
> 
> you should always check first IF there is something like "if" available for
> a GMENU.
> If this the case you can go further and look for the explanation of "if".
> If not it just won't work, regardless of the description in the "if"
> section.
> 
> Maybe  you should switch the topic to "Better reading of TSref" ;-)
> 
> Joey

In fact I got this kind of answer also in English group.
When I looked menu items, they don't have
if and they don't have select.
The only possibility is to create 'userdefined' for
HMENU -

http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/8/11/

Explanations creating that are quite minimal.
There could be a good working example for doing that.



More information about the TYPO3-project-documentation mailing list