cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco WCM-XML Formatting Options using xsd

kamal_ravichand
Champ in-the-making
Champ in-the-making
The Formatting options displayed in Alfresco WCM Gallery has more options
see image
http://tinypic.com/view.php?pic=nys5f8&s=6

but when i mention in my xsd file as  <xs:element name="Content" type="xs:string"/>
i get only limited formatting options
see image
http://tinypic.com/view.php?pic=jslijl&s=6

should i mention any other type or am i missing something?

Note: When i create a new HTML page i get all those formatting options. though i want to know how to bring those formatting options while creating a xml content using xsd.

sorry for the external links provided. i dont know how to post an image in this forum
2 REPLIES 2

scottf
Champ on-the-rise
Champ on-the-rise
What buttons are shown in the TinyMCE editor are configured through web-client-config-wcm.xml.

See http://wiki.alfresco.com/wiki/Configuring_XForms_Widgets for more information.

An example I have is:

<widget xforms-type="xf:textarea"
                   appearance="custom_generic_template"
                   javascript-class-name="alfresco.xforms.RichTextEditor">
             <param name="theme_advanced_buttons1">bold,italic,underline,strikethrough,separator,link,unlink,seperator,sub,sup,image</param>
             <param name="theme_advanced_buttons2">anchor,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,undo,redo</param>
             <param name="height">400</param>
             <param name="entity_encoding">raw</param>
             <param name="cleanup">false</param>
           </widget>

kamal_ravichand
Champ in-the-making
Champ in-the-making
Thanks for the quick reply
the information you provided was very helpful  Smiley Happy
thanks once again Smiley Happy