[TYPO3-ttnews] How to make link from the teaser text

Oliver Rowlands oliver at liquidlight.co.uk
Sun Jan 13 16:15:10 CET 2008


[Gabor answered off-list but I though this might help others...]

Matyi Gábor wrote:

 > Thanks, I misunderstood the last post. Now it is working. But do you 
know how can I disable the more link, If the body is empty?
 >
 > Thanks
 >
 > Gabor

Hi Gabor,

Try this:

plugin.tt_news {
  displayList.subheader_stdWrap {
    append = TEXT
    append {
      data = register:newsMoreLink
      wrap = <p class="readMore">|</p>
      if.isTrue.field = bodytext
    }
  }
  _LOCAL_LANG {
    default {
      more = Read more
    }
  }
}

Best regards,

Oliver

-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


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