Adrian, Sorry, I didn't get a chance to dig around the FarCry admin yesterday. My "mission" for the day took me longer than I expected. :-)
I'll see if I can't help out today. Jon On Jan 9, 2007, at 2:01 AM, Adrian Wagner wrote: > Just to keep you in the loop. We were actually using TinyMCE 2.0.6. > and > I had a look at the 2.0.8 version of it. This version has been adapted > to IE7 requirements (it's now sniffing for IE7 as well in the JS). > However, it still loses the position when a link is inserted from the > FarCry tree. > > ....and going back to it.... > > Adrian > >>>> [EMAIL PROTECTED] 8/01/2007 3:14:12 pm >>> > > Adrian, > > I'll see if I can take a look at it tomorrow a bit more. In the > meantime,I dug through the javascript in the admin for a sec and > there are two places, I would start to look; > > In /farcry_core/admin/includes/lib/tinymce/jscripts/tiny_mce/ > tiny_mce.js there is a whole lot of browser sniffing going on. If > > your clients are using IE7, you may be able to redefine > "this.isMSIE" to get it to work since any unknown version is served > the IE 5 stuff. > > The function "insertHTML( html )" is delivered inline from / > farcry_core/admin/edittabedit.cfm. It's the one that sends the > commands to the TinyMCE js functions on inserting HTML. You may be > able to dial down to the problem though the function calls in there. > > Regards, > Jon > > > On Jan 7, 2007, at 9:56 PM, Adrian Wagner wrote: > >> Jon, >> >> FarCry 3.01, TinyMCE 2.0.8. >> >> I just got an answer on the FarCry list - he has the same issue and >> claims it's an IE JS bug - which my test seem to confirm. In >> Firefox the >> cursor position within TinyMCE is remembered, in IE 7 and 6 the >> position >> is not remembered. Argh..looks like I'll have to jump into the JS. > Or >> just tell them to use Firefox. ;) >> >> But, still any help would be appreciated - am not excactely the >> biggest >> JS guru. >> >> Adrian >> >> >>>>> [EMAIL PROTECTED] 8/01/2007 11:43:55 am >>> >> >> Adrian, >> >> I just did a test on one of my live sites running FarCry v3.1 and > one >> >> on my dev box running a beta of v4 with no problems. The cursor >> position seems to be remebered as long as you don't click on > anything >> >> else between the textarea and right-clicking the site tree object. >> >> Which version of TinyMCE and FarCry is this site on? >> >> Jon >> >> >> On Jan 7, 2007, at 9:11 PM, Adrian Wagner wrote: >> >>> After trying the FarCry and the TinyMCE communities - without >>> success, I >>> now got to plead to the CF people. It might be a bit obscure though >> - >>> but who knows, maybe someone here does work with TinyMCE in FarCry >> 3. >>> >>> We've implemented TinyMCE in our FarCry 3 CMS. Implementation and >>> settings all work without a problem so far. There is one matter >>> however, >>> that derails some of our contributors.The FarCry Admin is built > with >>> frames. When editing the body of a document (with TinyMCE in the >>> 'main' >>> frame) the user can right-click a particular page in the navigation >> >>> tree >>> ('navigation' frame) and choose 'insert' - which will add the link >> to >>> that page to the document body (TinyMCE). It basically works all > ok, >>> however when doing this the current cursor position within TinyMCE >> is >>> not being remembered and the link is simply added at the top of the >>> page. This causes CSS class issues, which are a bit difficult to >> deal >>> with for the rather html/css-illiterate contributors.How can I >> easily >>> make TinyMCE 'remember' the cursor position when leaving the frame >> so >>> that the link will be inserted there? Has anyone come up with a >>> solution >>> to this? Is even anybody out there who works with the FarCry 3 / >>> TinyMCE >>> combination?Thanks for your help. >>> >>> Adrian Wagner >>> Web Analyst Programmer >>> Curtin Business School >>> d: +61 (0) 8 9266 4220 >>> m: +61 (0) 40 110 3252 >>> e: [EMAIL PROTECTED] >>> >>> >>> >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266043 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4