NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on March 31, 2010, 08:56:38 AM
-
Hi,
What is the correct syntax to use p_web.GSV('_siteID') > 0 as a CONDITION for Child Browse display?
I have tried '&p_web.GSV('_siteID') > 0 ' and 'p_web.GSV('_siteID') > 0 and several other permutations and it does not like it.....
Help...
Thanks,
Ron Jolda
-
I haven't done this before but I would try the following to narrow down if it is a template bug or the GSV is returning a value you didn't expect
1) add a debug point to check the value of your GSV before the condition
2) add a simple condition like '1=1' and '1=2' to see if it actually works
-
p_web.GSV('_siteID') > 0
without the leading ' you had.
define: "does not like"...
cheers
Bruce
-
nothing special (unless your parm is wrong)
message(p_web.GSV('_siteID') etc
But
if its a Filter don't forget to double up the quotes and such as its assigned to a string...
look in the embeditor/source ...