kill object with a template operator ??

Author Message

François Xavier Lacroix

Thursday 08 September 2005 7:32:48 am

question : is it possible to suppress ezpublish object from a template ?
i m sure there is an operator to kill any object of the back office....
:(

Gabriel Ambuehl

Thursday 08 September 2005 9:11:32 am

Suppress like what? Like not display or like delete it entirely?

Visit http://triligon.org

François Xavier Lacroix

Thursday 15 September 2005 12:49:32 am

yes not for the interface
i would like to delete it entirely ...

François Xavier Lacroix

Monday 03 October 2005 3:48:05 am

well,
i suppose it is not possible
except if
i make a special fetch, to a special module, in where i should include a class with my object, and find a method wich should delete it...
it should be hard... :(

Łukasz Serwatka

Monday 03 October 2005 4:03:59 am

Is not enought to remove object using content/remove module without storing it in trash (form with one button "remove" and hidden fields)?

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

Frederik Holljen

Monday 03 October 2005 4:09:06 am

François,

There are no function/operators manipulating the database currently. The main reason for this is that you don't really know when templates are run because of caching and most importantly because it encourages moving business logic into the templates.

François Xavier Lacroix

Monday 03 October 2005 5:44:13 am

thank you for your answer,
i will try to find a "special" solution...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.