I am not sure if I am missing something here, but from what I understand you are saying. When you say I should redefine menuOption_Insert, do you mean farcry\farcry_core\tags\navajo\overview.cfm or somewhere in my application?
If it is option 1, this is making changes to the core files which I think is a bad idea. If you mean option 2, can you please provide me with some more information? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Lucas Sent: Sunday, 18 April 2004 22:45 PM To: FarCry Developers Subject: [farcry-dev] Re: added link from site tree - attempt 3 Andrew Mercer spoke the following wise words on 18/04/2004 5:39 PM EST: > Tim suggested that I mod a core file, but as I am reluctant to do that, > I ended up just substringing the html link that comes from the site tree > when selecting 'insert'. Is it possible to added items to the case > statement from within my application, rather than making changes to the > core file (overview.cfm). When I said 'redefine' I meant you have to redefine the menuOption_Insert function object from your admin page. You can do this like such: menuOption_Insert=function() { // new function definition here }; > Hope this is helpful for other people. Please let me know if there is a > better/easier way of doing this. I have spent like 4-5 hours working on > this to save the client 40 seconds a week of cut and paste time!! Thanks for sharing the code. =) If you read my above comment and previous posts you should be able to avoid using the substr method which may break if you use a different editor or the core behaviour changes. But hey, if you got it working then it's all good ;) -- tim www.toolmantim.com --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
