[TYPO3-english] Crop content
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Mon Oct 20 15:54:45 CEST 2008
You could use the stripHtml=1
Tapio Markula wrote:
> Tyler Kraft kirjoitti:
>> Hey Tapio,
>>
>> No. But you could always add the h2 as the main part of the menu, and
>> then ass the abstract as an "after" cObject - that way you could crop
>> it using the stdWrap properties
>
> Now new problem
>
>
> 1.NO.after{
> data=field:abstract
> crop=180
> stdWrap.dataWrap(
>
> <p>|...</p>
> <p class="readMore"><a
> href="index.php?id={field:uid}"><b>Lue lisää <img
> src="fileadmin/template/kuvat/nuoli.gif" alt="" height="7"
> width="9"></b></a></p>
> </td></tr>
> )
> }
>
> the value 'crop' crops also the html content, not just the content from
> the field 'abstract'
More information about the TYPO3-english
mailing list