Removing buttons from RichtText control

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing buttons from RichtText control

Gerrit Boers
Hi,

What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?

Regards,

Gerrit

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Removing buttons from RichtText control

Alessandro  Vernet
Administrator
Hi Gerrit,

The HTML editor uses the YUI RTE component, and the default
configuration is in RTEConfig.coffee (which gets compiled to
JavaScript):

https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee

You can override this default config by defining your own config, and
assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
defined in RTEConfig.coffee. The code doing this is:

https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40

And you can check the YUI documentation for more on the format of this
configuration:

http://developer.yahoo.com/yui/editor/#toolbar

Alex

On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:

> Hi,
>
> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>
> Regards,
>
> Gerrit
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Removing buttons from RichtText control

Gerrit Boers
Hi Alex,

I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?

Regards,

Gerrit

On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:

> Hi Gerrit,
>
> The HTML editor uses the YUI RTE component, and the default
> configuration is in RTEConfig.coffee (which gets compiled to
> JavaScript):
>
> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>
> You can override this default config by defining your own config, and
> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
> defined in RTEConfig.coffee. The code doing this is:
>
> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>
> And you can check the YUI documentation for more on the format of this
> configuration:
>
> http://developer.yahoo.com/yui/editor/#toolbar
>
> Alex
>
> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>> Hi,
>>
>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>
>> Regards,
>>
>> Gerrit
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>
>
>
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Removing buttons from RichtText control

Alessandro  Vernet
Administrator
Hi Gerrit,

(Sorry for the delay!) This is a JavaScript variable, which is
undefined, unless you define it. And when you do, it is used as the
RTE config. Typically, you'll add a script tag pointing to a
JavaScript file that defines that variable, and include that script in
your page:

    <script src="/static/my-rte-config.js" text="text/javascript></script>

Alex

On Fri, Dec 23, 2011 at 12:42 AM, Gerrit Boers <[hidden email]> wrote:

> Hi Alex,
>
> I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?
>
> Regards,
>
> Gerrit
>
> On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:
>
>> Hi Gerrit,
>>
>> The HTML editor uses the YUI RTE component, and the default
>> configuration is in RTEConfig.coffee (which gets compiled to
>> JavaScript):
>>
>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>>
>> You can override this default config by defining your own config, and
>> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
>> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
>> defined in RTEConfig.coffee. The code doing this is:
>>
>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>>
>> And you can check the YUI documentation for more on the format of this
>> configuration:
>>
>> http://developer.yahoo.com/yui/editor/#toolbar
>>
>> Alex
>>
>> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>>> Hi,
>>>
>>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>>
>>> Regards,
>>>
>>> Gerrit
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>
>>
>>
>> --
>> Follow Orbeon on Twitter: @orbeon
>> Follow me on Twitter: @avernet
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Removing buttons from RichtText control

Gerrit Boers
Hi Alex,

