Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on Re: [TYPO3] [TYPO3-ttnews] tt_news: Link to two different LISTplugins from the same page? within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Andrew Plank wrote: > Hi tt_news experts! > > I have a site that has two implementations of tt_news; one ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Andrew Plank wrote:
> 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? In the end, I added a new field to the flexform, and added some code in the plugin to check for this and use it (if it exists) instead of the one defined in the TS. Works a treat! _______________________________________________ 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] [TYPO3-ttnews] tt_news: Link to two different LIST pluginsfrom the same page? | Andrew Plank | typo3-english@lists.netfielders.de | 1 | 15.08.2008 15:46 |
| [TYPO3-ttnews] tt_news: Link to two different LIST plugins from thesame page? | Andrew Plank | typo3-project-tt-news@lists.netfielders.de | 1 | 15.08.2008 15:25 |
| [TYPO3-ttnews] two tt_news in TV on one page | H.E.Weenink | Aristo WebDesign | typo3-project-tt-news@lists.netfielders.de | 0 | 03.10.2007 07:48 |
| [TYPO3-ttnews] category link to one page | Hauke Mehrtens | typo3-project-tt-news@lists.netfielders.de | 4 | 25.08.2007 18:34 |
| Re: [TYPO3-ttnews] Condition for 2 tt_news plugins on one page | Amiran Chyb | typo3-project-tt-news@lists.netfielders.de | 0 | 29.01.2007 16:26 |