PDA

View Full Version : magic dissappearing variable


wombatboy
03-Jun-2003, 10:10 PM
:confused:

Hi
I have pasted the NETQUOTEVAR:SIMPLESEARCH var
into the search table for my Act_BrochurePrimary.html page from my Act_Primary.html page and instead of the simplesearch field (as happens for the latter page) ....I get just the letters NETQUOTEVAR:SIMPLESEARCH appearing in my html page in the browser!
I have both in cases put the var in <td></td> tags.....

....does anyone know the (prob obvious) mistake i am making?

thanks!!!!

WB

garyhay
04-Jun-2003, 09:30 AM
You cant use all the NETQUOTEVARS in all the pages

wombatboy
04-Jun-2003, 06:14 PM
why cant i use a search function on my first page?

cdicken
05-Jun-2003, 07:39 AM
Just to expand upon what Gary said, it is true that not all variables work on the brochure pages. However, it is possible to get a search bar working.

What you can do is firstly make sure your store is all working correctly on the server, and then copy and paste the simple search bar code from the fully-generated store pages into your Brochure Primary template(s) (normally called 'Act_BrochurePrimary.html). If you take across everything within the <form></form> tags then it will work fine.

wombatboy
05-Jun-2003, 10:27 AM
thanks a lot cdicked!!!

it was a bit fiddley cos i hav a narrow table and i had to fit a form in that ....so in the end i had to put the search form in a layer and position it so it matched up exactly with the x and y of the one on the shop pages.
But I did it.
Thanks
WB:D

wombatboy
06-Jun-2003, 09:31 AM
i meant cdicken of course.