lvchris
Apr 20 2009, 02:54 AM
Hi,
First of all, what are these modules for:?
{%GEO_COUNTRY%} {%GEO_REGION%} {%GEO_CITY%}
Second, what is the code to add a custom search box to a webtemplate?
Thanks,
Chris
danvincent
Apr 20 2009, 09:58 AM
Hi Chris,
Those "marco's" will display the GeoIP (
http://en.wikipedia.org/wiki/Geoip ) location of the user. You have to be a little carfull with city it can be very wrong!
What search are you looking to add?
Thanks
Dan
lvchris
Apr 22 2009, 04:00 AM
QUOTE(danvincent @ Apr 20 2009, 09:58 AM)

Hi Chris,
Those "marco's" will display the GeoIP (
http://en.wikipedia.org/wiki/Geoip ) location of the user. You have to be a little carfull with city it can be very wrong!
What search are you looking to add?
Thanks
Dan
Hi Dan,
I am looking to add a search box that looks like this. I just need the coding please. Thanks, Chris
Username:
Password:
E-mail:
I am a:
Looking for a:
Your country:
Your state:
Your region:
danvincent
Apr 22 2009, 08:41 AM
Ok Chris,
That is the quick registration form, this can now be added to all sites:-
You need to add this code between <head> .. </head> in your custom HTML:-
<script type="text/javascript" src="/scripts/prototype.js"></script>
<script type="text/javascript" src="/scripts/script.js"></script>
<script type="text/javascript" src="/scripts/layer.js"></script>
<script type="text/javascript" src="/scripts/ws.js" ></script>
then {%registrationForIndexBlock%} where you want the form to appear
Thanks
Dan