[Typo3-dev] Shared contents and several content area templates with TemplaVoila?

Bernhard Kraft kraftb at kraftb.at
Sun Jun 19 13:26:04 CEST 2005


tapio wrote:

> I have not done that. I have used content elements normally like in MTB.
> Using content elements nested might be COMPLEX for people who just 
> udpate contents. 'kb_conttable' has the possibility to use content 
> elements inside content elements - but it is TOO COMPLEX!

Well. The fact is that you don't need my extensions kb_cont_table if you want
to nest records with TV. TV already supports that ...
TAKE A LOOK AT THAT SCREENSHOT (AGAIN IF YOU ALREADY DID):
http://www.think-open.org/kraftb/fce.png
I describe it:
Below the "Localization, Page related information, Non-used elements" Tabs in the
top begins the Content-Area. Here all columns are liste. As you see there is just
one Column named "Content" (gray background). This is the Content-Column I created
in TV for the Page DS/TO templates.
in the "Content" box you first see new-icon for creating new elements. And then you
have something strange: You have the icon of a content elemnt but the content of the
content-elments seems to be (is) two Content-Areas again (Left and Right) in which you
can again insert Content-Elements.
So this "replaces" the Content-Area template in some way. Of course you can have different
templates by selecting them in the Page-Header but this way you will have to first select
DS and then TO (which you already noted and probably is "to complex" for your customer :)

I will pherhaps write an extension somewhen which allows a User to select the wanted
DS/TO combination out of a list of all possible combination ....


> 
>> 4. Calling a TS content object from inside a TV page template
> 
> 
> Doesnt' work - you can't know what it the content element. Custormer has
> the possibility to delete content elements.

You probably mix up "TS content object" which is something like "lib.somehting = RECORDS"
or "lib.other = CONTENT" and "content elements" which are "text" "text w. image"

what christopher meant is that you can make a field in your DS/TO which is a Typoscrip Object Path
(lib.something)
and then write something like:

lib.something = RECORDS
lib.something.table = ....

blabla

This will work. You wrote in one of your other Mails that it didn't !
BE SURE THAT IT DOES AND THE ERROR IS ON YOUR SIDE !
I use that in 2 of my sites which run TV so I can just not let somebody believe
that this doesn't work: Try harder :)


>> 5. Calling a specific content element from inside a TV page template 
>> with TS.
> 
> 
> 
> Doesnt' work - you can't know what it the content element. Custormer has
> the possibility to delete content elements.

Surely. Not a specific content element ... but your "shared" content shall be something
like "all content elemnts on that page (in the Normal/Left/etc. column)"


Did you have a look at my extension:
kb_tv_cont_slide
It allows you to insert a content element in a TV Content Column (field: Content Elements) and
then have this/those Content elements in this column get "inherited" to all subsequent pages
with that column.

That means you can insert a content element in the root-page of your site in a TV column and
all pages below will also have it ... till you insert another ...


greets,
Bernhard








More information about the TYPO3-dev mailing list