We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36425
    • 49 Posts
    hmmm..
    find this: http://visitjourneys.com/core/docs/changelog.txt
    - [#MODX-499] Site start Resources now return base_url from modContext->makeUrl() if no scheme is specified (i.e. when expecting relative links).

    what it means, i cant use ?blabla=bla on context site_start?
    trying all scheme by key link_tag_scheme - not help...

    i'm on right way?
      • 3749
      • 24,544 Posts
      This is in core/model/modx/modx.class.php, if that helps:


      /**
           * Switches the primary Context for the modX instance.
           *
           * Be aware that switching contexts does not allow custom session handling
           * classes to be loaded. The gateway defines the session handling that is
           * applied to a single request. To create a context with a custom session
           * handler you must create a unique context gateway that initializes that
           * context directly.
           *
           * @param string $contextKey The key of the context to switch to.
           * @param boolean $reload Set to true to force the context data to be regenerated
           * before being switched to.
           * @return boolean True if the switch was successful, otherwise false.
           */
          public function switchContext($contextKey, $reload = false) {
              $switched= false;
              if ($this->context->key != $contextKey) {
                  $switched= $this->_initContext($contextKey, $reload);
                  if ($switched) {
                      if (is_array($this->config)) {
                          $this->setPlaceholders($this->config, '+');
                      }
                  }
              }
              return $switched;
          }



      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 36425
        • 49 Posts
        yes, find it, but not solution...I'm stumped(