Webmastersite.net
Register Log In

new dropdown field not displaying

Comments on new dropdown field not displaying

capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Sep 17, 2005 - 9:13 PM:

I created a new link field, to display a drop-down list of currencies. The new field was created fine, but its not displaying in the suggest links template, for example....

When the field was created, I chose dropdown selector as the type, and entered the options, separated by commas. I also chose mysql field type as text.. (not sure what floating point and integer do)

So why isn't this displaying in the templates...? Even when I manually add in {LINKCURRENCY} it doesn't show anything....

and yes, my templates are writeable

??
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 17, 2005 - 10:20 PM:

If it was really writeable you must've removed the insert new fields here marker from the template. Anyhow you need to use html to create a dropdown list with the selector name being your field name.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Sep 18, 2005 - 4:06 AM:

I did not remove the insert new fields marker - its still there

anyway i deleted that field and added it again, and this time its appeared in the templates - however I see that the full HTML has been inserted in the template (all the <options></options> etc), whereas if I just do this:

<select name="currency">{LINKCURRENCY}</select>


which is what I thought was the way to do it, it doesn't display: you just get an empty SELECT dropdown
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Sep 18, 2005 - 6:51 AM:

Also, how do you get the value selected from the dropdown to display in the webpage? Eg, lets say someone selects US$ when on the submitlink page, and you want that displayed on the output from displaylinks.tpl, how is that done?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 20, 2005 - 12:06 AM:

It's supposed to do it the way it does do it.

{LINKCURRENCY} is the display variable.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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