-
- 59 Posts
Hi all,
I’m in the middle of converting a Joomla site to a MODx site.
What is the best place in the directory structure on the server to store my template and it’s images?
I can see a template directory, holding only the default template. My own template seems to be stored in the database. So what is the most "logical" place to store the images needed by the template?
In Joomla you have a directory holding your template, it’s CSS file and all the template’s images. This is kind of "elegant", because you store the images needed by the content in a different place.
I am wondering what the MODx way of doing this is.
TIA,
Bee
assets/templates/TemplateName
with a subfolder for template-specific images, another for template-specific javascript, another for stylesheets. (you can also use a document as the stylesheet if you like) Since I make my templates available here, I also have an "install" folder with instructions and any specific snippets/chunks/tvs, as well as the text file for the template.
-
- 42 Posts
I’m currently porting my site from Joomla to MODx and I totally agree with you. I’m looking forward to see a better templating system. Instead of copy/paste your code each time from your editor, should recognize the template files in the templates folder.
[b]Benoit Deziel[b]
-
- 1 Posts
Going from Joomla or Mambo to MODx will be a culture shock in term of template or resource installation in general. There is no installer for resources at all at this point in time.
Everything is cut and paste in MODx currently.
One other thing is you need to get to know MODx tag instead of postion loading from module in the template like Joomla and Mambo