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.