Forum OpenACS Development: Re: OpenACS skinning

Collapse
2: Re: OpenACS skinning (response to 1)
Posted by Harish Krishnan on
Hi Malte,
We implemented a similar scheme including having master templates for http://interlink.azri.biz . Although it is not per user, it will not be a significant challenge to do it that way. Along with it we added a theme upload functionality that took a zipped file which contained the complete directory that a designer would produce. The zip file also consists of a XML manifest file (which contains the mapping between the directory structure and the theme name css folder/images/adp file for the theme) that allows the uploading action to register the theme which is then available to the admin to change. I know there are better ways of doing it but it works quite well for us.

The general directory structure we use is the following:
skin/
master/ - for adp files
www/resources/theme1 - sample theme directory which contains all the image and css files and folders.

I am not sure where to upload this on the openacs site, so in case you are interested I can upload the code somewhere.

Collapse
3: Re: OpenACS skinning (response to 2)
Posted by Malte Sussdorff on
Harish, please send it to my inbox or alternative upload it to the file storage area at OpenACS. Please add a demo skin (or two) if possible, so I could take a look how you did this exactly. This is really appreciated. If you upload, please do so at:

https://openacs.org/storage/index?folder%5fid=493034

Collapse
8: Re: OpenACS skinning (response to 3)
Posted by Harish Krishnan on
Collapse
9: Re: OpenACS skinning (response to 8)
Posted by Malte Sussdorff on
Hi Harish, I looked at the code and it seems to be missing the SQL directory. Additionally it would be great if you had one or two demo skins in the package or one of the skin uploads, which it seems to be doing.