We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Doh! embarrassed

    Now it tells how in my book so I have someplace to refer to. wink

    I wonder if there’s a way to make those easier to find. I’m pretty familiar with the Revo Manager (although I’m pretty dense sometimes).
      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
      • 30497
      • 245 Posts
      I think we need a proper revolution forum in here....

      I also have some questions about static resources, and documentation is all but non-existent:
      http://svn.modxcms.com/docs/display/revolution/Static+Resource

      do static resources have to be full html structures in and of themselves, or can they also take advantage of modx’s templating system (chunks, TVs, snippets)?
        • 25663 MODX Staff
        • 12,272 Posts
        Static resources are just files on the filesystem. Currently the static resources technically just store meta data about the resource and a path to the file. Probably a great time to start a new topic in the MODx Next subforum for now. When Revo hits RC stage we’ll rework the forum structures a bit.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 3749
          • 24,544 Posts
          Quote from: rthrash at Jun 04, 2009, 07:18 AM

          Static resources are just files on the filesystem. Currently the static resources technically just store meta data about the resource and a path to the file. Probably a great time to start a new topic in the MODx Next subforum for now. When Revo hits RC stage we’ll rework the forum structures a bit.

          Just for clarification: does that mean that they aren’t processed by the parser at all before delivery to the browser?
            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
            • 22303 MODX Staff
            • 10,725 Posts
            Quote from: towerofbabel at Jun 03, 2009, 10:03 PM

            I think we need a proper revolution forum in here....
            Agreed, we are discussing how best to re-org this.

            Quote from: towerofbabel at Jun 03, 2009, 10:03 PM

            do static resources have to be full html structures in and of themselves, or can they also take advantage of modx’s templating system (chunks, TVs, snippets)?
            Static Resources work just like regular Resources; they can have templates, tags are processed, etc. However, currently, this is limited by file size (i.e. files larger than about 1/3 or 1/2 the memory limit can only be sent directly to the browser. For instance, the current MODx Revolution distribution files on the download page are served as Static Resources, but since they represent binary files, no processing is needed on the content.
              • 30497
              • 245 Posts
              Quote from: towerofbabel at Jun 03, 2009, 08:38 AM

              Quote from: towerofbabel at Jun 03, 2009, 08:34 AM

              Quote from: splittingred at Jun 03, 2009, 08:21 AM

              http://svn.modxcms.com/docs/display/revolution/Using+One+Gateway+Plugin+to+Manage+Multiple+Domains

              thanks. Something is missing here though, either with me or with the instructions.

              I took the "second method" outlined here.

              1. I copied index.php, core.config.php and ht.access (i have url rewriting turned off in order to simplify the process) to a new subdirectory in my local host.

              2. I changed the line in the new instance of index.php to

              $modx->initialize('web2');


              this corresponds with the name of my second context "web2".

              3. trying to access the "new" domain, I get a 404 error.

              Further, when I "Preview" the document from the manager, it launches the page under the original context, not under "web2", even though it resides under "web2" in the document tree.

              Hi OpenGeek,

              What about this?

              I’d really love to move forward with testing on multiple domains, and I’m sure others would too. It is not clear (at my level of knowledge) how I should go about this, and the docs seem incomplete.
                • 22303 MODX Staff
                • 10,725 Posts
                ATM, the preview feature is not working yet TBH; it’s dumb and has no idea what a context is (or even what friendly URLs are).
                  • 30497
                  • 245 Posts
                  Quote from: OpenGeek at Jun 08, 2009, 08:18 AM

                  ATM, the preview feature is not working yet TBH; it’s dumb and has no idea what a context is (or even what friendly URLs are).

                  The biggest issue mentioned there though, is that this method is not working for me, and was confirmed by another user earlier in t e thread:

                  http://svn.modxcms.com/docs/display/revolution/Using+One+Gateway+Plugin+to+Manage+Multiple+Domains

                  as I say above, I tried "method 2".

                    • 22303 MODX Staff
                    • 10,725 Posts
                    It’s working for me as described in that page and the other threads I’ve posted on the subject. I think you’ll have to be more specific about what isn’t working for you if I’m going to be able to help you with the specific problems you are having. The method you are using is completely dependent on your Apache virtual hosting configuration pointing to the new directory with the index.php.
                      • 30497
                      • 245 Posts
                      Quote from: towerofbabel at Jun 03, 2009, 08:34 AM

                      Quote from: splittingred at Jun 03, 2009, 08:21 AM

                      http://svn.modxcms.com/docs/display/revolution/Using+One+Gateway+Plugin+to+Manage+Multiple+Domains

                      thanks. Something is missing here though, either with me or with the instructions.

                      I took the "second method" outlined here.

                      1. I copied index.php, core.config.php and ht.access (i have url rewriting turned off in order to simplify the process) to a new subdirectory in my local host.

                      2. I changed the line in the new instance of index.php to

                      $modx->initialize('web2');


                      this corresponds with the name of my second context "web2".

                      3. trying to access the "new" domain, I get a 404 error.


                      if I follow the exact steps outlined on that page [ http://svn.modxcms.com/docs/display/revolution/Using+One+Gateway+Plugin+to+Manage+Multiple+Domains ], starting from "Alternatively...", I get 404 document not found.

                      I did this at work, on the latest version of xampp, default config, on windows XP. At home I am on mac using MAMP - I’ll try that too.

                      I don’t see anything on the linked to page about updating apache settings. on XAMPP, I am not creating additional virtual hosts, every "domain" is just localhost/domain1/ ; localhost/domain2/; etc.