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

eZ debug

Timing: Jan 30 2025 21:30:35
Script start
Timing: Jan 30 2025 21:30:35
Module start 'content'
Timing: Jan 30 2025 21:30:35
Module end 'content'
Timing: Jan 30 2025 21:30:36
Script end

Main resources:

Total runtime0.2310 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9297370.2969
Module start 'content' 0.00710.0130 958.22661,005.5156
Module end 'content' 0.02000.2109 1,963.74223,894.6875
Script end 0.2309  5,858.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00482.0781200.0002
Check MTime0.00130.5692200.0001
Mysql Total
Database connection0.00070.311710.0007
Mysqli_queries0.137559.53351410.0010
Looping result0.00130.58351390.0000
Template Total0.210491.110.2104
Template load0.00080.352410.0008
Template processing0.209690.732610.2096
Override
Cache load0.00060.247210.0006
Sytem overhead
Fetch class attribute can translate value0.00190.825910.0019
XML
Image XML parsing0.00020.093910.0002
General
dbfile0.00522.2605200.0003
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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