Thanks Mike! I've been thinking about delving into this exact problem. I'm merging the changes into my own code for now and have voted for their inclusion.
Tomek On Tue, Aug 25, 2009 at 5:12 AM, Mike G <[email protected]> wrote: > > You can also change the default tinyMCE link list to insert friendly > URL's, I'm not sure if the fix has been added to the 5.2 code yet but > I posted the bug and fixes awhile back at: > http://bugs.farcrycms.org/browse/FC-1895 > http://bugs.farcrycms.org/browse/FC-1884 > > To fix it two files need to be modified: > > 1. core/webtop/facade/tinyMCELinkList.cfm > > Change line 105 from: > ["#RepeatString('-', qSiteMap.nLevel)# #qSiteMap.objectname#", > "#application.url.webroot#/index.cfm?objectid=#qSiteMap.objectid#"] > <cfif inc LT qSiteMap.RecordCount + qRelated.RecordCount>,</cfif> > > To: > ["#RepeatString('-', qSiteMap.nLevel)# #qSiteMap.objectname#", > "#application.url.webroot##application.fc.factory.farFU.getFU > (objectid=qSitemap.objectid)#"]<cfif inc LT qSiteMap.RecordCount + > qRelated.RecordCount>,</cfif> > > 2. core/packages/types/farFU.cfc (Fix bug FC-1884) > Change the output attribute for the getURL() and cleanURL() methods > from "yes" to "no". Without doing this fix the generated link list has > line feeds that mess it up and prevent the tinyMCE from displaying > it. > > I hunted this down because I found the process of having to relate > content before being able to link was tedious for link heavy pages so > for anyone else in the same boat I hope it helps. > > Cheers, Mike. > > On Aug 24, 7:18 pm, Peng <[email protected]> wrote: > > Hi guys, > > > > I'm working on a project that use FarCry5.1. I was trying to modify > > page content via TinyMCE, but when i tried to add/edit a page link in > > it, it always inserted a non friendly URL, like "/index.cfm? > > objectid=826767A0-5BFA-11DE-BE2C001E8C7B936B". Is there a way to > > insert a friendly URL using TinyMCE? > > > > Thank you! > > > > Cheers, > > > > P > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
