We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27449
    • 211 Posts
    I used this link for to pass the value for another page:
    document.location.href=’../assets/modules/easynewsletter/history.php?valor=’+this.value;"

    but in the page history.php I want utilize this file
    include_once($modx->config[’base_path’].’../manager/includes/tmplvars.inc.php’);

    but doesn’t work...
    I have the message that doesn’t possible include the file :S

    How I include this file on my page /assets/modules/easynewsletter/history.php
      • 7231
      • 4,205 Posts
      include_once($modx->config['base_path'].'../manager/includes/tmplvars.inc.php');
      this syntax has an error, too many .. in the path.

      include_once($modx->config['base_path'].'/manager/includes/tmplvars.inc.php');
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]