Has there been any mention of putting xslt files into folders? Much like templates? When you have quite a few trying to find the one you are looking can really hurt your brain.
I've had a quick look at the code and from what i read it should be possible to organize your xslt's in folders. It can't be done from within the admin ui (which might be a good feature!), but it can be done from disk, as the class that's responsible for loading the 'xslt tree' iterates over the existing folders/files in the xslt dir.
Give it a try and see if it works out.
Also verify that choosing an xslt from a macro is still possible. If not, then using the folder approach becomes rather useless.
Btw, the templates section works tiny bit different, as it is not listing files from a folder on disk, but rather using the info stored in the db.
I can confirm sorting in folder working perfectly, and the macro pick still works.
I would be nice to have this feature in the AdminUI.
Umbraco will also display the hidden folders (e.g /.svn/ folders).
On a sub note, it would be very nice if document types where physical documents. Inheritance could be referenced in the document and the tree could be automatically built (with multiple levels, and one document maybe appearing under several other nodes with out doc duplication).
XSLT Folders
Has there been any mention of putting xslt files into folders? Much like templates? When you have quite a few trying to find the one you are looking can really hurt your brain.
Thanks
Skiltz
skiltz,
I've had a quick look at the code and from what i read it should be possible to organize your xslt's in folders. It can't be done from within the admin ui (which might be a good feature!), but it can be done from disk, as the class that's responsible for loading the 'xslt tree' iterates over the existing folders/files in the xslt dir.
Give it a try and see if it works out.
Also verify that choosing an xslt from a macro is still possible. If not, then using the folder approach becomes rather useless.
Btw, the templates section works tiny bit different, as it is not listing files from a folder on disk, but rather using the info stored in the db.
Hope this helps.
Regards,
Dirk
I can confirm sorting in folder working perfectly, and the macro pick still works.
I would be nice to have this feature in the AdminUI.
Umbraco will also display the hidden folders (e.g /.svn/ folders).
On a sub note, it would be very nice if document types where physical documents. Inheritance could be referenced in the document and the tree could be automatically built (with multiple levels, and one document maybe appearing under several other nodes with out doc duplication).
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.