Editing the CSS files for the Website interface

« 
Previous topic
|
|
Author Message

paul bolger

Monday 23 April 2007 6:41:16 pm

I've been developing a site using just the website interface (partly to see just how practical this is). The document

http://ez.no/doc/content/download/8656/34754/version/5/file/ezwebin_customization.pdf

is pretty detailed about how to export and re-import the two css files, but gives little detail about how one should create them in the first place. The files 'live' in

/var/storage/packages/ez_systems/ezwebin_design/files/default/file

Is it a good idea to edit them in there? Or can you put them in the design directory?

Paul Bolger

Betsy Gamrat

Tuesday 08 May 2007 7:37:45 pm

Paul,

The files do "live" in the area you specified.

You create them with a text editor and apply CSS classes to override the design.

Using the packages as described in the documentation allows you to create a nice design that is easily applied to a site, although assembling the package each time you make a change may get tiresome.

My recommendation is to first get the images in order. Then edit the CSS files on the server until you are happy with the look. When you finish - export the package for reuse.

Good luck.

paul bolger

Thursday 17 May 2007 5:04:36 pm

Thanks Betsy,

I have realised since my original posting that I had a permissions problem which was preventing me from editing the files in the var directory. That's fixed now.

I think there is a hole in the documentation here though. The website interface is supposed to be easy eZpublish, after all.

Paul Bolger

Andy Boston

Saturday 23 February 2008 3:55:49 pm

Another way of doing it so you don't affect the original files is to create a style package through the admin interface.

setup > packages > create new package

the site-colors.css & classes-colors.css can even be blank at this point.

Then, once it's created you can FTP the CSS files to a local folder that is created at

/var/storage/packages/local/NAMEOFYOURSTYLE/files/default/file

Just a bit safer and definitely quicker than uploading the style again when you make a minor tweak :-)

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 18 2025 02:51:36
Script start
Timing: Jan 18 2025 02:51:36
Module start 'layout'
Timing: Jan 18 2025 02:51:36
Module start 'content'
Timing: Jan 18 2025 02:51:36
Module end 'content'
Timing: Jan 18 2025 02:51:36
Script end

Main resources:

Total runtime0.2010 sec
Peak memory usage4,096.0000 KB
Database Queries61

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.3203152.6563
Module start 'layout' 0.00580.0053 741.976639.5234
Module start 'content' 0.01120.1883 781.5000595.0469
Module end 'content' 0.19940.0015 1,376.546912.1016
Script end 0.2010  1,388.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00381.8847160.0002
Check MTime0.00150.7676160.0001
Mysql Total
Database connection0.00070.326810.0007
Mysqli_queries0.127263.2901610.0021
Looping result0.00070.3443580.0000
Template Total0.145372.320.0726
Template load0.00281.384020.0014
Template processing0.142570.894220.0712
Template load and register function0.00010.051810.0001
states
state_id_array0.00201.016410.0020
state_identifier_array0.00140.712520.0007
Override
Cache load0.00221.0756300.0001
Sytem overhead
Fetch class attribute can translate value0.00070.332830.0002
Fetch class attribute name0.00241.172170.0003
XML
Image XML parsing0.00201.006630.0007
class_abstraction
Instantiating content class attribute0.00000.008980.0000
General
dbfile0.00150.7258280.0001
String conversion0.00000.005540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs