nican VIP
Total posts: 392
25 Mar 2014 18:48

Hello, I noticed that textarea and html fields in records list automatically insert the ";" symbol where the text is being truncated

in textarea field I can enter something to be inserted where the text is being truncated, like "..." but still after ... a ";" is being inserted

in html field there is the option to display a redmore button, but not no option to just display some symbols, like for the textarea field, and still the ";" symbol is being inserted

thank you

Last Modified: 26 Mar 2014


Konstantin
Total posts: 1,113
26 Mar 2014 06:53

Can ypu give a link where we can see that, cause localy we can't accept this bug.


nican VIP
Total posts: 392
26 Mar 2014 08:14

here you are http://www.alkemica.net/contenuti

for the record list view (html and textarea fields) I am using a custom oputput template to strip out the html tags

<?php
defined('_JEXEC') or die();
?>
<?php
echo strip_tags("$this->value;");
?>

Konstantin
Total posts: 1,113
26 Mar 2014 09:32

You must use:

<?php
echo strip_tags($this->value);
?>

than it's will be ok


nican VIP
Total posts: 392
26 Mar 2014 10:19

thank you!

Powered by Cobalt