eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Modifications

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.

Reply
 
Thread Tools Display Modes
Old 03-16-2009   #1
adgarett
 
Join Date: Mar 2009
Posts: 3
adgarett is on a distinguished road
Default Html Formatted text in listing fields


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
adgarett is offline   Reply With Quote
Old 03-19-2009   #2
adgarett
 
Join Date: Mar 2009
Posts: 3
adgarett is on a distinguished road
Default

Hellooooo!

Anyone there?

adgarett is offline   Reply With Quote
Old 03-24-2009   #3
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

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
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 03-25-2009   #4
adgarett
 
Join Date: Mar 2009
Posts: 3
adgarett is on a distinguished road
Default

Hi Alex, thanks for answering,

I’ve already tried it and unfortunately it does not work. Any other suggestion?

Many thanks
adgarett is offline   Reply With Quote
Old 03-28-2009   #5
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

Strange, but it must work...
could you please PM me your admin panel info, I'll check it.
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 05-28-2009   #6
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

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}
replace with
HTML Code:
{if $config.html_tags}
	{$listing.$key|replace:"\r\n":"<br />"}
{else}
	{$listing.$key|escape:"html"|replace:"\r\n":"<br />"}
{/if}
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Old 06-18-2011   #7
colucci
 
Join Date: Jun 2011
Posts: 4
colucci is on a distinguished road
Default

How do you do this in the version 2.3.05?
colucci is offline   Reply With Quote
Old 06-20-2011   #8
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

colucci,
Just when creating a textarea field turn on WYSIWYG editor.
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Reply

Tags
field, html formatted, listing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:35 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources