Kevin,
The [-- VAR.x parameter --] was added to ShopSite 6 (not available in previous
versions) and allows the retaining of data during the publish even if the
template in use changes. This will allow something from a page template to be
used in a product or for product data to be used on a page. The format
[--VAR.TEXT2 PAGE.Text2 --] assigns the value of PAGE.Text2 to to the
variable VAR.TEXT2 when you want to use the variable you just put [--
VAR.TEXT2 --]. Unless you are using this variable in an unusual place like in
a product template, you should be able to just specify [--Page.Text2--] and
get the same result. The following code should produce the same output on a
page template.
[--VAR.TEXT2 PAGE.Text2 --] #assign the variable TEXT2 the value of
PAGE.Text2
[--VAR.TEXT2 --] #Display the value of the variable
TEXT2
and
[-- PAGE.Text2 --] #Display the value of PAGE.Text2
directly.
I looked at your test page but once it is published all the ShopSite tags are
removed so you can't actually see what the codes were. If you want to send me
a copy of the template I'll look at it and see if I can see where your problem
is.
Jim Stavast
ShopSite, Inc.
Kevin Sullivan wrote:
Hi,
I made a custom page and I wanted the 3 text variables to appear but they
aren't. I tried both formats, the one from the manual and the one from the
page template I copied.
This one works fine.
[--PAGE.Name--]
But I cannot get these 3 below these to work. My rough page is here:
http://www.museumartworks.com/store/monet2.html[--VAR.t1 PAGE.Text1 --] from manual
[--VAR.TEXT2 PAGE.Text2 --] from custom page template
[--VAR.TEXT3 PAGE.Text3 --]
Thanks,
Kevin Sullivan
vantel@gis.net