I just check it and did not work :
<include url="calc:'%HTMLPATH%/some-folder/' + variable + '/your.xml' " />
should it be possible with calc ?
with a variable that has been defined before xml parsing...
I just check it and did not work :
<include url="calc:'%HTMLPATH%/some-folder/' + variable + '/your.xml' " />
should it be possible with calc ?
with a variable that has been defined before xml parsing...
None of both ways are able to resolve the variable.
I think the variable must be set in the embed. Although, I don't see much purpose it can have except for passed query parameters.
Hi,
the 'variable' would need to be set before the xml parsing. That means before the loadpano() call or when embedding, then by using the 'initvars' setting (the normal vars will be passed after the xml parsing). Since version 1.19 it's also possible the pass the initvars via query parameters.
See here:
https://krpano.com/docu/html/#initvars
Best regards,
Klaus
Ouuxx, my mistake was the vars & initvars, I just had in mind that with vars thery were defined before.
Now it's solved thanks
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!