• 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 block

    This 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.png

    Actual Result Screen Shot:
    https://www.sowhoyou.com/temp/php-everywhere-result.png

    Expected Screen Shot:
    https://www.sowhoyou.com/temp/php-everywhere-expected.png

    This 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.

    • This topic was modified 4 years, 7 months ago by SOWHOYOUdotCOM.
    • This topic was modified 4 years, 7 months ago by SOWHOYOUdotCOM. Reason: Added Screen Shots
  • The topic ‘Blocks not sharing variables/etc..’ is closed to new replies.