Gossamer Forum
Quote Reply
Country menu
Hi there,
Newbie question, sorry (!)

I have just added a field named "Country" (type SELECT with the list of all countries) for Links, and now I want to generate the pulldown menu in the front end website when Adding a link by users.

If someone have an idea howto modify template "include_form.html" to do this well, be welcome :)

Thank you.

____________________
Fabrice
Quote Reply
Re: [fabriceg] Country menu In reply to
I tried this :

Code:
<div class="row required clear">
<label for="country_hq" class="name">Country HQ/HO: <span>*</span></label>
<div class="value wrappedtext">
<select id="country_hq" name="country_hq">
<%loop country_hq%>
<option value="<%escape_html ID%>"<%if selected%> selected="selected"<%endif%>><%Name%></option>
<%endloop%>
</select>
</div>
</div>

but of course "<%loop country_hq%>" is wrong Unsure

An idea?

____________________
Fabrice
Quote Reply
Re: [fabriceg] Country menu In reply to
Ooops! I think a Moderator should move this thread to "Discussions", no?

____________________
Fabrice

Last edited by:

fabriceg: Jul 8, 2005, 5:45 AM
Quote Reply
Re: [fabriceg] Country menu In reply to
Hi,

This should do what you want :)

http://www.sqlwidgets.com/...m_Related/index.html

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!