Display childrens in users inteface

Author Message

Leonardo López

Tuesday 22 November 2005 12:15:35 pm

Hello people... how's everything? i hope that well...

i'm trying to display (in the users interface) a list with the childrens of the section "news" like children shows in administration interface... because i want that the news administrator could edit, create or delete news from the users interface without having to enter to administration interface... For this, i'm trying to override the template "children.tpl" used in the administrator interface to shows the children of the different sections... but is not working, it say "no children to display" i think that this template works only for the admin interface...

any sugesstion... please write... Thanks

Łukasz Serwatka

Thursday 24 November 2005 1:36:40 am

This will not work, and this is correct message. You should use fetch with "tree" or "list" function. Look on examples in documentation:

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/tree

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/list

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

K259

Thursday 24 November 2005 5:33:05 am

Interesting topic..I need help with customizing the siteview so that the editors can create and edit their objects directly on the page without entering the admin interface.

..I know how to integrate this in the pagelayout.tpl (create buttons, list classes and so on), but I don't want the editor to enter a full-view of edit object with translations buttons, related obj buttons available with full default template.

I just want to display the title, description and text field in the siteview..and the save/discard button.

My question is..how do I override the view for edit, and where do I add the override in the config for this?

Hope someone can answer this, maybe I can contribute with more myself after testing.
I have searched the doc for at least an hour now :/

:)

Leonardo López

Thursday 24 November 2005 12:45:41 pm

Thanks for answer Lukasz...

Caxca i think you can override the templates in admin interface to personalize that, and then move it to yoursitename/override/templates

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

Main resources:

Total runtime1.0764 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0703152.6250
Module start 'layout' 0.00560.0029 741.695339.4453
Module start 'content' 0.00851.0665 781.1406582.8594
Module end 'content' 1.07500.0013 1,364.000012.1563
Script end 1.0763  1,376.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2885160.0002
Check MTime0.00130.1223160.0001
Mysql Total
Database connection0.00090.079810.0009
Mysqli_queries1.024495.1678620.0165
Looping result0.00070.0615600.0000
Template Total1.040096.620.5200
Template load0.00190.178820.0010
Template processing1.038196.443220.5190
Template load and register function0.00020.021110.0002
states
state_id_array0.00190.172410.0019
state_identifier_array0.00140.133520.0007
Override
Cache load0.00160.1492220.0001
Sytem overhead
Fetch class attribute can translate value0.00120.109530.0004
Fetch class attribute name0.00150.143050.0003
XML
Image XML parsing0.00090.080330.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00260.2438180.0001
String conversion0.00000.000840.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs