Deploying the Theme Appender Servlet Filter
The filter should be deployed by configuring the following entries in the web.xml file that is located in the alfresco/tomcat/webapps/share/WEB-INF folder:
<!-- Alfresco Share related filter. Theme Appender Filter that will append a theme parameter (e.g, ?theme=default) to incoming site URLs. Appended theme is determined by configuration in this filter --> <filter> <filter-name>ThemeAppenderFilter</filter-name> <filter-class>com.ixxus.cms.util.ThemeAppenderFilter</filter-class> <init-param> <param-name>sites</param-name> <param-value>helloworld,test</param-value> </init-param> <init-param> <param-name>themes</param-name> <param-value>default,gdocs</param-value> </init-param> </filter> <!-- Theme Appender Filter should match URLs like http://localhost:8080/share/page/site/test/helloworldhome --> <filter-mapping> <filter-name>ThemeAppenderFilter</filter-name> <url-pattern>/page/site/*</url-pattern> </filter-mapping>(http://tapanavasthiliferay.blogspot.com/2011/08/how-to-configure-different-themes-for.html
Back to Part 1 >>)
No comments:
Post a Comment