Friday 01 June 2007 9:17:00 am
Hi everybody,
I am developing a website which allow users to edit and preview articles from the front office.
When a user creates/modify an article, he can publish it or see a preview, by clicking on the corresponding buttons. To manage article preview, i created an override of "versionview.tpl" of the admin interface. Almost everything works fine (the preview page is good etc..) : - When the user creates a new article he can preview it, and then from the preview page he can publish or going back to editing,thanks to a "EditButton".When going back to editing again,the content of the draft is exactly in the same state than it was just before clicking on "preview" - When the user modifies a existing article, the problem is here : when he modifies the article, then click on "preview" and then click on "edit" to go back to editing, the edit draft is NOT in the same state that it was just before clicking "preview"(that's what i want) BUT in the state that it was when it was published.
Have you got some ideas about my problem? Thanks David
|