-
☆ A M B ☆
- 24,524 Posts
The template itself is stored in the database. The CSS file can be wherever you want to put it, just link to it in the template’s HTML head as you would a flat HTML file. The MODx standard location for all files specific to a template is in assets/templates/TemplateName/
Of course, this is MODx, so there are ways to make a document act as your CSS file, and there are ways to use a file for your template instead of having the whole thing in the database.
Thanks sottwell. I was able to make it work. One more doubt. Is it possible to have the home page one layout and inner page different layout? If yes is there any tutorial or documentation which deal such issues?
-
☆ A M B ☆
- 24,524 Posts
Of course. Make two templates. Set your home page to use your home page template. Go to the Configuration and set your default template to be the inner page template. Now, when you create a document, it will automatically use the second template.