[TYPO3-ttnews] pictures at the top of the latest

Karol Dabrowski kdwdk at interia.pl
Wed Jan 10 15:51:13 CET 2007


>Hello,

>That should be possible. Have a look at one of the tt_news templates 
>e.g. tt_news_v2_template.html in pi1/
>There are markers defined for a category image and also for the content 
>image. All you need to do is to tweak your template accordingly and 
>remove the correct marker.

>NEWS_CATEGORY - news item category
>/NEWS_CATEGORY_IMAGE - news item category image/
>NEWS_RELATED - links to related news
>/NEWS_IMAGE - news item images/
>NEWS_CATEGORY_ROOTLINE - category rootline

>Hope it helps. Good luck.


>-- 
>Stefan Kaufmann

Thank You for Your quick help Stefan, I tried but it still doesn't work :( I erased all image markers from template :) but an image is still present. I think it is because typo3 treat images inserted in the RTE as a part of the content - as a string , so it is not an image but a img tag, a passage of the whole text of the news. 
So I think the question is how to skip <img> tag while parsing news item content and show only ordinary words in latest or list??
Regards
KD


----------------------------------------------------------------------
Zalety czapki niewidki. Zobacz >> http://link.interia.pl/f19e3



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