[TYPO3-english] including tt_content in templavoila template
René van Densen
statusnil at gmail.com
Thu Sep 3 08:46:23 CEST 2009
No one with *any* tips here ?
I started out using the textbook example:
lib.ondernav_afbeelding = RECORDS
lib.ondernav_afbeelding {
source = 230 # content item UID
table = tt_content
}
But it just wouldn't work. So as said, I read up on justabout every question
asked about this that was remotely similar. Which lead to the absurdly
expanded code mentioned in my previous email. Like I said, I'll try anything
here that might work, so if someone can just give me a pointer or two on
what to look for / verify / add / remove... Please ?
2009/9/2 René van Densen <statusnil at gmail.com>
> Either will be fine, it's a multilingual site and the only content in that
> specific page is one content element with two translations. And I can't
> seem
> to get either of the two to work. So if you can steer me a bit in either of
> those directions, I would very much appreciate it.. I think it's obvious
> enough I am new to this, right ? But I'm trying !
>
> Cheers,
>
> René
>
> On Wed, Sep 2, 2009 at 6:21 PM, Philipp Gampe <phil at philippgampe.info
> >wrote:
>
> > what the hack are you trying to do?
> >
> > do you want to have all content element from a single page displayed from
> > another _or_
> >
> > do you want to have one specific content element from a page?
> >
> > /Phil
> >
> > Am 02.09.2009, 16:55 Uhr, schrieb René van Densen <statusnil at gmail.com>:
> >
> > > Got a little further... now, with the below configuration, the template
> > > will
> > > take any tt_content from the specific page that uses the template, and
> > > put
> > > that in place. That's not what I want, though (it results, for
> instance,
> > > in
> > > Search boxes and FAQ's in place of a very simple central
> > > logo-copyright-address DIV).
> > > Can anyone please help me out ? Changing *anything* (such as RECORDS
> > > instead
> > > of CONTENT) simply leaves the div blank again...
> > >
> > > lib.ondernav_afbeelding = CONTENT
> > > #lib.ondernav_afbeelding = RECORDS
> > > lib.ondernav_afbeelding {
> > > conf.tt_content = TEXT
> > > conf.tt_content {
> > > parseFunc < lib.parseFunc_RTE
> > > }
> > > pidInList = 102
> > > # source = 230 # content item UID
> > > table = tt_content
> > > # select {
> > > # pidInList = 102 # source page PID
> > > # }
> > > }
> > >
> > > Thanks,
> > > ... snip
>
More information about the TYPO3-english
mailing list