[TYPO3-ttnews] Add More Link when String is found

Christoph Jander cjander at comarin.de
Tue Oct 23 21:05:58 CEST 2007


undkonsorten schrieb:
> Hey List!
hi,

> I want to add a more tag like used in Wordpress.
> When you add a special string (eg. <!--more-->) to the bodytext, tt_news 
> is supposed to display the bodytext up to the <!--more-->, hide the rest 
> of the text and add a more link instead.
> If no <!--more--> is entered, the whole text is visible and no 
> [more]-link is added.
> I made several attempts to realise this via Typoscript, but failed. It 
> should be possible with eg. ".split" or ":= replaceString", not for me 
> though.

i do not realy get, what you are looking for. do you mean the mark in 
the template (###MORE###)?

cio christoph
> 
> Do you have an idea or some code for me?
> 
> Thanks,
> Botho
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news



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