[daisy] Can this be done?
Robert Cecil
rob.cecil at gmail.com
Mon Nov 27 16:23:55 CST 2006
On the outside, this seems like a task of writing a custom part
editor. But if I could invoke the building "Insert Image" dialog that
would work great!
Thanks
Rob
On Nov 27, 2006, at 5:17 PM, Robert Cecil wrote:
> Cool. Well, I started following that and I noticed that this uses a
> selection list to pick the 'sidebox' - and the name of the sidebox
> is what is shown in the dropdown in the Wiki editor?
>
> What would it take to integrate the "Insert Image" dialog (the
> standard Daisy dialog seen when you follow 'Browse for an existing
> image') in other ways for fields that are links to documentType =
> 'Image', etc.
>
> The dropdown of names could be very large, and it is a clumsy way
> to navigate a site full of existing image assets?
>
> Thanks again!
>
> Rob Cecil
>
>
> On Nov 26, 2006, at 3:58 PM, Steven Noels wrote:
>
>> On 26 Nov 2006, at 21:48, Robert Cecil wrote:
>>
>>> Hi,
>>>
>>> I'm new to Daisy and am trying to create a document type that
>>> represents a page composition common in the particular client I
>>> am working with. In this design, each page has an image themed
>>> for the page. Some pages reuse the same image from other pages,
>>> so i thought the particular way that the Daisy Wiki editor allows
>>> for different ways to include images (upload new, reference
>>> external, reference internal existing) would work great. I
>>> created a document type that has two Parts:
>>> SimpleDocumentContent, and ImageData, and one field.
>>> Unfortunately, the ImageData part doesn't behave as I expected -
>>> it forces the user to upload a new image each time an instance of
>>> this document type is created and saved.
>>>
>>> Is there a way to support the "image gallery" approach that the
>>> Wiki supports internally in daisy-html, but do it in a structured
>>> way (that is a document that must have a single image with a
>>> specific meaning and interpretation)?
>>
>> This sounds like an ideal case to jump in and start using a custom
>> publisher request that pulls in an image (from a set of existing
>> image documents, which can be uploaded separately) linked to that
>> document using a link field, whose selection list is populated
>> using a query.
>>
>> Have a look here: http://cocoondev.org/daisyscratchpad/g1/279.html
>>
>> I'm using this in a setup for a private site I'm working on, much
>> to my own satisfaction. I can now use document specific styling
>> for correctly rendering those pulled in 'sidebar' items, which
>> made my general layout.xsl much more general and better structured.
>>
>> Please report back if you plan to start using custom publisher
>> requests, as I feel it's one of those vastly underused (or
>> underexposed perhaps) features of Daisy.
>>
>> </Steven>
>> --
>> Steven Noels http://outerthought.org/
>> Outerthought Open Source Java & XML
>> stevenn at outerthought.org stevenn at apache.org
>>
>>
>> _______________________________________________
>> daisy community mailing list
>> Professional Daisy support: http://outerthought.org/site/services/
>> daisy/daisysupport.html
>> mail to: daisy at lists.cocoondev.org
>> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>
More information about the daisy
mailing list