Thanks Tim,

I feel slightly reassured in what I am currently looking into.

I have added the following to my Form

<script language="JavaScript">
function insertHTML( html )
{
        window.document.editform.link.value = html;
}
</script>


The site Nav looks for the existence of the insertHTML function. This
activates the 'insert' menu option.

However, the html string is:
<a
href='/mySite/index.cfm?objectId=A3BF0A78-CF17-EE39-588BD87F8E47E4FD'>my
Page</a>

I would just like objectId=A3BF0A78-CF17-EE39-588BD87F8E47E4FD to be
returned.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Lucas
Sent: Saturday, 17 April 2004 18:17 PM
To: FarCry Developers
Subject: [farcry-dev] Re: added link from site tree - attempt 3

Andrew Mercer spoke the following wise words on 17/04/2004 4:53 PM EST:
> However, with the link field focused, I right-click the site tree
again, 
> this time on a dmHTML object, but the 'insert' option is not available

> like when editing the body of a dmHTML. Is there something I can do to

> get this option showing?

You'll need to add some javascript to your admin page (or PLP step).

If you want functionality like the 'related' tab of dmHTML then look in:
   farcry_core/packages/types/_dmHTML/plpEdit/related.cfm

If you want functionality like the 'body' tab then I think you just need

to define the insertHTML() javascript function. You may also need to 
redefine menuOption_Insert(). Maybe somebody at Daemon might shed some 
more light on this. I suggest to have a look in:
   farcry_core/tags/farcry/richTextEditor.cfm

-- 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

Reply via email to