Setting Up Admin Preview "View Control" Functions

Author Message

Craig Hirsch

Saturday 23 April 2005 1:28:19 pm

I would like to get the eZ Admin Preview functionality working properly. This is the functionality available when you're editing a draft you own -- there's a "View Control" box to the left of the edit area that allows preview of the content in another design.

When I try to use this to look at a content item in my production site design, it shows up in that site design with the Default Template full view, not with the correct full view override for that content class as I've configured it on my user site.

Also, none of the buttons at the bottom of the page are enabled... they're there, but they don't do anything ("Preview","Delete","Add To Bookmarks","Notify Me", etc).

Essentially, I just want to be able to select the radio button for my live production design in the "View Control" box, update the view, get a correct preview for the item, and then click a "Return to Admin" button to return to the admin View that I came from.

Is this possible? What steps do I need to take? Thanks in advance.

--
chirsch{AT}gmail{d.t}com

Craig Hirsch

Saturday 23 April 2005 2:37:18 pm

Ok, by setting

AllowChangeButtons=enabled

in my admin siteaccess content.ini.append,I've enabled the user to switch back to the admin view. However, the preview is still broken (with the default node/view/full.tpl used instead of the correct override I've defined in my override.ini.append for that siteaccess).

Also, various other things aren't working in the pagelayout template for that sitedesign when piped through admin versionview... it looks like $module_result is different, for one thing, and that breaks various navigation elements specified in pagelayout.tpl

Thanks in advance for any suggestions as to how I can get this working.

--
chirsch{AT}gmail{d.t}com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.