Jump to content


Photo
- - - - -

Blocks databases


  • Please log in to reply
2 replies to this topic

#1 AuRoN

AuRoN

    Member

  • Resource Authors
  • PipPip
  • 17 posts
  • Location:Spain
  • IP.Board Version:3.0

Posted 15 December 2009 - 04:17 AM

I have a problem with the number of characters, we put out 800 or 30 provided the same, someone knows how to solve the problem

The code for the text I put so

<span class='desctext'>{IPSText::truncate( strip_tags($r['field_6_value']), 800 )}</span>



Thanks

#2 AuRoN

AuRoN

    Member

  • Resource Authors
  • PipPip
  • 17 posts
  • Location:Spain
  • IP.Board Version:3.0

Posted 15 December 2009 - 06:25 AM

and gotten out and line breaks correctly, url, bbcode .. etc, but I can not limit the number of characters, now goes the full article.

<span class='desctext'>{IPSText::getTextClass( 'bbcode' )->preDisplayParse( $r['field_4'],400)}</span>


#3 AuRoN

AuRoN

    Member

  • Resource Authors
  • PipPip
  • 17 posts
  • Location:Spain
  • IP.Board Version:3.0

Posted 15 December 2009 - 05:20 PM

nobody can tell me anything?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users