Reinier van den Born wrote:


Bart van der Schans wrote:
Reinier van den Born wrote:
I wrote a little tool to upload content that sets only the following properties:

caption
type
index

This allows me to edit.
Caption is not needed I think, but my file names differ from what I want to see on screen. Index is only interesting if the order in the folder is significant and things need to be moved up/down. We have content without index that cannot be moved.

So, in fact, I think all you need is type (named as in types.xml).
Correct. Just setting the type will allow editing. Also setting the caption and index is 'better', but setting a correct index number would require some extra query to find the highest current index number.

Actually unfortunate that the CMS doesn't assign an index itself, like it claims it does in: http://www.hippocms.org/display/CMS/WebDAV+properties+used+by+Hippo+CMS

We ended up having to copy documents in CMS one by one, removing the old and moving the new ones back, just to get an order...quite a hassle.
The CMS does set the index, but if you write directly to the repository you bypass the CMS so it can't set the property and you have to do it yourself.

We do have a tool that fixes missing indexes in the repository so you don't have to do it manually:
http://wiki.hippo.nl/display/CMS/WDBP+Repair+Index

Regards,
Bart





Reinier


********************************************
Hippocms-dev: Hippo CMS development public mailinglist


--
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to