Forums / Setup & design / Creating my own Site Style

Creating my own Site Style

Author Message

Kevin Cook

Tuesday 08 March 2005 6:32:54 am

1. I am using a contributed site style

2. I want to edit the style sheets, but since they are owned by apacahe (and they are buried deep in the 'var' dir) and beside I don't have root access, so I copy them to another folder (that I do have access to)

3. So now I can edit them. For my site style ( the one I selected in the "look and feel" form) to find my version of the CSS files, I found out how to adjust the path for css files, in design.ini file through the admin interface.

4. But Everytime I want to change something in the look and feel form (not the site style but things like the logo) and send for publish, that action resets/overrides my settings in the design.ini.

Is there anyway to resolve this?
Is there a better way to do this?

All I really want to do, is clone a sitestyle, customize the CSS files and have EzPublish recognize, but I've yet to figure out how to do that. Other than the above.

thanks in advance for any help

Kevin C

kr

Łukasz Serwatka

Tuesday 08 March 2005 10:17:23 pm

Hi Kevin,

You can export all files from package using archive manager, for example and copy needs files to your design dir. I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kevin Cook

Wednesday 09 March 2005 5:22:26 am

thanks for the reply...

And if I export the site style and then copy the files to my design directory, how do I get ExPublish to recognize that my files are in my design directory? and use them instead of the originals?

krc

Stéphane Cloutier

Wednesday 09 March 2005 3:22:18 pm

When using the Look and Feel admin function, why is ezp writing to the override site.ini.append.php instead of the siteaccess one???

When changing one style or adding a logo for one specific siteaccess, multiple sites running under the same ezp installation will also be impacted.

This doesn't make sites independent from each other.

The only way to prevent this is to manually change siteaccess site.ini.append.php and design.ini.append.php.

In this scenario, I would suggest to remove or limit access to the Look & Feel function for security reasons.

Qupanuaq - Snow bunting