I'm trying to run this macro that I imported from Umbraco 4, but keep getting a "The XSLT didn't generate any output" message. Any ideas on where to look to fix this issue?
I did notice this in both versions. I have tried checking the "Render in Rich text editor and the grid" box, but it won't let me check it without checking the one above it as well. If checked it has the same result. Not sure if this helps or not.
The macro expects the page it's running on to have an imageFolder property - does your page(s) have that? (Looks like it should be a MediaPicker, selecting only folders, I guess).
If the picked folder doesn't contain any images (or only has images with ?umbracoNaviHide checked) it won't output anything either.
The page does have a image folder property and it is selecting the image within a folder.
The umbraconavihide wasn't checked because it wasn't a property on the images.
With your recommendation I was able to notice that a Media Type that these images used to be on was not available to choose from.
I added it and tried to create the same properties. It will show up now if I upload an image in any folder or in root, but it still won't visualize the XLST file after these changes were made.
Still researching... Any additional thoughts are welcomed.
XLST Macro is not working...
Hi,
I'm trying to run this macro that I imported from Umbraco 4, but keep getting a "The XSLT didn't generate any output" message. Any ideas on where to look to fix this issue?
I did notice this in both versions. I have tried checking the "Render in Rich text editor and the grid" box, but it won't let me check it without checking the one above it as well. If checked it has the same result. Not sure if this helps or not.
Hi Brent,
Here's a couple of quick thoughts:
The macro expects the page it's running on to have an
imageFolder
property - does your page(s) have that? (Looks like it should be a MediaPicker, selecting only folders, I guess).If the picked folder doesn't contain any images (or only has images with ?
umbracoNaviHide
checked) it won't output anything either.Hope that helps you debug it,
/Chriztian
Thanks Christian.
The page does have a image folder property and it is selecting the image within a folder.
The umbraconavihide wasn't checked because it wasn't a property on the images.
With your recommendation I was able to notice that a Media Type that these images used to be on was not available to choose from.
I added it and tried to create the same properties. It will show up now if I upload an image in any folder or in root, but it still won't visualize the XLST file after these changes were made.
Still researching... Any additional thoughts are welcomed.
is working on a reply...