TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

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

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 ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 15.08.2008, 15:25
Andrew Plank
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] [TYPO3-ttnews] tt_news: Link to two different LISTplugins from the same page?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:28 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39