Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] [TYPO3-ttnews] tt_news: Link to two different LIST pluginsfrom the same page? within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi tt_news experts! I have a site that has two implementations of tt_news; one as a normal news article server, ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi tt_news experts!
I have a site that has two implementations of tt_news; one as a normal news article server, the other as a frequently updated "did you know?" section. I'm using categories to separate the two different types of entries. However, on the root page of the site, the client wants to have a "latest news" box which shows the most recent news article, and a "latest did you know" box which shows the latest "did you know?" entry... He also wants a "read more" link for each of the entry types... also a "see archive" link. This "see archive" link is where I'm having problems... pid_list is set in Typoscript... It's not possible to define two, so if I click the "see archive" link for the "did you know"s, it of course goes to the normal news list instead of the "did you know" list. I've tried putting a TS condition in to check which content element is currently being processed, and accordingly set a new pid_list, but this doesn't work, and I've since found out that it's not possible to conditionally check for the uid of the current content element. Ideally, there would be a "PageId for list display" field on the plugin's "other settings" tab, just as there is for the "PageId for single news display" But there isn't ![]() Is there a way to do this? _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-ttnews] Single news and list on same page - active news insingle should not show in list | Erik Svendsen | typo3-project-tt-news@lists.netfielders.de | 0 | 04.04.2008 19:47 |
| [TYPO3] tt_news related link in list view ? | J.Bakshi | typo3-english@lists.netfielders.de | 1 | 25.02.2008 13:49 |
| [TYPO3-ttnews] tt_news list can't cahnge order | Hauke Mehrtens | typo3-project-tt-news@lists.netfielders.de | 8 | 20.01.2008 20:08 |
| [TYPO3] tt_news list doesn't link to translation but to defaultlanguage | Jeroen Visser | typo3-english@lists.netfielders.de | 0 | 13.11.2007 16:11 |
| [TYPO3-ttnews] category link to one page | Hauke Mehrtens | typo3-project-tt-news@lists.netfielders.de | 4 | 25.08.2007 18:34 |