[TYPO3] [TYPO3-ttnews] tt_news: Link to two different LIST plugins from the same page?

Dmitry Martynenko dima at realt.by
Fri Aug 15 15:46:48 CEST 2008


Hi Andrew,

I use tscobj plugin and insert tt_news as raw TypoScript code.
It helps you have complete different TypoScript setup for both news lists.

AP> Hi tt_news experts!

AP> I have a site that has two implementations of tt_news; one as a normal
AP> news article server, the other as a frequently updated "did you know?"
AP> section. I'm using categories to separate the two different types of 
AP> entries.

AP> However, on the root page of the site, the client wants to have a 
AP> "latest news" box which shows the most recent news article, and a 
AP> "latest did you know" box which shows the latest "did you know?" 
AP> entry... He also wants a "read more" link for each of the entry types...
AP> also a "see archive" link.

AP> This "see archive" link is where I'm having problems... pid_list is set
AP> in Typoscript... It's not possible to define two, so if I click the "see
AP> archive" link for the "did you know"s, it of course goes to the normal
AP> news list instead of the "did you know" list.

AP> I've tried putting a TS condition in to check which content element is
AP> currently being processed, and accordingly set a new pid_list, but this
AP> doesn't work, and I've since found out that it's not possible to 
AP> conditionally check for the uid of the current content element.

AP> Ideally, there would be a "PageId for list display" field on the 
AP> plugin's "other settings" tab, just as there is for the "PageId for 
AP> single news display"

AP> But there isn't :(


-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list