Today we have a question from apx25, who asks if he can change Nuxeo Platform footer links using only Nuxeo Studio.
Unfortunately, as explained by Anahide, the answer is no, you can’t. You have to override the XHTML template displaying those links. Now the good thing about Nuxeo’s content management system architecture is that you don’t have to modify its source code and rebuild everything. It’s a lot simpler than that.
Create a new bundle with Nuxeo IDE
The first step is to set up your work environment. I strongly suggest you go through the Nuxeo IDE documentation to get strated. You’ll have a configured Eclipse and a Nuxeo server running in no time.
The next step is for you to create a new Nuxeo project. Once you’re done, you’ll have an empty Nuxeo project. Then you need to create the XHTML file you want to override. In usual Nuxeo bundles the XHTML files are located under resources/web/nuxeo.war. So if you want to modify the footer links, you need to create the file _nuxeo_footer_template.xhtml_ under resources/web/nuxeo.war/incl/.
xml <fragment version="1"><install><unzip from="${bundle.fileName}" to="/" prefix="web"><include>web/nuxeo.war/**</include></unzip></install></fragment>
Now you know how to override the XHTML template in Nuxeo. Just remember that doing so is risky for maintenance. The original template could be heavily changed or even renamed or removed in future versions of Nuxeo. If for any reason you find yourself with no other alternatives, come to answers.nuxeo.com and explain your issue. We’ll try to figure something out :D
See ya on Monday!