Added by Arjé Cahn, last edited by Jasha Joachimsthal on Jul 15, 2009  (view change)

Labels:

login login Delete
editing editing Delete
surfnedit surfnedit Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Hippo CMS version v6.03.00
Audience Site developers

 

 

Purpose

When browsing the preview website, it's sometimes very useful to be able to jump directly to the corresponding document in Hippo CMS to quickly fix a little type error. Locating the original document in Hippo CMS by using the browse or search functionalities can become a burden in this case.

Solution

Add an "edit" button or hyperlink on the preview website that opens a new browser with the Hippo CMS URL, and pass it the location of the source document.

Make sure the edit button is hidden on the live website

 

 

Example:

http://localhost:50000/?editUri=/content/folder/document.xml&editType=text

 

 

Parameter Description Example
URL Should contain the full path to the CMS http://cms.localhost:50000/
editUri Points to the repository's source URI /content/folder/document.xml
editType The document's type text

New since version 6.05.05:
If editType parameter is either 'asset' or 'binary-resource', Hippo CMS will jump to the file in the asset perspective.

Logging in

When calling Hippo CMS with the editUri parameter, it will try to log in using the user's latest used username and password. These are stored in a cookie on the client. If this fails, the normal login screen will be shown.

Design Example

The edit button is placed in the preview (in the image below the edit button is at the right).

Here you can find the edit button.