[TYPO3-dev] tt_news - non-linkable title if no news in the body
Dmitry Dulepov
dmitry.dulepov at gmail.com
Tue Mar 30 10:43:42 CEST 2010
Hi!
Irina Oltu wrote:
> I am trying to configure Typo script to overwrite the title of the news
> depending on the following condition:
>
> If there is no news in the body, then make the news title unclickable:
>
> <h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>
>
> should look like
> <h2>###NEWS_TITLE###</h2>
>
>
> I've been playing around with the script, but haven't come with
> anything working. I assume it IS possible to do what I want - but am
> simply stuck here. ANY Help would be much appreciated!
I would enter in the HTML source.
Btw, why do you try to make a news item without text? :)
--
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-dev
mailing list