can I drop new xslt files directly into the xslt file folder?
Hello,
I am wondering if I can drop new xslt files directly into the xslt file folder of the umbraco installation? Any side effects?
I didn't see a database folder where umbraco keeps records about the xslt files... so since I can see (in the back-office, developer section) the new xslt files I had dropped into the xslt folder I am thinking it is ok to do taht? Or must I create files in the back office?
Yes, you can just drop XSLT files in the XSLT folder and they will automatically get picked up. The same goes for the css, scripts and usercontrols folders.
You also can create folders in the xsl directory. The're picked up also. Nice to know for having many xslt files. You can't create them with Umbraco, use file system to create them.
You cannot create folders in the xslt folder, but you can can create xslt in existing folders by typing "FolderName/XSLTName" in the create dialog. ;-)
I generally perfer to prefix my xslt files either Macro.MyFileName.xslt or Include.MyFileName.xslt. Keeps them grouped in Umbraco, and no undocumented hacks needed =)
can I drop new xslt files directly into the xslt file folder?
Hello,
I am wondering if I can drop new xslt files directly into the xslt file folder of the umbraco installation? Any side effects?
I didn't see a database folder where umbraco keeps records about the xslt files... so since I can see (in the back-office, developer section) the new xslt files I had dropped into the xslt folder I am thinking it is ok to do taht? Or must I create files in the back office?
Thanks
Frank
Hey Frank,
Yes, you can just drop XSLT files in the XSLT folder and they will automatically get picked up. The same goes for the css, scripts and usercontrols folders.
Many thanks
Matt
You also can create folders in the xsl directory. The're picked up also. Nice to know for having many xslt files.
You can't create them with Umbraco, use file system to create them.
You cannot create folders in the xslt folder, but you can can create xslt in existing folders by typing "FolderName/XSLTName" in the create dialog. ;-)
Thomas
Thats' a very nice tip!!! Thanx! I din't know.
I generally perfer to prefix my xslt files either Macro.MyFileName.xslt or Include.MyFileName.xslt. Keeps them grouped in Umbraco, and no undocumented hacks needed =)
Matt
I am grouping my xslts in folders but I am also prefixing them because of loading the tree with over 100 xslts isn't very effective ;-)
Thomas, Matt, Folkert,
thanks guys! I appreciate your info and tips very much!
Regards
Frank
is working on a reply...