AnsweredAssumed Answered

Style in Create Web Content Wizard

Question asked by peggyw on May 23, 2008
Latest reply on Aug 5, 2010 by thomasg
Does anybody know how to add a Style dropdown lists that shows all the classes/ids of the style sheets chosen to use In the Create Web Content Wizard when creating a web content using a web form?

I have added 'styleselect' to <widget xforms-type="xf:textarea"
                   appearance="full"
                   javascript-class-name="alfresco.xforms.RichTextEditor">
             <param name="theme_advanced_buttons1">bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,styleselect</param>
in \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\web-client-config-wcm.xml

I have added the line
<param name="content_css">http://168.122.34.203:8080/alfresco/styles/contentr.css</param>
to point to the style sheet I want to use in the file web-client-config-wcm.xml

And I have added  <xs:annotation>
      <xs:appinfo>
       <alf:appearance>full</alf:appearance>
      </xs:appinfo>
     </xs:annotation>
    </xs:element>
to the schema of the form.

But the Style drowdown list does not show anything:
http://smgtest1.bu.edu/style.doc


Could somebody give me some insights on this?

Thanks a lot.

Outcomes