you can use the [[includeFile snippet in chunks too. or directly in the template.
Good reasons, I use the FF addon "its all text" which brings all my code to Notepad++ in one click... very convenient...
I think that we need to move both the DB and the files every time we move a site...
Chuck: that is a good idea too... include the chunks in the manager or include them in the template.... mmm...
will try some of this sometime...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
Quote from: charliez at Feb 04, 2009, 05:26 PM
I think that we need to move both the DB and the files every time we move a site...
Yes, absolutely. But if your element contents are in files, you don’t need to move the DB to *update* the site -- just those files.
Would it be possible to call this plugin from a chunk (to load the chunk from a file) ?
-
MODX Staff
- 12,272 Posts
That’s what the include snippet can do. Plugins are not callable from chunks.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: heliotrope at Jan 28, 2009, 07:19 AM
@dev_cw
Here is a recursive version 
Let me know if it works.
I’ve used code on an EVO 1.0.2 release and so far, all is working with templates and chunk. Thanks much, this could be extremely useful for fast development.
An aspiring web designer & front-end web developer who is very much interested on the modern web.
www.andrewabogado.com