[TYPO3-templavoila] FYI: Severe bug in current version of kb_tv_cont_slide
Joerg Wagner [DigiLog]
news.netfielders.de at digilog.de
Fri Feb 13 08:34:09 CET 2009
Hi Nils,
> For the Slide this is a contradiction! You'll never be able to slide
> from DS1 into DS2, and that includes "Localprocessing Overlays".
> Slide will only be available across the range of identical DSs:
nope, you got me wrong. I am not talking about changing the DS over the
page tree. I only referred to the assignment of templates to pages as an
example for way I propose to define field sliding properties.
But let me try again:
Imagine just one template with one DS and one TO is used over all pages
of the whole page tree. And then imagine your DS defines a field for a
background image (field_bgimg) to be used in the page.
And you have one page - lets say the root page - that uses image A and
ALL subpages use image B (which is a rather common situation).
Now:
If you use a simple slide definition (like kb_tv_cont_slide currently
does) you have to set field_bgimg in the root page to image A and in ALL
firstlevel (!) subpages to image B. All deeper level subpages inherit B
by sliding (so it is not necessary to set field_bgimg in deeper pages).
With my proposal you could simply define A and B in the rootpage: A as
the field value for the current page, B as the field value to slide down
through all child pages). That would be all.
This resembles the way templates are assigned to pages (Page Template
Structure / Subpages - Page Template Structure) - that is why I
mentioned the DS as an example!
My proposal also eliminates the need to train editors that they have to
choose a background image when they add new firstlevel subpages. I can
all be done in the parent page.
Cheers, Jörg.
Niels Fröhling schrieb:
> Joerg Wagner [DigiLog] wrote:
>> Just one remark:
>> I'm not sure, whether Niels' code already contains this, but just in
>> case... For practical reasons it would be very fortunate to have a
>> possibility to define the sliding in a similar way as the sliding of
>> e.g. the page templates in the page tree. For those you can define a
>> template for the current page and a different template to be used for
>> all subpages. This second template is the value that slides down the
>> tree below the current page.
>
> For the Slide this is a contradiction! You'll never be able to slide
> from DS1 into DS2, and that includes "Localprocessing Overlays".
> Slide will only be available across the range of identical DSs:
>
> level
> | 1 | 2 | 3 4 | 5 6 7
> 8 |
> | DS1 <---- DS1 | DS2 <----- DS2 | DS3 <----- DS3 |
>
> This ASCII-pic will never make it. :)
>
> Ciao
> Niels
>
More information about the TYPO3-project-templavoila
mailing list