[TYPO3-ttnews] News single link points to list page instead of single page

Luis Flávio Seelig lflavios at gmail.com
Mon Aug 17 17:17:31 CEST 2009


Hi,

we're trying to link the single view title and image to the news article
itself for SEO reasons, but the link created by tt_news points to the list
page (without any parameters) instead of single page. Everything else works
perfectly.
In the template we have
"<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>" and
"<!--###LINK_ITEM###-->###NEWS_IMAGE_1###<!--###LINK_ITEM###-->" for single
view title and image respectively. We're using George Ringer's rgnewsimg to
split the various images presented and Perfectlightbox2 to display images as
a gallery.

I think that all target pages are covered by our configuration:

plugin.tt_news {
   pid_list = 10
   singlePid = 11
   # archive list
   archiveTypoLink.parameter = 17
   # category selector list
   catSelectorTargetPid = 5
}

What's happening:

http://ourdomain.tld/index.php?id=5
(this is the news list - ok)

http://ourdomain.tld/index.php?id=11&tx_ttnews[tt_news]=8&tx_ttnews[backPid]=5&cHash=8d8177637b
(this is the single page - ok)

<h2><a href="index.php?id=5">The News Title</a></h2>
(this is the single view title - should link to the news article)

<a href="index.php?id=5"><div class="news-set1-img1all"><div
class="news-set1-img1"><img src="typo3temp/pics/6ba0c7402a.jpg" width="145"
height="193" alt="" title="" /><div class="caption"></div></div></div></a>
(this is the single view image - should link to the news article, abstract
the extra div's for now)

Thank's in advance for any help.

Best regards,

Luis Flávio Seelig
lflavios at gmail.com
----
Linux User #363919


More information about the TYPO3-project-tt-news mailing list