Blocks not sharing variables/etc..
-
Why does this not work
Create a PHP Everywhere block
In this block, add a variable.Create a Header block, or any block for that matter
Create a Second PHP Everywhere block
In this block try to access a variable from the first PHP Everywhere blockThis simply does not work, which is making me have to redefine the variables multipule times, which is rather annoying and makes this plugin useless for most things I want to do.
Is there anyway to fix this, or is there something that I’m not doing that should be done so this will work?
Example Screen Shot:
https://www.sowhoyou.com/temp/php-everywhere-issue.pngActual Result Screen Shot:
https://www.sowhoyou.com/temp/php-everywhere-result.pngExpected Screen Shot:
https://www.sowhoyou.com/temp/php-everywhere-expected.pngThis example is obviously very basic, but I do want to do much more complex things than just setting a simple text variable. But I think this example should get the basics acrossed of what the issue is here.
- The topic ‘Blocks not sharing variables/etc..’ is closed to new replies.