Hi,
I have created a new skin and for all the user actions the vm files, css and
javascript code is picked up from that skin only.
Thus others are not required. And as per the quote below the files in
template directory are picked up only if vm files are not found in skin
directory, this won't be the case for us because the vm file should exist in
the skin directory.
Thus for the custom deployment of xwiki I was streamlining the xwiki code we
are using and deleting redundant code.
Also based on your comments below, second thing I can do is, keep all the vm
code under template directory only and have the css, js, images and other
static resources under the skin directoy.
I feel second approach would be better one.
Thanks
Sachin
vmassol wrote:
The template files are used when the vm file required cannot be found
in the skin. The role of templates is to have common vm files located
in one place and not copied in all skins. Right now this is a bit of a
mess but in the very near future we'll move the Albatross templates
into the templates directory and remove all vm files in the albatross
skin so that a skin will consist of only images, css and possibly some
Javascript.
I'd be interested to know what you're working on.
Maybe we can work together to better support your use cases, etc.
thanks
-Vincent
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context:
http://www.nabble.com/Is-templates-directory-required-any-more--tp15397359p…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.