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

Stefan Kaufmann kaufmann at dwwd.ch
Wed Jan 10 16:10:07 CET 2007


Karol Dabrowski wrote:

>>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
>
>  
>
Now I see. That is then a different story when inserting it into the 
RTE. Yes, everything which goes into the RTE is parsed as content 
(bodytext). I do not know a solution to your issue. The only thing I cam 
think of is not to display the COBTENT marker in LIST and LATEST and 
show only the TEASER or SUBTITLE field which contains no images....

Or does anyone else have a solution to this?--

Stefan Kaufmann






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