Webmastersite.net
Register Log In

line breaks
screwy

Comments on line breaks

Danica
Beginner

Usergroup: Customer
Joined: Dec 24, 2004

Total Topics: 2
Total Comments: 8
Danica
Posted Mar 02, 2006 - 5:40 AM:

I have the line break parsing enabled for the description field, which works great for the deatails page, but I can't get it to work for the displaylinks.tpl.

Where it should show:

Description: Testing

one

two


It shows:

one

two

>Description: Testing

one

two

Thanks for any suggestions.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 03, 2006 - 2:14 AM:

The extraneous > indicates you have multiline text within a template conditional. The conditional is ended at the first <br> since conditionals are closed with a >. You'll have to remove the conditional (use <?php if ("{LINKDESCRIPTION}") { ?> if you must test that it's filled).
Danica
Beginner

Usergroup: Customer
Joined: Dec 24, 2004

Total Topics: 2
Total Comments: 8
Danica
Posted Mar 03, 2006 - 5:46 AM:

grin Thank you so very much.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.