Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Anat] Select/Enum field in Form + how to create new pages

Quote Reply
Re: [Anat] Select/Enum field in Form + how to create new pages In reply to
In Reply To:
1. I want to add a "country" column to the add/modify-link form. I have a list of all the countries so I want this to be a closed field where users select from a drop down list.

I added a country column to the links properties. The column has the following attributes - col type: Enum, col index: regular, col values: (a list of all countries, seperated by commas), not null: yes, form display: country, form type: select, form names: (identical list of countries), form values: (identical list of countries).

In the include_form template I added a link that says:

<tr><td
valign="top"><%body_font%>Country: </font></td>
<td> <select class="button" name="Country" value="<%if Country%><%Country%><%endif%>" size="40">
</td></tr>

I did try other variations in the template, but I still can't get it to display a proper drop down list, like the one users get to select their categories from. Unsure

2. On another issue - I want to LSQL to create pages for my FAQ, Advertising, Privacy Statement etc., using the same globals and formats it uses to create the rest of the directory. I can create template called respectively faq.html etc. but how can I get LSQL to build them whenever I do a "build all". I guess I need to go into the nph-page.cgi script, but is there anywhere else I need to make a change at? I want to be able to change the script once and then whenever I'll want to change these pages, just work on their templates (which will have their content) and then run "build all". Hope I'm making myself clear. I can make these as static HTML pages and edit them manually whenever I change the directory's design, but I'd much prefer rely on the globals to create a unified look all over.

Thanks.


2. Ivan's (Yogi) pagesbuilder plugin would allow you to do that and as many other types of pages (both static & dynamic) you might need in the future. It's available on the gt plugin server in your admin. It's 50$.
Subject Author Views Date
Thread Select/Enum field in Form + how to create new pages Anat 11552 Aug 15, 2002, 2:15 PM
Post Re: [Anat] Select/Enum field in Form + how to create new pages
nt6 11180 Aug 15, 2002, 2:24 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11164 Aug 15, 2002, 2:30 PM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11174 Aug 15, 2002, 3:09 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11197 Aug 15, 2002, 3:22 PM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11196 Aug 16, 2002, 12:05 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
Anat 11193 Aug 16, 2002, 2:21 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
Anat 11128 Aug 16, 2002, 2:31 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11190 Aug 17, 2002, 12:55 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11110 Aug 17, 2002, 2:48 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11158 Aug 17, 2002, 3:00 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11146 Aug 17, 2002, 3:54 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11123 Aug 17, 2002, 4:01 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11139 Aug 17, 2002, 5:02 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11117 Aug 17, 2002, 6:12 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11103 Aug 17, 2002, 6:50 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11126 Aug 17, 2002, 6:53 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11092 Aug 17, 2002, 7:26 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11137 Aug 17, 2002, 8:02 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11103 Aug 17, 2002, 8:18 AM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11137 Aug 17, 2002, 8:32 AM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11204 Aug 17, 2002, 12:13 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11161 Aug 17, 2002, 12:18 PM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 11126 Aug 17, 2002, 12:24 PM
Thread Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 11172 Aug 17, 2002, 12:26 PM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 2564 Aug 17, 2002, 1:25 PM
Post Re: [Anat] Select/Enum field in Form + how to create new pages
yogi 2548 Aug 17, 2002, 1:28 PM
Thread Re: [yogi] Select/Enum field in Form + how to create new pages
Anat 2566 Aug 17, 2002, 10:54 PM
Post Re: [Anat] Select/Enum field in Form + how to create new pages
xpert 2446 Jul 13, 2003, 3:46 AM