When I create a new XSLT or Razor macro the uSync macro .config file isn't created until I go to the Macro under the "Macros" folder and press save. Is this expected? Or could it be because I'm testing on a 4.11.3.1 site?
I have to say it's something i've noticed with doctypes creating templates ( the template doesn't get saved until you go to it and save). i suspect the OnSave event isn't being fired when it's created from the relevant other type.
i think this is still the case in 4.11.6 - i will check, it's probibly something that needs submitting to issues.umbraco.org
Out of interest why do you still need your macros? You can use XSLT / Razor without creating macros using uComponents. Saves the hassle when deploying.
Question about macro creation
When I create a new XSLT or Razor macro the uSync macro .config file isn't created until I go to the Macro under the "Macros" folder and press save. Is this expected? Or could it be because I'm testing on a 4.11.3.1 site?
Thanks,
Jason
I have to say it's something i've noticed with doctypes creating templates ( the template doesn't get saved until you go to it and save). i suspect the OnSave event isn't being fired when it's created from the relevant other type.
i think this is still the case in 4.11.6 - i will check, it's probibly something that needs submitting to issues.umbraco.org
Ah, OK so it *should* work but perhaps my version doesn't support it.
I'll be trying it on v6 for real so I'll watch how it works on that version.
i've just tested it in 6.0.4 nightly and it doesn't fire :( I will probibly log it as an issue in umbraco, but i doubt it will be high priority
Hey Jason,
Out of interest why do you still need your macros? You can use XSLT / Razor without creating macros using uComponents. Saves the hassle when deploying.
Rich
Unless they are for the Rich Text Editor of course.
Rich
Does it do output caching as well?
I haven't used that piece of uComponents yet. Do you have a link I can check out?
Thanks,
Jason
Hey Jason,
Think it came in at uComponents v4.1.0, not sure as we're always using Lee's latest version.
The syntax is the same as for razor, off top of my head:
Language="xslt" FileLocation="xslt/widgets.xslt" Cache="300"/>
I can't test it as away from dev machine, pretty sure that's it, doesn't seem to be documented.
Rich
is working on a reply...