Microsoft Content Management Server - ActiveX Toolbar Customization / API?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2004 > ActiveX Toolbar Customization / API?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ActiveX Toolbar Customization / API?
Mark

2004-03-30, 2:38 am

I need to change the behavior of a couple buttons in the
ActiveX DHTML Editing Toolbar in CMS 2002. I've seen the
Developer's Guide example of adding a new button, but I
want to remove the Insert Image and Insert Attachment
buttons and add a custom one to point to custom dialogs. I
also want to customize the Browse button on the Edit
Hyperlink dialog (which opens the Internal Links dialog)
so that I can point that to a custom dialog as well. It
would be easier if I could just change the URLs instead of
trying to recreate the behavior of the buttons.

I don't see a way to do this with \Program Files\Microsoft
Content Management
Server\Server\IIS_CMS\WebAuthor\Client\P
laceholderControlSu
pport\ActiveXEditing.vbs

And since the thing is compiled into NRDHTML.dll I'm
guessing that the only way to do this is to use the
existing "pActiveHtmlEditor" in the ActiveXEditing.vbs.
But I need to figure out the object methods/properties of
that object in order to see if this is possible.

Is this DHTML (NR Customized version) control API
documented anywhere?

Is this even possible? it seems that this toolbar is
pretty limiting

Thanks!
Trevor Grant

2004-03-30, 11:43 am

Hi

To disable the insert image/attachment buttons, would restricting the
properties in the HTMLPlaceholderDefinition work for you? Like setting the
AllowAttachments and AllowImages properties to false.

Trevor

"Mark" <anonymous@discussions.microsoft.com> wrote in message
news:157e601c4162a$70faf930$a401280a@phx
.gbl...
> I need to change the behavior of a couple buttons in the
> ActiveX DHTML Editing Toolbar in CMS 2002. I've seen the
> Developer's Guide example of adding a new button, but I
> want to remove the Insert Image and Insert Attachment
> buttons and add a custom one to point to custom dialogs. I
> also want to customize the Browse button on the Edit
> Hyperlink dialog (which opens the Internal Links dialog)
> so that I can point that to a custom dialog as well. It
> would be easier if I could just change the URLs instead of
> trying to recreate the behavior of the buttons.
>
> I don't see a way to do this with \Program Files\Microsoft
> Content Management
> Server\Server\IIS_CMS\WebAuthor\Client\P
laceholderControlSu
> pport\ActiveXEditing.vbs
>
> And since the thing is compiled into NRDHTML.dll I'm
> guessing that the only way to do this is to use the
> existing "pActiveHtmlEditor" in the ActiveXEditing.vbs.
> But I need to figure out the object methods/properties of
> that object in order to see if this is possible.
>
> Is this DHTML (NR Customized version) control API
> documented anywhere?
>
> Is this even possible? it seems that this toolbar is
> pretty limiting
>
> Thanks!



Mark

2004-03-30, 12:46 pm

I don't want to disable, I want to change URL that they
point to.

>-----Original Message-----
>Hi
>
>To disable the insert image/attachment buttons, would

restricting the
>properties in the HTMLPlaceholderDefinition work for you?

Like setting the
>AllowAttachments and AllowImages properties to false.
>
>Trevor
>
>"Mark" <anonymous@discussions.microsoft.com> wrote in

message
> news:157e601c4162a$70faf930$a401280a@phx
.gbl...
dialogs. I[color=darkred]
of[color=darkred]
Files\Microsoft[color=darkred]
Server\Server\IIS_CMS\WebAuthor\Client\P
laceholderControlSu[color=darkred]
of[color=darkred]
>
>
>.
>

Trevor Grant

2004-03-30, 9:37 pm

Hi Mark

Okay, I get it now. What you are looking for is just a
file away from the one you have mentioned!

Look at AuthFormClientIE.js

It has the paths of the dialogs within the vbscripts. For
example line 182 stores the path to the insert internal
hyperlinks dialog.

Hope this helps
Trevor

>-----Original Message-----
>I don't want to disable, I want to change URL that they
>point to.
>
>restricting the
you?[color=darkred]
>Like setting the
>message
the[color=darkred]
the[color=darkred]
>dialogs. I
dialog)[color=darkred]
instead[color=darkred]
>of
>Files\Microsoft
> Server\Server\IIS_CMS\WebAuthor\Client\P
laceholderControlS

u
>of
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com