[TYPO3-english] How to use additionalParams to pass tt_content data
Xavier Perseguers
typo3 at perseguers.ch
Thu Feb 3 18:11:40 CET 2011
Hi,
> The content elements is placed on another page, where i'm render them to add
> a typolink. I'm curious if i can make something like tt_news plugin, where
> i show a little bit of text with a "more" link to another page (single view)
> . I don't need full explanation, just some tips to ease my learning path
> over my coffee brakes :)
Working with content elements instead of some user-defined database
records (as it is with tt_news) and wanting to achieve something similar
to tt_news with SINGLE and LIST views is already something quite
ambitious as you don't seem to get how tt_news is working to achieve this.
I would really recommend starting your own tt_news "lite" extension,
using kickstarter and standard PHP in order to "get how it works". What
you try to do is displaying content coming from somewhere else. Thus try
to create your records on the same page than the plugin, then move your
records to some (sys)folder and when you think you relly understand how
it works, you may switch back to doing that with pure TypoScript and
content elements. Then it might be useful to read how TYPO3 renders the
content elements by looking into TypoScript of CSS Styled Content.
After that I guess you'll start mastering TypoScript and I bet you won't
need any further help for that :-)
But it really looks to me that you currently don't understand some
basics but try something that for most people is more complicated than
pure PHP code, namely writing relatively advanced TS configuration.
It's just my thought about it, I may be wrong...
Have fun!
Xavier
More information about the TYPO3-english
mailing list