We have moved to GitHub Issues
Created by Shannon Deminick 10 Sep 2012, 20:36:20 Updated by Meixger 11 Jul 2013, 07:00:30
Relates to: U4-2264
Is required for: U4-1614
With MVC support we will need to implement a preview functionality like we have in webforms though will require a custom implementation because preview is currently handled by a lot of webforms classes.
just copy N2CMS or Sitefinity preview behavior!
For now lets just get the normal preview working like we have with webforms so at least you can preview at all. Then lets look at enhancing preview. Maybe make a different feature request for something like this so we don't lose the idea. For this task I'm just going to get preview working.
Ok. I will make a feature request. I have sites with more than 10.000 pages find it quite difficult to find a page with the content tree only.
I understand completely. There's many UI changes coming in Umbraco 7 (aka project Belle) and the plan is to make using the back office much nicer. Searching will also be enhanced so that should help too. Definitely log this feature request and we'll review it and determine the optimal implementation.
Good stuff Shannon. For the immediate future users need to at least be able to preview image changes and rich text - that is kind of a must. In the future preview needs a comprehensive overhaul so you can actually preview all unpublished content at once.
@Robert, that is how it works, it creates a temporary xml cache file that is used that contains all unpublished content, its been like that for a real long time... unless I'm missing something ?
So are you saying if I have a page which lists news items and I preview this page it will show unpublished news items? Surely this would depend on how you load those child nodes. If I am using uQuery to get all news nodes that is not going to know anything about preview mode right?
@Robert, I guess this depends on how uQuery gets it's XML content. TBH I'm not sure. If you can test and if it doesn't work then please log a bug and we'll have a look at the uQuery source.
I will do some tests on this. I just realised that we are often using lucene for rendering lists so I guess we will have to do the 'preview' ourselves for those pages.
@Shannon: re. your comment on march 12, yes, you're missing something ;-) The preview XML is a clone of the published XML where the node being previewed, and its parent, and any child, have been updated with their own preview XML fragment -- but siblings of that node, and the rest of the tree, still retain the original, published XML, so unless you preview the top-level node you won't see all nodes as "preview".
Type: Feature (planned)
Assignee: Shannon Deminick
Backwards Compatible: False
Due in version: 6.1.0