Bart van der Schans wrote:
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.
Above mentioned page claims that if you click an folder entry in the CMS
it will add an index if there is none. No mention of this being
dependent on how the document got there. And this doesn't work in the
CMS I am using: the index remains empty, no matter how I click, open, or
save it.
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
Ok, missed that. Great.
Thanks,
Reinier
Regards,
Bart
Reinier
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
begin:vcard
fn:Reinier van den Born
n:van den Born;Reinier
org:HintTech B.V.
adr:;;Rotterdamseweg 183c;Delft;;2629HD;Netherlands
email;internet:[EMAIL PROTECTED]
tel;work:+31-15-268 2573
tel;fax:+31-15-268 2567
tel;cell:+31-6 494 171 36
note;quoted-printable:KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01=0D=0A=
=0D=0A=
HintTech levert specialisten op het gebied van softwareontwikkeling (.NET=
en Java), projectmanagement, informatiebeveiliging en business consulting=
.=0D=0A=
=0D=0A=
url:www.hinttech.com
version:2.1
end:vcard
********************************************
Hippocms-dev: Hippo CMS development public mailinglist