[daisy] Adding fields to an attachment type document.
Chris
chrisdi at yahoo.com
Fri Sep 29 07:55:16 CDT 2006
First, thanks for all the answers!
I found that my 'tagging' fields work great
in queries.
I created two new doc types BasicDocument and BasicAttachment.
I added my fields to these because Daisy suggestes not to modify
the built in ones such as SimpleDocument and Attachment.
I found that the document-to-html.xsl in the default skin has a special
way to handle/display Attachment type it gives you two links, on to doc
info and one to AttachmentData. I just modified this xsl in my skin to
look for my new BasicAttachment.
I also found another special place for Attachment type, in the doc editor
you can link to an Attachment and Create/Upload it at the same time, but this makes
a Attachement type not my new one, I guess I can find a place to change this.
But the real question is, Is there any other place that does special handling
of Attachment type that will make me regret using my own doc type with
my new field types?
-thanks,
-Chris
More information about the daisy
mailing list