[Typo3] typoscript content element?
Peter Klein
peter at umloud.dk
Mon Aug 29 12:00:19 CEST 2005
"Pieter Jelle" <pieter.jelle at invalid.invalid> skrev i en meddelelse
news:mailman.1.1125307449.27679.typo3-english at lists.netfielders.de...
> There's something fairly easy I want to do but I can't seem to think of a
> way to do it. I think I'm overlooking something here because it seems so
> obvious, so I'm hoping that someone will point me in the right direction.
>
> I'm trying to include a bit of typoscript (an HMENU) on one particular
> page. The typoscript will simply list all pages in a certain branch of the
> page tree, and I will use it to automatically create an archive of all
> newsletters sent with direct mail (which are in a different part of the
> page tree, outside the website branch). I wrote the typoscript already.
>
> Can anyone tell me how to include such a piece of typoscript on one page
> (in a way similar to placing a content element)? Thanks in advance and
> sorry if it's obvious!
>
> Best regards
> Pieter Jelle
Hi Pieter. One option is to replace one of the predefined menuobjects, or
create an addition to the predefined ones.
In Page TSConfig add this:
-- cut --
TCEFORM.tt_content.menu_type {
addItems.8 = BlaBla
}
-- cut --
Now you got an extra item in the selectbox, called "BlaBla"
In the "tt_content.menu" object, you add a new key called "8"
like this:
-- cut --
tt_content.menu.20.8 < your.ts.menuobject
-- cut --
--
Peter Klein/Umloud Untd
More information about the TYPO3-english
mailing list