Thanks! (no need to apologize for anything, you're probably just as busy as I am, if not more). Now I have a single row of buttons for the essential functions.

BTW our SNOMED CT Explorer is now online:

http://terminologie.nictiz.nl

Change the language from 'Nederlands' to US-english and read the help for an explanation of the search function. There are 500.000 descriptions and 300.000 concepts in the set.


Kind regards,

Gerrit






On Jan 18, 2012, at 3:06 AM, Alessandro Vernet wrote:

> Hi Gerrit,
>
> (Sorry for the delay!) This is a JavaScript variable, which is
> undefined, unless you define it. And when you do, it is used as the
> RTE config. Typically, you'll add a script tag pointing to a
> JavaScript file that defines that variable, and include that script in
> your page:
>
>    <script src="/static/my-rte-config.js" text="text/javascript></script>
>
> Alex
>
> On Fri, Dec 23, 2011 at 12:42 AM, Gerrit Boers <[hidden email]> wrote:
>> Hi Alex,
>>
>> I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?
>>
>> Regards,
>>
>> Gerrit
>>
>> On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:
>>
>>> Hi Gerrit,
>>>
>>> The HTML editor uses the YUI RTE component, and the default
>>> configuration is in RTEConfig.coffee (which gets compiled to
>>> JavaScript):
>>>
>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>>>
>>> You can override this default config by defining your own config, and
>>> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
>>> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
>>> defined in RTEConfig.coffee. The code doing this is:
>>>
>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>>>
>>> And you can check the YUI documentation for more on the format of this
>>> configuration:
>>>
>>> http://developer.yahoo.com/yui/editor/#toolbar
>>>
>>> Alex
>>>
>>> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>>>> Hi,
>>>>
>>>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>>>
>>>> Regards,
>>>>
>>>> Gerrit
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>
>>>
>>>
>>> --
>>> Follow Orbeon on Twitter: @orbeon
>>> Follow me on Twitter: @avernet
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>
>
>
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Removing buttons from RichtText control

Erik Bruchez
Administrator
Gerrit,

Excellent, thanks for sharing. It looks good!

Maybe there is  a short blurb you could write for this page?

http://wiki.orbeon.com/forms/welcome/sites-projects-companies-using-orbeon-forms

-Erik

On Thu, Jan 19, 2012 at 2:48 AM, Gerrit Boers <[hidden email]> wrote:

> Hi Alex,
>
> Thanks! (no need to apologize for anything, you're probably just as busy as I am, if not more). Now I have a single row of buttons for the essential functions.
>
> BTW our SNOMED CT Explorer is now online:
>
> http://terminologie.nictiz.nl
>
> Change the language from 'Nederlands' to US-english and read the help for an explanation of the search function. There are 500.000 descriptions and 300.000 concepts in the set.
>
>
> Kind regards,
>
> Gerrit
>
>
>
>
>
>
> On Jan 18, 2012, at 3:06 AM, Alessandro Vernet wrote:
>
>> Hi Gerrit,
>>
>> (Sorry for the delay!) This is a JavaScript variable, which is
>> undefined, unless you define it. And when you do, it is used as the
>> RTE config. Typically, you'll add a script tag pointing to a
>> JavaScript file that defines that variable, and include that script in
>> your page:
>>
>>    <script src="/static/my-rte-config.js" text="text/javascript></script>
>>
>> Alex
>>
>> On Fri, Dec 23, 2011 at 12:42 AM, Gerrit Boers <[hidden email]> wrote:
>>> Hi Alex,
>>>
>>> I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?
>>>
>>> Regards,
>>>
>>> Gerrit
>>>
>>> On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:
>>>
>>>> Hi Gerrit,
>>>>
>>>> The HTML editor uses the YUI RTE component, and the default
>>>> configuration is in RTEConfig.coffee (which gets compiled to
>>>> JavaScript):
>>>>
>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>>>>
>>>> You can override this default config by defining your own config, and
>>>> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
>>>> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
>>>> defined in RTEConfig.coffee. The code doing this is:
>>>>
>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>>>>
>>>> And you can check the YUI documentation for more on the format of this
>>>> configuration:
>>>>
>>>> http://developer.yahoo.com/yui/editor/#toolbar
>>>>
>>>> Alex
>>>>
>>>> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>>>>> Hi,
>>>>>
>>>>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gerrit
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Follow Orbeon on Twitter: @orbeon
>>>> Follow me on Twitter: @avernet
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>
>>
>>
>> --
>> Follow Orbeon on Twitter: @orbeon
>> Follow me on Twitter: @avernet
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Removing buttons from RichtText control

Gerrit Boers
Hi Erik,

Will do, where shall I put it?

Kind regards,

Gerrit

On Jan 19, 2012, at 8:31 PM, Erik Bruchez wrote:

> Gerrit,
>
> Excellent, thanks for sharing. It looks good!
>
> Maybe there is  a short blurb you could write for this page?
>
> http://wiki.orbeon.com/forms/welcome/sites-projects-companies-using-orbeon-forms
>
> -Erik
>
> On Thu, Jan 19, 2012 at 2:48 AM, Gerrit Boers <[hidden email]> wrote:
>> Hi Alex,
>>
>> Thanks! (no need to apologize for anything, you're probably just as busy as I am, if not more). Now I have a single row of buttons for the essential functions.
>>
>> BTW our SNOMED CT Explorer is now online:
>>
>> http://terminologie.nictiz.nl
>>
>> Change the language from 'Nederlands' to US-english and read the help for an explanation of the search function. There are 500.000 descriptions and 300.000 concepts in the set.
>>
>>
>> Kind regards,
>>
>> Gerrit
>>
>>
>>
>>
>>
>>
>> On Jan 18, 2012, at 3:06 AM, Alessandro Vernet wrote:
>>
>>> Hi Gerrit,
>>>
>>> (Sorry for the delay!) This is a JavaScript variable, which is
>>> undefined, unless you define it. And when you do, it is used as the
>>> RTE config. Typically, you'll add a script tag pointing to a
>>> JavaScript file that defines that variable, and include that script in
>>> your page:
>>>
>>>    <script src="/static/my-rte-config.js" text="text/javascript></script>
>>>
>>> Alex
>>>
>>> On Fri, Dec 23, 2011 at 12:42 AM, Gerrit Boers <[hidden email]> wrote:
>>>> Hi Alex,
>>>>
>>>> I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?
>>>>
>>>> Regards,
>>>>
>>>> Gerrit
>>>>
>>>> On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:
>>>>
>>>>> Hi Gerrit,
>>>>>
>>>>> The HTML editor uses the YUI RTE component, and the default
>>>>> configuration is in RTEConfig.coffee (which gets compiled to
>>>>> JavaScript):
>>>>>
>>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>>>>>
>>>>> You can override this default config by defining your own config, and
>>>>> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
>>>>> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
>>>>> defined in RTEConfig.coffee. The code doing this is:
>>>>>
>>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>>>>>
>>>>> And you can check the YUI documentation for more on the format of this
>>>>> configuration:
>>>>>
>>>>> http://developer.yahoo.com/yui/editor/#toolbar
>>>>>
>>>>> Alex
>>>>>
>>>>> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Gerrit
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Follow Orbeon on Twitter: @orbeon
>>>>> Follow me on Twitter: @avernet
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>
>>>
>>>
>>> --
>>> Follow Orbeon on Twitter: @orbeon
>>> Follow me on Twitter: @avernet
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Removing buttons from RichtText control

Erik Bruchez
Administrator
You can send it to me and I'll update the wiki! -Erik

On Sun, Jan 22, 2012 at 7:27 AM, Gerrit Boers <[hidden email]> wrote:

> Hi Erik,
>
> Will do, where shall I put it?
>
> Kind regards,
>
> Gerrit
>
> On Jan 19, 2012, at 8:31 PM, Erik Bruchez wrote:
>
>> Gerrit,
>>
>> Excellent, thanks for sharing. It looks good!
>>
>> Maybe there is  a short blurb you could write for this page?
>>
>> http://wiki.orbeon.com/forms/welcome/sites-projects-companies-using-orbeon-forms
>>
>> -Erik
>>
>> On Thu, Jan 19, 2012 at 2:48 AM, Gerrit Boers <[hidden email]> wrote:
>>> Hi Alex,
>>>
>>> Thanks! (no need to apologize for anything, you're probably just as busy as I am, if not more). Now I have a single row of buttons for the essential functions.
>>>
>>> BTW our SNOMED CT Explorer is now online:
>>>
>>> http://terminologie.nictiz.nl
>>>
>>> Change the language from 'Nederlands' to US-english and read the help for an explanation of the search function. There are 500.000 descriptions and 300.000 concepts in the set.
>>>
>>>
>>> Kind regards,
>>>
>>> Gerrit
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Jan 18, 2012, at 3:06 AM, Alessandro Vernet wrote:
>>>
>>>> Hi Gerrit,
>>>>
>>>> (Sorry for the delay!) This is a JavaScript variable, which is
>>>> undefined, unless you define it. And when you do, it is used as the
>>>> RTE config. Typically, you'll add a script tag pointing to a
>>>> JavaScript file that defines that variable, and include that script in
>>>> your page:
>>>>
>>>>    <script src="/static/my-rte-config.js" text="text/javascript></script>
>>>>
>>>> Alex
>>>>
>>>> On Fri, Dec 23, 2011 at 12:42 AM, Gerrit Boers <[hidden email]> wrote:
>>>>> Hi Alex,
>>>>>
>>>>> I'm sorry but it's still not clear to me. Where and when do I define this variable? Is this dynamic, or do I need to restart the server to notice the changes?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gerrit
>>>>>
>>>>> On Dec 22, 2011, at 11:48 PM, Alessandro Vernet wrote:
>>>>>
>>>>>> Hi Gerrit,
>>>>>>
>>>>>> The HTML editor uses the YUI RTE component, and the default
>>>>>> configuration is in RTEConfig.coffee (which gets compiled to
>>>>>> JavaScript):
>>>>>>
>>>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTEConfig.coffee
>>>>>>
>>>>>> You can override this default config by defining your own config, and
>>>>>> assigning it to the global variable YUI_RTE_CUSTOM_CONFIG. If present,
>>>>>> it will use YUI_RTE_CUSTOM_CONFIG, otherwise it will use the one
>>>>>> defined in RTEConfig.coffee. The code doing this is:
>>>>>>
>>>>>> https://github.com/orbeon/orbeon-forms/blob/3.9-ce-stable/src/resources-packaged/ops/javascript/orbeon/xforms/control/RTE.coffee#L40
>>>>>>
>>>>>> And you can check the YUI documentation for more on the format of this
>>>>>> configuration:
>>>>>>
>>>>>> http://developer.yahoo.com/yui/editor/#toolbar
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> On Sun, Dec 18, 2011 at 12:22 PM, Gerrit Boers <[hidden email]> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> What is the correct procedure for removing (i.e. customizing) the buttons in the RichtText control?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Gerrit
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Follow Orbeon on Twitter: @orbeon
>>>>>> Follow me on Twitter: @avernet
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Follow Orbeon on Twitter: @orbeon
>>>> Follow me on Twitter: @avernet
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws