Hm, think you'll need to put the xslt's back in the xslt root directory. It may be a bug that you can't reference xslt files put in subdir's from a macro?
Vlad, Ok, let's consider it a feature then.... Might have been reported on Codeplex already. If so, vote for it (you need an account and be logged in tho)
I am using subdirectories for xslts without problems.
First of all you can create a new xslt by rightclick on the xslt node and not on the subdirectory node. Then you can enter the name of the folder followed by a slash and the name of xslt file (eg: subfolder/myxslt.xslt). This works like a charm.
I also can see the xslts in my subfolders editing the macro. It is a simple file and folder iteration. So please check the userrights on the created subfolder. Give the NETWORK_SERVICE Account read/write access.
One thing I forgot: you have to create the folder manually before you can create an xslt to place it inside. i think this would be a new featurerequest for umbraco.
Directory created under Developer/ XSLT Files
How to create directory under Developer /XSLT Files .
I create directory under Umbraco /XSLT and i can see that directory in Umbraco BackEnd . Also i see the xslt files created under new directory .
But i can't see under de Macro and i can't create from umbraco new xlst under new directory .
How can i resolve it?
Best regards , Vlad
Hm, think you'll need to put the xslt's back in the xslt root directory. It may be a bug that you can't reference xslt files put in subdir's from a macro?
If that's the case, please report on Codeplex!
Cheers,
/Dirk
Dirk , can you give me a link where to report on codeplex ?
I don't know if there is a bug , i think was omitted to reference xslt from subdirectory on macro .
I put on the root directory of xslt files and everything is k .
But if i want to have multiple web site , is not k to mix the xslt from one web site to other in the same directory.
Best regards , Vlad .
Vlad, Ok, let's consider it a feature then.... Might have been reported on Codeplex already. If so, vote for it (you need an account and be logged in tho)
(http://www.codeplex.com/umbraco)
Cheers,
/Dirk
I am using subdirectories for xslts without problems.
First of all you can create a new xslt by rightclick on the xslt node and not on the subdirectory node. Then you can enter the name of the folder followed by a slash and the name of xslt file (eg: subfolder/myxslt.xslt). This works like a charm.
I also can see the xslts in my subfolders editing the macro. It is a simple file and folder iteration. So please check the userrights on the created subfolder. Give the NETWORK_SERVICE Account read/write access.
hth,
Thomas
One thing I forgot: you have to create the folder manually before you can create an xslt to place it inside. i think this would be a new featurerequest for umbraco.
Thomas
FYI - Thomas has submitted a patch which allows you to create XSLT's in subfolders from the backend. This patch is now part of the code for 4.1.
Sweet finally I can organise the many XSLTs into subfolders yipeeee - roll on Friday !
is working on a reply...