Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1:
Entering values into form fields

 

 


simonwh
User

Sep 26, 2006, 1:49 PM

Post #1 of 3 (650 views)
Shortcut
Entering values into form fields Can't Post

Hi

I want to create a couple of preformatted html links on an article page for readers to copy and past into their own pages or forums.

I created a text field for each link (a basic URL, an HTML link and a UBB Code link) and entered the correct artman placeholders but the formatting is going squiffy when published on a page.

This . . .


Code
<input type="text" name="html" onFocus="this.select()" value='<a href="$url_thispage_ue$">$art_name$</a>'


turns to this . . .


Code
<a href="http%3A%2F%2Fwww.difflock.com%2Fmagazine%2Fpublish%2Farticle_17.shtml">Testing</a>


Is there any way to stop it replacing the forward slashes, etc with other characters?


ross
Staff / Moderator


Sep 26, 2006, 3:42 PM

Post #2 of 3 (647 views)
Shortcut
Re: [simonwh] Entering values into form fields [In reply to] Can't Post

Hi Simon.

Thanks for posting!

The reason all those % symbols are coming in there is because of the _ue modifier on the url_thispage placeholder.

Basically, that’s URL encoding the value of that placeholder. What you’ll want to try here is just taking the modifier off so your code looks like this:


Code
<input type="text" name="html" onFocus="this.select()" value='<a href="$url_thispage$">$art_name$</a>'


Give that a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




simonwh
User

Sep 27, 2006, 7:06 AM

Post #3 of 3 (635 views)
Shortcut
Re: [ross] Entering values into form fields [In reply to] Can't Post

Thanks, that worked!

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4