|
Home > Archive > Microsoft Content Management Server > June 2005 > Changing Style Names in CMS Formatting Toolbar
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 |
Changing Style Names in CMS Formatting Toolbar
|
|
|
| Hi all,
I am hoping to change the name of a few options in the Style drop-down in
the CMS Formatting Toolbar (i.e. "Definition Term" to "Blockquote").
I have had a look at the ActiveXEditing.vbs file and various other XML /
..inc files in the MCMS folder however cannot find where the values are added
to the list. Does anyone know where I can change this?
--
Regards,
Geoff
| |
| Chester Ragel 2005-06-24, 2:47 am |
| Hi Geoff,
If you closely look into ActiveXEditing.vbs you will notice that the styles
are taken from the activex control.
A piece of code from ActiveXEditing.vbs,
arrStyles = document.ToolbarInterface.AvailableStyles
for each strStyle in arrStyles
//This is the place where all the style names are added to the style
combo box.
myhtmlstyle.AddString strStyle
next
So I don't think it is possible to change the string. If you really need
that, you may use some other custom html editors.
Cheers,
Chester.
"Geoff" <Geoff@discussions.microsoft.com> wrote in message
news:02E304A7-0E3A-4617-9068-BE289E8DCC08@microsoft.com...
> Hi all,
>
> I am hoping to change the name of a few options in the Style drop-down in
> the CMS Formatting Toolbar (i.e. "Definition Term" to "Blockquote").
>
> I have had a look at the ActiveXEditing.vbs file and various other XML /
> .inc files in the MCMS folder however cannot find where the values are
added
> to the list. Does anyone know where I can change this?
>
> --
> Regards,
>
> Geoff
| |
| Mei Ying [MVP] 2005-06-24, 2:47 am |
| Hi
For styles and HtmlPlaceholderControls, check out this really customizable
solution by Telerik:
http://www.telerik.com/mcms
It allows you do define your own styles, see style formatting in authoring
mode, add new buttons, et al easily.
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Book: http://www.packtpub.com/book/mcms
Contact: meiyinglim@hotmail.com
---
"Chester Ragel" wrote:
> Hi Geoff,
>
> If you closely look into ActiveXEditing.vbs you will notice that the styles
> are taken from the activex control.
>
> A piece of code from ActiveXEditing.vbs,
>
> arrStyles = document.ToolbarInterface.AvailableStyles
> for each strStyle in arrStyles
> //This is the place where all the style names are added to the style
> combo box.
> myhtmlstyle.AddString strStyle
> next
>
> So I don't think it is possible to change the string. If you really need
> that, you may use some other custom html editors.
>
> Cheers,
> Chester.
>
>
> "Geoff" <Geoff@discussions.microsoft.com> wrote in message
> news:02E304A7-0E3A-4617-9068-BE289E8DCC08@microsoft.com...
> added
>
>
>
|
|
|
|
|