This post was updated on .
I'm using Orbeon 4.4.0.201311042036 PE
I am trying to set a theme for the form builder by using these two properties in properties-local.xml <property as="xs:anyURI" name="oxf.epilogue.theme" value="oxf:/config/theme-plain.xsl"/> <property as="xs:boolean" name="oxf.epilogue.use-theme" value="true"/> I have modified the /config/theme-plain.xsl to add a custom header to the page. I have also tried creating a new file (for example: /confg/theme-custom.xsl) and pointing the property to that, but Orbeon is completly ignoring the property. By using the url parameter: ?orbeon-theme=plain I am able to activate the modified theme-plain.xsl, but ?orbeon-theme=custom does not activate the theme-custom.xsl. (also pressing any button, ie. "Home" removes the url parameter and the theme) How do I configure Orbeon to use the theme? |
As I recall, that should work. The default is the Orbeon theme that you see in the website. And you restarted the server? The properties, I believe, are reloaded on start up, whereas views and models get loaded/reloaded when the url is requested.
--Hank On Wednesday, December 11, 2013, javaudvikling wrote: I'm using Orbeon 4.4.0.201311042036 PE -- Hank Ratzesberger XMLWerks.com -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Hi,
The theme is not applied on the form builder summary page.. Regards Balatharan |
Administrator
|
In reply to this post by javaudvikling
Since Form Runner "app" (app/fr) comes with its own theme, the oxf.epilogue.theme property isn't used. You can see this logic implemented in epilogue-servlet.xpl:
https://github.com/orbeon/orbeon-forms/blob/4.4-ce/src/resources-packaged/config/epilogue-servlet.xpl#L78 See the link below for the Form Runner theme, and should you want to override it, I'd recommend you put your own version in your WEB-INF/resources/apps/fr/theme.xsl. https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/theme.xsl Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |