Topic: skin creation is very complex

Re: skin creation is very complex

Hi Klaus,

Well, the skin documentation is quite outdated ... sad
We are currently reengineering it globally to reflect current versions and filling the gaps.
The sample skin attached to the current how-to was generated for Ametys 3.2 and is not compatible with 3.3+

If you try Ametys with the downloadable demo, a sample skin is provided (the "demo" skin) which you cas use as a basis for your own work.
This demo skin was actually initially generated from Artisteer, but Artisteer is not required to modify the source code of the skin.

Please ask here all questions you have about templating, and tell us which documentation is most missing, so that we can add/fix it quickly.

Regards,
Cédric

Re: skin creation is very complex

I am slowly making progress with my layout by adapting the demo layout.

I think the tutorial you already have, but adapted to all the changes you made, would be a very good start for beginners who want to make their own layout.

Few things I encountered:
* if you want to include an image in the main.xsl you have to point the src to something like /cms/skins/demo_adapted/resources/img/...
* if you want to add a new zone you have to map it in zones.xsl to a template which you can call from main.xsl
* you have to use a name for the skin or you cannot reference it in the admin-panel  wink


EDIT: okay, now I get: "This area is available in selected template but is not defined in template model.
You cannot insert content or service in this area."

Where can I find the template model?

Last edited by codemaster (24/03/2013 19:21:33)

Re: skin creation is very complex

Raphael Franchet
Expert Ametys

Re: skin creation is very complex

Hi,

The skin personalization will be the next big task to be executed. Do you have an updated version of the skin documentation?

Re: skin creation is very complex

Currently we only have a plot doc.
Very soon the brand new version (very complete) will be in French only and will be translater later.

For the moment, your best friend is so : the demo skin for a base sample and this forum to understand it.

Raphael Franchet
Expert Ametys

Re: skin creation is very complex

Dear all,
is there a demo version for 3.4.4 where the template is divided into e.g. 3 zones left/main/right, Im struggleing currently a little bit with modification of the current one (blog template) in order to add a 3rd zone ...

would appreciate any hints to a demo or appropriate documentation ...


cheers and happy new year
Miodrag

Re: skin creation is very complex

Raphael Franchet
Expert Ametys