2006/4/25, Istvan Soos <[email protected]>:
Hello!
I'm planning to customize the interface of XWiki (using the wiki functionality only for a few administrator, and servicing content for everyone, who does not need to know about wiki). I've found that editing the files in the templates/ directory of the .war file does not really work, I can't see the changes on the interface.
Could you provide me the proper method for editing the templates? (I've restarted the the application server for cleaning the cache, but it does not help)
Hello, The proper method to use your own templates is to overload them into the skin you use. http://www.xwiki.com/xwiki/bin/view/Doc/WhatIsASkin Some (edit, viewheader, etc) are already present in you skin object, if you want to overload some others, you must add them as properties (name: the name of the template to overload, type : textarea) into the class XWiki.XWikiSkin. Then, reedit your skin object. Jean-Vincent.