OK, I've implemented the ability to import dms content into FCKEditor. When you click on the link button and click the browse server button on the link dialog, I have a simple page with a dropdown list at the top that switches between the website repository and the dms repository. Selecting a document in the dms generates the proper url placed in the link dialog. In addition the browse server button on the image dialog for FCKEditor I also got working. On that one I made the browse only show the dms (I'm not feeling energetic enough to write another browse tree that detects images on pages in the website repository and shows them).
I have tested it and it generates the UUID links properly so that if you move an image/document around in the dms the page generates the correct URL depending on where the object is currently at. I'd be happy to put this up on the wiki, or if there is enough interest, contribute back to the main project but there are three issues in jira that need to be resolved to make it work. I have submitted code for all three to fix the issues. The issues are: http://jira.magnolia.info/browse/MAGNOLIA-1697 http://jira.magnolia.info/browse/MGNLDMS-105 http://jira.magnolia.info/browse/MGNLDMS-72 (see comments for code) I don't know if my fixes are proper with the overall architectural goals of magnolia though. I'd appreciate it if someone on the magnolia team could check these, and if they are fine commit the patches. If not, please let me know so I can know what direction I should take to get them resolved. I've got these changes in my local copy of the source and all of the tests still run fine when I do a build. If everything looks good and those three issues get resolved I'll put the instructions and html and js up on the wiki for anyone else who might be interested. Tom > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 15, 2007 1:15 AM > To: [email protected] > Subject: Re: [magnolia-user] How to import dms content in FCKEditor > > Hi, > > I got the same problem and my users put me under pression to > get that facility occuring in magnolia. > On my side I found that : > In > \mgnl-resources\fckeditor\custom\editor\filemanager\browser\de > fault\browser.html > On line 10 > Change var src = getContextPath() + > "/.magnolia/pages/linkBrowser.html?repository=website"; > To var src = getContextPath() + > "/.magnolia/pages/linkBrowser.html?repository=dms"; > And that's ok to browsing the documents repository but, after > that, you'll have to manage context paths, uuids etc. while > saving data... > > Stéphane > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 14, 2007 6:05 PM > To: [email protected] > Subject: Re: [magnolia-user] How to import dms content in FCKEditor > > Erik, > > I'd be interested in learning how far you got and building on > top of that. Even if it is just some basic configuration > with FCKEditor, any little amount of time saved on my part > would be helpful. Would you mind e-mailing me off the list? > You can contact me at [EMAIL PROTECTED] > > Thanks, > > Tom > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 14, 2007 3:01 AM > > To: [email protected] > > Subject: Re: [magnolia-user] How to import dms content in FCKEditor > > > > I came as close as getting the dms browser on clicking the > image icon, > > but that's the easy part :) .. > > > > If anyone has any luck with this, please let me know ! > > > > Regards, Erik > > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] > > Sent: maandag 13 augustus 2007 21:14 > > To: [email protected] > > Subject: Re: [magnolia-user] How to import dms content in FCKEditor > > > > It is priority for my company as well :) According to last > update from > > Magnolia devs, this is still planned for 3.1 but when > exactly I don't > > know... > > > > Thanks > > > > Amir > > > > > > > -----Original Message----- > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > > Sent: Monday, August 13, 2007 12:15 PM > > > To: [email protected] > > > Subject: Re: [magnolia-user] How to import dms content in > FCKEditor > > > > > > Looks like it was split out into > > > http://jira.magnolia.info/browse/MGNLDMS-84 I'm wondering > > if anyone > > > is working on this currently? It is a priority at my > company and I > > > think they would let me spend some time on getting this > > functionality > > > working but I don't want to duplicate someone else's efforts. > > > > > > Thanks, > > > > > > Tom > > > > > > > -----Original Message----- > > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > > > Sent: Monday, August 13, 2007 9:52 AM > > > > To: [email protected] > > > > Subject: Re: [magnolia-user] How to import dms content in > > FCKEditor > > > > > > > > No such feature yet... > > > > Please take a look at http://jira.magnolia.info/browse/MGNLDMS-1 > > > > > > > > Thanks > > > > > > > > Amir > > > > > > > > > > > > > -----Original Message----- > > > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > > > > Sent: Monday, August 13, 2007 11:14 AM > > > > > To: [email protected] > > > > > Subject: [magnolia-user] How to import dms content in > FCKEditor > > > > > > > > > > Goodday all! > > > > > > > > > > Does anyone know how to include dms items into the fck editor? > > > > > (using the include image icon, but then spawning a > dms browser > > > > > window). > > > > > > > > > > Kind regards, > > > > > > > > > > Erik Alphenaar > > > > > > > > > > > ---------------------------------------------------------------- > > > > > for list details see > > > > > > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > > > > > ---------------------------------------------------------------- > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > for list details see > > > > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > > > ---------------------------------------------------------------- > > > > > > > > > > ---------------------------------------------------------------- > > > for list details see > > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > > ---------------------------------------------------------------- > > > > > > > > > ---------------------------------------------------------------- > > for list details see > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > ---------------------------------------------------------------- > > > > ---------------------------------------------------------------- > > for list details see > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > ---------------------------------------------------------------- > > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > > ************************************************************** > ********************** > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity > to whom they are addressed. > If you have received this email in error, please notify the > system manager ([EMAIL PROTECTED]) and delete the > message with any attached files from your system. > The confidentiality and integrity of this message cannot be > guaranteed on the Internet and the sender does not accept > liability for its content. > > ************************************************************** > ********************* > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
