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...
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?
Comments on new text fields as HTML
Beginner
Usergroup: Customer
Joined: Mar 28, 2005
Total Topics: 4
Total Comments: 8
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In your settings, I believe it's the "general appearance" page at the bottom, select "moredescription" as a field to parse line breaks in.