Hi Steve,

It could be that you found a syntax bug. Have you tried:

<@var name="ThemePath" scope="<@var user$U_Site>">

Instead of:
<@var <@var user$U_Site>$ThemePath>

Also, I'm not sure why you're using the ENCODING=METAHTML attribute. There
might be a behaviour change with METAHTML that is causing part of the
problem.

Although I don't know how you are supplying the "ThemePath" variable value,
the METAHTML is only necessary if the variable value contains Meta Tag
"text" that needs evaluating upon use. 

-----Example:------
<@ASSIGN request$some_text VALUE="<@LITERAL VALUE='<@CALC EXPR=<@DQ>2 +
2<DQ>>'>">

Calling <@VAR request$some_text> returns: <@CALC EXPR="2 + 2">

But calling <@VAR request$some_text ENCODING=METAHTML> returns: 4
-------------------

If the value of "ThemePath" is supplied by combining some text and another
variable value - then the results are already stored in the variable upon
assignment, the METAHTML shouldn't be necessary when calling the variable.

Hope this helps....

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xmlx.ca
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------
 

> -----Original Message-----
> From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 31, 2003 10:33 AM
> To: Witango User Group (E-mail)
> Subject: Witango-Talk: Witango 5 Conversion ?
> 
> I am converting an app from Tango 2000 to Witango 5. This app 
> is shopping cart for many domains that uses one set of tafs. 
> <@var user$U_Site> is set when the shopper first enters the 
> domain and is the variable that is used for selecting the 
> custom variables for a particular domain.
> 
> I have custom variables set up for each domain as follows:
> 
> ThemePath     /Sites/<@var user$U_Site>/Theme/
> ThemeHeader   <@var <@var user$U_Site>$ThemePath>header.html
> ThemeFooter   <@var <@var user$U_Site>$ThemePath>footer.html
> 
> I use the following tags to include the site header template:
> <@include "<@var <@var user$U_Site>$ThemeHeader encoding=metahtml>">
> 
> Prior to Version 5
> <@var <@var user$U_Site>$ThemePath> evaluated to 
> /Sites/upnorth/Theme/ and <@var <@var 
> user$U_Site>$ThemeHeader encoding=metahtml> evaluated to 
> /Sites/upnorth/Theme/header.html 
> 
> In Version 5
> <@var <@var user$U_Site>$ThemePath> evaluates to 
> /Sites//Theme/ and <@var <@var user$U_Site>$ThemeHeader 
> encoding=metahtml> evaluates to header.html 
> 
> It appears that the nested variable <@var user$U_Site> is 
> getting lost now with version 5.
> 
> Any ideas or comments why this is doing this?
> 
> Thanks
> 
> Steve Fogelson
> Internet Commerce Solutions
> 
> 
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to