On Jan 16, 2008, at 4:56 PM, sachin mittal wrote:

Hi,
I have few doubts here:
Currently templates directory have their own vm files.
So would the first task be copy the vm files under albatross directory to templates directory and merge the common templates file.

Next other wiki skins have their own vm files and leaving them in their respective skins directory is not a good (uniform) idea.
So these should also be moved (shouldn't it).

We have 2 options:
1) Create templates that work for all current skins: dodo, finch and albatross
2) Consider that dodo and finch are history, make them use their own templates and not use any of the templates in templates/, clean the templates dir and replace them by the albatross vm files.

2) is much easier but 1) is nicer. I prefer 2).

Best would be to create sub directories under templates directory with same structure as skins directory.

That would defeat the notion of templates IMO.

Lastly regarding your point:
Another thing to do would be to "clean"  the albatross templates so
that they are lighter, generate less style elements, etc.

I  completely agree to this. In fact to get ExtJs working with the html content created by albatross vm files I had to delete lot of unnecessary style elements, merge lot of vm files in single files. I feel that vm files under albatross are lot scattered and having few compact vm files would be much better.
Would this improve the performance too? (I don't know that)

No idea.

Thanks
-Vincent

------------------------------

Message: 5
Date: Wed, 16 Jan 2008 16:42:46 +0100
From: Vincent Massol <vincent@massol.net>
Subject: Re: [xwiki-devs] Moving the xwiki.org skin as part of our
       distribution
To: XWiki Developers <devs@xwiki.org>
Message-ID: < 3542AB82-3970-4CA7-9155-41A53603839C@massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On Jan 16, 2008, at 4:34 PM, Sachn Mittal wrote:

>
> Hi,
> What is exactly you want help on.
> I am anyway modifying the albatross skin to build the complete UI on
> ExtJS,
> so maybe any work on this front can help me also.
> Right now I am modifying the default vm files in the albatross skin.
> It would be nice if all the vm files are placed under xwiki
> \templates and
> skins have only css, images, js and other static content files.

Yes that's exactly a task we have to do so this would be an example of
the help I'd need.

However we should not break dodo and finch skins so I guess the
templates they use could be moved to their skin directory.

WDYT?

Another thing to do would be to "clean"  the albatross templates so
that they are lighter, generate less style elements, etc.

Thanks
-Vincent

> vmassol wrote:
>>
>> Hi,
>>
>> Just to let you know that I had a discussion with Laurent Lunati (the
>> author of the xwiki.org skin) and we agreed on the following:
>>
>> * Laurent will modify the skin so that it can support layouts with
>> panels on the left. There are also some little things to fix like the
>> panel wizard, etc. Laurent will try his best to finish all this by
>> 15th of Feb
>>
>> * On our side we need to do the following:
>> - move all vm files into the templates dir so that the albatross skin
>> is mostly CSS files + images
>> - move skins out of the web/standard module
>> - future (can be done later): create maven plugin to transform a file
>> system skin into a XAR so that our skins can be easily installed on
>> existing xwiki installations
>>
>> The idea would be to finish this work by the 15th of Feb, in time for
>> the 1.3M2 release.
>>
>> Is anyone interesting in helping out for doing this?
>>
>> Thanks
>> -Vincent
>>
>> _______________________________________________
>> devs mailing list
>> devs@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Moving-the-xwiki.org-skin-as-part-of-our-distribution-tp14876372p14882833.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> devs mailing list
> devs@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs



------------------------------

_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs


End of devs Digest, Vol 7, Issue 24
***********************************

_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs