view:
<div class="info_col">
   <?=$this->Text->truncate($data['Gesamtobjekt']
['OBJ_UET_WERBETEXT'], 150, array('ending' => ' ...', 'exact' => true,
'html' => true))?>
</div>

source:
<div class="info_col">
  This apartment is situated in one of the most beautiful residential
complexes of Santa Ponsa and has a living-dining area on two levels,
as well a ...
</div>

Original text is (from database):
This apartment is situated in one of the most beautiful residential
complexes of Santa Ponsa and has a living-dining area on two levels,
as well as two bedrooms, two bathrooms (1 en suite) and an office. The
spacious open and covered terraces, plus interior patio and a
fantastic 180 m² - sea view over the bay of Santa Ponsa is what makes
the apartment unique. The exclusive apartment complex is situated on
the so-called Ensaimada hill, and has a large and beautiful pool area
with sun terraces.



On 23 Sep., 16:49, majna <[email protected]> wrote:
> can you paste code, input txt and output result
> so one can reproduce this...

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to