Admin's View of Most Recently created

Author Message

John Fisk

Monday 14 March 2005 1:50:33 pm

Does anyone have any tips for viewing the most recently created content with the admin site?

The content tree-menu is too big, so I get Fatal error: Maximum execution time exceeded and need to keep it minimised, but I want to know if anyone has created comments etc.

Any ideas greatly appreciated.

Łukasz Serwatka

Monday 14 March 2005 10:07:03 pm

Hi John,

The content tree-menu is too big, so I get Fatal error: Maximum execution time exceeded and need to keep it minimised (...)

You can fetch only objects of definied class or to definied depth. Look into contentstructuremenu.ini

I hope it will help

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

John Fisk

Tuesday 15 March 2005 2:28:15 pm

Thanks Lukasz, I wasn't aware of these ini settings, but I'm sure they'll turn out to be useful.

In this case I don't think these settings will help though: I've added 'Enable Comments' to the Image Class (and code to the Template) and I have quite a lot of Images. I wanted to track if anyone has posted any Comments.

At the moment I'm just querying the database, but I'll post a reply if I come up with something better!

Thanks, John
PS Great product though. Has been very easy to set up for someone new to both PHP and Content Management!

Łukasz Serwatka

Sunday 20 March 2005 11:45:36 pm

Hi John,

That`s great that you enjoy eZ publish :-)

You can use notification system to get information about new content. You will recaive a e-mail when new object was created in your site.

notification.ini is a configuration file.
http://ez.no/ez_publish/documentation/reference/data_fetching/notification
http://ez.no/ez_publish/documentation/incoming/the_community_server/forums/notifications
http://ez.no/ez_publish/documentation/reference/modules/notification

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19:06:45
Script start
Timing: Jan 18 2025 19:06:45
Module start 'layout'
Timing: Jan 18 2025 19:06:45
Module start 'content'
Timing: Jan 18 2025 19:06:46
Module end 'content'
Timing: Jan 18 2025 19:06:46
Script end

Main resources:

Total runtime0.7762 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0109 587.9297152.6250
Module start 'layout' 0.01090.0036 740.554739.4453
Module start 'content' 0.01450.7601 780.0000552.2578
Module end 'content' 0.77460.0016 1,332.257812.1563
Script end 0.7762  1,344.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00710.9099160.0004
Check MTime0.00430.5603160.0003
Mysql Total
Database connection0.00110.147810.0011
Mysqli_queries0.715692.1842600.0119
Looping result0.00060.0791580.0000
Template Total0.734794.720.3674
Template load0.00190.251120.0010
Template processing0.732894.402920.3664
Template load and register function0.00020.021510.0002
states
state_id_array0.00110.137610.0011
state_identifier_array0.00090.110420.0004
Override
Cache load0.00160.2063270.0001
Sytem overhead
Fetch class attribute can translate value0.00090.110420.0004
Fetch class attribute name0.00120.153350.0002
XML
Image XML parsing0.00060.082120.0003
class_abstraction
Instantiating content class attribute0.00000.002360.0000
General
dbfile0.00090.1162180.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7

Time used to render debug report: 0.0002 secs