Hi,
I must have made a mistake somewhere.
I defined a variable from PHP with
I can display the variable within the same page with:
BUT when I fetch the page's value from another page, I can't retrieve the variable 'priceglobal'.
What did I miss??
I must have made a mistake somewhere.
I defined a variable from PHP with
- Code: Select all
<cms:set priceglobal = "<cms:php>global $cost60d; echo $cost60d;</cms:php>" scope='global' />
I can display the variable within the same page with:
- Code: Select all
<cms:show priceglobal />
BUT when I fetch the page's value from another page, I can't retrieve the variable 'priceglobal'.
- Code: Select all
<cms:pages masterpage='reproductions_artiste.php' limit="10">
<g:price><cms:show priceglobal /></g:price>
What did I miss??