Forums / Suggestions / Vitals improvements

Vitals improvements

Author Message

H-Works Agency

Wednesday 08 November 2006 4:53:25 am

Hi all,

After all that time spent tweeking ezp i see some obvious enhancements that would be a great help once implemented :

<b>In Admin siteaccess transform the "remove selected" in content lists into a "select" menu with those options :</b>

- Remove selected
- Move selected
- Copy selected

<b>Adding a "grouped_related_contentobjects" array in the node object :</b>

Would be accessed via $node.grouped_related_contentobjects

This would allow to filter directly related objects on their class_identifier and display certain related objects on certain node/class.

This behavior exists in this template : admin/templates/content/edit_relations.tpl

A classical case for me is to display related images for products (different views of a product) but not in an article (where related images are in the XML field). While you want related products or file to be displayed but separatly from eachother.

<b>Being able to differenciate related_objects that are referenced in the class "XML field" and those referenced with the bottom "related object" table :</b>

Exemple : Product class with a "XML field" datatype named "description".
This product has related object like other products, files (pdf) linked via the bottom "related contenus" table.
This would allow not to display in "related objects" those that are already displayed via the $node.data_map.description. And to display only related products and files. 

<b>Repairing ini settings override behaviors in extensions :</b>

In fact ini settings system doesn't work as it should...i understood its not a bug. But its not logical that the ini -> ini.append -> ini.append.php override system doesn't work in extensions.

<b>Enabling "upload new" in "object relation" datatype :</b>

In fact when you use this datatype you can only link objects that where already inserted in the system. When you want to add images to a products you can't use this datatype or you have to insert the images in media library first then add those in the product form.

Beyond that everything is perfect !

Martin

EZP is Great

Xavier Dutoit

Monday 13 November 2006 2:15:51 am

Adding a "grouped_related_contentobjects" array in the node object :

I would rather see that as an improvement of the fetch related :
http://issues.ez.no/IssueView.php?Id=9376&activeItem=1

Being able to differenciate related_objects that are referenced in the class "XML field" and those referenced with the bottom "related object" table :

I wrote an extension that allows you to do that: http://ez.no/community/contribs/template_plugins/getobjects_extension

http://www.sydesy.com

H-Works Agency

Monday 13 November 2006 2:50:49 am

Thanx a lot. I am going to try that.

Is your objects list grouped or filterable by class ?

EZP is Great

eZ debug

Timing: Jan 18 2025 10:26:48
Script start
Timing: Jan 18 2025 10:26:48
Module start 'content'
Timing: Jan 18 2025 10:26:48
Module end 'content'
Timing: Jan 18 2025 10:26:48
Script end

Main resources:

Total runtime0.5565 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.6094180.8438
Module start 'content' 0.00580.4169 768.4531557.6719
Module end 'content' 0.42270.1337 1,326.1250338.5625
Script end 0.5564  1,664.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.7589210.0002
Check MTime0.00150.2648210.0001
Mysql Total
Database connection0.00060.106510.0006
Mysqli_queries0.479886.21181940.0025
Looping result0.00210.37341920.0000
Template Total0.529795.220.2648
Template load0.00200.355820.0010
Template processing0.527794.816420.2638
Template load and register function0.00010.025710.0001
states
state_id_array0.00090.161710.0009
state_identifier_array0.00090.155820.0004
Override
Cache load0.00170.2969290.0001
Sytem overhead
Fetch class attribute can translate value0.00140.259530.0005
Fetch class attribute name0.00190.341750.0004
XML
Image XML parsing0.00140.260230.0005
class_abstraction
Instantiating content class attribute0.00000.002660.0000
General
dbfile0.00621.1071340.0002
String conversion0.00000.001530.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
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
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs