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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:33:23
Script start
Timing: Jan 30 2025 21:33:23
Module start 'layout'
Timing: Jan 30 2025 21:33:23
Module start 'content'
Timing: Jan 30 2025 21:33:23
Module end 'content'
Timing: Jan 30 2025 21:33:23
Script end

Main resources:

Total runtime0.0258 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1328151.2109
Module start 'layout' 0.00610.0040 739.3438220.6875
Module start 'content' 0.01020.0138 960.03131,001.7891
Module end 'content' 0.02400.0018 1,961.820333.9922
Script end 0.0258  1,995.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.7882140.0002
Check MTime0.00114.1737140.0001
Mysql Total
Database connection0.00072.586710.0007
Mysqli_queries0.003613.854130.0012
Looping result0.00000.031410.0000
Template Total0.00145.510.0014
Template load0.00114.185710.0011
Template processing0.00031.281410.0003
Override
Cache load0.00072.699410.0007
General
dbfile0.00114.207880.0001
String conversion0.00000.023140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs