

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.
Agreed, we are discussing how best to re-org this.
I think we need a proper revolution forum in here....
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.
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)?
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.
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).
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.