[TYPO3-english] Limit the content slide

bernd wilke x00nsji02 at sneakemail.com
Fri Jan 9 18:59:09 CET 2009


Am Fri, 09 Jan 2009 16:04:55 +0100 schrieb Pascal Cramer:

> Andreas Burg wrote:
>> Pascal,
>> 
>>> If not possible I'd rather create a new column instead of defining a
>>> new (extending) template on each first-level page. :-)
>> 
>> I think you can do an override on each first-level page with a conditon
>> in your main-template.
>> 
> That's indeed a better way to do it :-), but how to stop the slide? If I
> have the following page tree:
> Home
>   - Page 1
>     - Page 2
>       - Page 3
> and Page 3 does not have border content, Page 2 should be checked for
> the content, if Page 2 does nit have it, check Page 1. The standard
> slide behaviour, so far so good. But if Page 1 does _not_ have any
> content in the border-column, the slide should stop and a default image
> should be used. ie: it should never check the home.

following the definition of slide (http://typo3.org/documentation/
document-library/references/doc_core_tsref/4.2.0/view/1/8/#id4251042) you 
may set a value how many levels the slide will follow. 
this depends on your treelevel and you have to define this in different 
conditions (http://typo3.org/documentation/document-library/references/
doc_core_tsref/4.2.0/view/1/4/#id4149248) for each treelevel

bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list