On Thu, 2009-12-10 at 10:54 -0600, Rakesh Vidyadharan wrote:
> How/where do the links selected via the server browser in FCK Editor
> get processed. I see that a link to nodes in the website or dms
All the links should be processed by LinkFactory or various
LinkTransformer implementations. (see classes in info.magnolia.link
package for details).
> repositories generate different links from a link to our own books
> repository. The links to website and documents seem to be freemarker
> scriptlet (if that is the term), while the link generated to our books
Nope, it is not related to freemarker at all. Pure Magnolia this time -
see LinkFactory.UUID_PATTERN
> nodes are purely the node path. I see these differences when looking
> at a book with some links inserted via the FCK Editor and subsequently
> viewed in a custom display page. The links for instance look like:
>
> http://localhost:8080/magnoliaAuthor/.magnolia/pages/${link:{uuid:{545cd036-118d-4a01-b639-5b8bdc5c71ef},repository:{website},handle:{/books/events/event1},nodeData:{},extension:{html}}}
> - A link to an events page in the website.
>
> http://localhost:8080/ucp/books/book/A/bo5437490.html - A link to a
> node in the books repository. I just added our books repository to
> the configuration:/modules/fckEditor/config/browableRepositories.
Hard to guess what exactly is wrong here, but my guess would be more
something like missing repository mapping (since you are using your own
repository for this).
>
> http://localhost:8080/magnoliaAuthor/.magnolia/pages/${link:{uuid:{47136c35-737f-42e0-9d91-ca728ef16b14},repository:{dms},handle:{/demo-docs/Jerome-K--Jerome/The-Love-of-Ulrich-Nebendahl},nodeData:{},extension:{pdf}}}
> - A link to a document in the DMS.
>
> >From this it would appear that I need to add some kind of handler for
> making our repository browsable in addition to the configuration.
> What is the step that I am missing?
>
> Thanks
> Rakesh
>
>
>
>
> ______________________________________________________________________
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------