Location of calendar.css in ezwebin and ezcss_require

Author Message

Atle Pedersen

Monday 22 November 2010 8:37:44 am

Hi guys! I'd like your opinion of something.

On my 4.4-based test site, my browser complains about not being able to access /extension/ezjscore/design/standard/lib/yui/2.7.0/
build/calendar/assets/calendar.css

Which is only natural, since my apache rules don't allow this.

I could of course just change the rules, but I'd rather not, since I do not like to make such exceptions without good reason.

The file request comes from for example: 

extension/ezwebin/design/ezwebin/templates/content/datatype/edit/ezdate.tpl:
{ezcss_require( concat( '/', $base.yui2, 'calendar/assets/calendar.css' ) )}

I've looked for anything in the online documentation regarding this, either apache config configuration requirements, or something about ezcss_require, but can't find much of anything.

Have I missed some obvious documentation? Should this be reported as an issue? What do you think?

Atle Pedersen

Friday 26 November 2010 3:04:28 am

I created a new issue: http://issues.ez.no/IssueView.php?Id=17689

Nicolas Pastorino

Monday 29 November 2010 2:10:35 am

Hi Atle,

Had you checked on point 6. in this page : http://doc.ez.no/Extensions/eZ-JS-Core/Installation ? It seems to be solving your issue, am i correct ?

Cheers (and thanks for the report !),

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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

Main resources:

Total runtime0.6320 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1484152.6563
Module start 'layout' 0.00600.0030 741.804739.5000
Module start 'content' 0.00900.6217 781.3047545.2734
Module end 'content' 0.63080.0012 1,326.578112.1250
Script end 0.6320  1,338.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5150160.0002
Check MTime0.00140.2188160.0001
Mysql Total
Database connection0.00080.120310.0008
Mysqli_queries0.577691.4014580.0100
Looping result0.00070.1051560.0000
Template Total0.601895.220.3009
Template load0.00200.311120.0010
Template processing0.599894.902920.2999
Template load and register function0.00010.018010.0001
states
state_id_array0.00070.110610.0007
state_identifier_array0.00070.109820.0003
Override
Cache load0.00160.2542230.0001
Sytem overhead
Fetch class attribute can translate value0.00080.126820.0004
Fetch class attribute name0.00100.157950.0002
XML
Image XML parsing0.00360.568720.0018
class_abstraction
Instantiating content class attribute0.00000.002260.0000
General
dbfile0.00420.6684220.0002
String conversion0.00000.001040.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs