![]() |
![]() |
![]() |
|
|||||||
| Modifications Simple to complex modifications, made by users or by our team, applied to logic or presentation, all kinds of modifications are discussed and requested here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Join Date: Mar 2009
Posts: 3
![]() |
![]() Hi, I've added to my listings a field called extended descriptions where a longer description (up to 1000 characters long) can be input, the field type is textarea. When the description has more than one paragraph I need to leave a blank line in between, it would be also very useful be able to use any other html formatting features. Is there a way to do so? I've tried to add bit of html code but does not seem to work, I've used </br>, <p></p> ... but it appears as text! Any suggestion? By the way I’ve seen it at: http://www.64xsoft.com/Operating-Sys...inux-l735.html I am using version 2.2.06 Thanks for your help |
|
|
|
|
|
#2 |
|
Join Date: Mar 2009
Posts: 3
![]() |
Hellooooo!
Anyone there? ![]() |
|
|
|
|
|
#3 |
|
Tech Support
Join Date: Oct 2008
Posts: 1,009
![]() |
Hello adgarett,
Welcome to our support forums! sorry for delay. But why don't you try just to press ENTER? Effect will be the same as <br>'s. In the future could you please post your questions here: eSyndiCat Pro customers http://www.esyndicat.com/forum/forum-29.html If you don't have access: Pro forums area http://www.esyndicat.com/forum/post43142-1.html |
|
|
|
|
|
#4 |
|
Join Date: Mar 2009
Posts: 3
![]() |
Hi Alex, thanks for answering,
I’ve already tried it and unfortunately it does not work. Any other suggestion? Many thanks |
|
|
|
|
|
#6 |
|
Tech Support
Join Date: Oct 2008
Posts: 1,009
![]() |
Solution:
To enable html formatting go to `Admin Panel » Configuration » Listings Configuration` `Allow HTML` enabled Then go to `your_directory\templates\your_template\view-listing.tpl` find HTML Code:
{if $config.html_tags}
{$listing.$key|replace:"\r\n":"<br />"}
{else}
{$listing.$key|escape:"html"}
{/if}
HTML Code:
{if $config.html_tags}
{$listing.$key|replace:"\r\n":"<br />"}
{else}
{$listing.$key|escape:"html"|replace:"\r\n":"<br />"}
{/if}
|
|
|
|
|
|
#7 |
|
Join Date: Jun 2011
Posts: 4
![]() |
How do you do this in the version 2.3.05?
|
|
|
|
![]() |
| Tags |
| field, html formatted, listing |
| Thread Tools | |
| Display Modes | |
|
|