I'm changing the layout myself, but I got a new problem, in the search form I've created a country list, but how can I put there? how can I know the tag that was created?
<%$country%> I guess this is wrong cause it's not working
I'm changing the layout myself, but I got a new problem, in the search form I've created a country list, but how can I put there? how can I know the tag that was created?
<%$country%> I guess this is wrong cause it's not working
Did you create country in your custom field in admin section ?
Anotny
Hotel Discount Web Search
www.hotel-discount.com
You can't use a variable unless it already exists, or you program it yourself.
Here's the proper way to go about it.
You would need to add Country as a custom field. Then add this custom field to all pages that may display it (add, new, hot, browse etc)
In the search.html you have to create a drop down box with a country list so the user could select a country (or use a text box but that offers up the possibility of user typo errors) and then name it properly so it could check the database for matches.
No I haven't tried this, it's just a theory and it may not work as simply as I've explained it. Go ahead and give it a shot and let us know if it works.
yes, I've created a new field called country and a few other custom fields.
When I use
<%$custom_field_form%>
appears all off them, but in a few places I only want to show country field. How I suppose to do that?
regards,
allan
Don't use custom_form_filed then, use only the fields that you specify.
If the field is called country then call it with <%$country%>