Where should I upload my CSS for the template and if i want to use some javascript liberies, where should I upload this to?
I am all new at this CMS.
Wherever you want.
The general convention is...
assets/templates/your-template/
Just to keep it all together.
But equally you could use the existing js & images folders and create a css folder
-
☆ A M B ☆
- 24,524 Posts
The trick is to make sure the paths in your template point to wherever you do put things, exactly the same as you would if it were a flat HTML file.
Thanks for the quick response.
But where does it save my templatepages?
I can’t write the exact path when i don’t know where i saves my html sites?
Should i just create a folder for my template in the template folder in a ftp program, or is there a specific way to do this?
-
☆ A M B ☆
- 24,524 Posts
Using the FTP client to create a folder for your template, then upload all the template’s support files is the way it’s normally done. Sometimes, depending on your server’s configuration, you can use the MODx File Manager for uploading files and creating new folders.
It is also possible to use a MODx resource as a .css file.
http://modxcms.com/forums/index.php?topic=5258.0
I get:
Stream-Fehler. URL: assets/templates/rsl/banner/assets/templates/rsl/banner/xml/banner.xml
try changing:
// path to content XML
flashvars.contentXMLPath = "assets/templates/rsl/banner/xml/banner.xml";
to
// path to content XML
flashvars.contentXMLPath = "xml/banner.xml";