This project is read-only.

Previewing Items in Orchard 1.3

Topics: General
Oct 27, 2011 at 6:58 PM

When you view a published item it displays it at its published URL and hence any alternative layouts, etc. based on URL kick in and display the item correctly.

However, when previewing an unpublished item it uses a different URL and it appears the proper URL-based alternatives ( or matched paths in ) don't kick in and display the item accordingly. And, of course, any widgets in a layer specified by URL don't show, etc.

Am I wrong on this? I am trying this now on a website I am building and there is a discrepancy in the presentation.

Doesn't feel like much of a preview. Seems like the preview link needs to go to the actual intended URL, but require privileges as it does now to view the unpublished URL.




Oct 27, 2011 at 8:58 PM

Ah, yes, clearly that would be the case. Not sure how we would fix it but please file a bug.