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

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

Main resources:

Total runtime0.0147 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.0078152.6094
Module start 'layout' 0.00600.0023 741.617239.4141
Module start 'content' 0.00830.0044 781.031393.4297
Module end 'content' 0.01270.0020 874.460934.3047
Script end 0.0147  908.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.4941140.0002
Check MTime0.00107.0292140.0001
Mysql Total
Database connection0.001510.212010.0015
Mysqli_queries0.002617.528330.0009
Looping result0.00000.082710.0000
Template Total0.001610.910.0016
Template load0.00085.442610.0008
Template processing0.00085.368010.0008
Override
Cache load0.00053.695510.0005
General
dbfile0.00021.539580.0000
String conversion0.00000.048740.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