> ...
> In short, there's no easy way to satisfyingly fulfill your requirement.
> ...

Thanks tor the reply.

So I wiil try to keep it simple first.

- I will load all documents below a non-public "/document" web page  I
can do that because the site doesn't need many documents (20).

- I will refer to them in Dialogs using a String Control containing
the document file name.

- I will add the URL path using JSP.

- I will use the technique describe here:
http://www.magnolia.info/wiki/Wiki.jsp?page=ReusingContentOnDifferentPages
where aplicable.

After that, I will try to look at the source code to see if it could
be done better.

Thanks again,
Francois

On 11/24/05, [email protected] <[email protected]> wrote:
> (Francois Bertrand) wrote:
>
> >I want to link to the same documents or display the same image from
> >distinct pages.
> >
> >If I understand correctly, the default behaviour is that documents and
> >images are loaded below the web pages node.  For example, in the
> >"http://localhost:8081/magnoliaAuthor/features/magnolia-product-info.html";
> >page the "Magnolia for Content Management" magnolia_cms_V2.pdf file is
> >under the "mainColumnParagraphs/00/document/" sub-node of the
> >"/features/magnolia-product-info/" node.
> >
> >So if I load the same file in another page, It would result in a
> >duplicated document in the repository.
> >
> >Am I right?
> >
> >
> right.
>
> >What I would like, is similar to the "internal link" dialog available
> >from the same page
> >(http://localhost:8081/magnoliaAuthor/features/magnolia-product-info.html).
> > If I click on the "Edit" of the "More about Magnolia for Documents"
> >and choose "internal link", Magnolia shows a tree of web pages
> >available in the site.  In the case of document or images, I would
> >like to see: "choose from file system" or "choose from already loaded
> >files".
> >
> >Do I need DMS to do that?
> >
> >
> Can't tell
>
> >Do I need to create a new Custom Dialog and/or Custom Control?
> >
> >
> Yes, even a custom tree control to be able to browse for documents.
>
> >Do I misunderstand something?
> >
> >
> Not at all. In fact, it's a very reasonable requirement that I share.
>
> The simplest way to do it would be to set the document URL in the link
> dialog manually. Not very user friendly though.
>
> I started to work on asset management to fulfill your requirement. Then
> I realized, that Magnolia 2.x is not yet ready for this kind of feature
> because it doesn't treat internal handles correctly (make a search for
> jcr:uuid on JIRA for profound information), i.e. upon activation the
> UUIDs get inconsistent. Ideally you want the link to stay valid when you
> rename or move a document. To maintain referential integrity you need
> jcr:uuid and the magic jackrabbit adds which will be allowed for in
> Magnolia 3.
>
> In short, there's no easy way to satisfyingly fulfill your requirement.
>
> Maybe DMS can.
>
> --
> Cheers
> Michael
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
>

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to