Rakesh Vidyadharan ha scritto:
We have about 10K authors and 15K books in a books workspace that we would like to make accessible via the FCK editor dialog. Adding the workspace to the fck editor configuration for browsable repositories does not really help due to the following:

   1. People are not likely to find what they want within the tree
      easily.  We really need to expose a search feature here.
   2. The data nodes themselves are not directly displayable.  We have
      JSP pages at the moment (will eventually migrate them to
      freemarker) that take the node name as parameter for displaying
      author and book details.  This is what we want the link to point to.


How do I go about achieving the above goals? Do I need to extend FCKEditorDialog? Thanks in advance for all hints and suggestions.

This is what I would do:

1) Extend the tree displayed by the internal link button, adding search capabilities

2) Leave the link to that node and "wrap" it by a virtual uri mapping (a regex v.u.m.) that redirect to a JSP page passing in the url the path of the node (or the UUID), like this:

- link is: /data/your/bookshelf/your-book
- virtual uri mapping looks for that links and redirect to: /your/path/your-page.jsp?book=/data/your/bookshelf/your-book

it is just an idea, maybe there could be better ones!
HTH,
Matteo


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to