Webmastersite.net
Register Log In

new text fields as HTML

Comments on new text fields as HTML

arn
Beginner

Usergroup: Customer
Joined: Mar 28, 2005

Total Topics: 4
Total Comments: 8
arn
Posted Apr 14, 2005 - 7:04 PM:

First off, Paul... thanks for all the help... I am a big fan of this script since it's so flexible. But it's also requires a fair amount of exploration to make mods... hence the questions.

here's a situation. I created a new field... let's call it "moredescrciption" - which is another text field that adds a seperate text box for a link.

Now... I've discovered that "description" appears to converted to HTML at some point... as when you print it, it comes up nicely with html breaks.

When I simply inserted {LINKMOREDESCRIPTION} it came out in one blob. So, naturally I then tried...

<? $moredesc=nl2br("LINKMOREDESCRIPTION}">;
print $moredesc; ?>

instead... but that broke since LINKMOREDESCRPTION had quotes in it. I can't seem to get around this. How should I use the data in {LINKMOREDESCRIPTION}. It's not assigned to some variable in PHP is it?

arn
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 14, 2005 - 11:01 PM:

In your settings, I believe it's the "general appearance" page at the bottom, select "moredescription" as a field to parse line breaks in.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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