Forums / Developer / Setting a value of an object in a tpl

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Setting a value of an object in a tpl

Author Message

Nicolas R

Wednesday 25 February 2009 6:08:48 am

Hello,

How can I set the value of an attribute of a class in a template file ?

For instance, by clicking on a submit button, I would like to change the title of an existing article.
Is it possible without writing a module ?

Thank you !

Yannick Komotir

Wednesday 25 February 2009 6:46:57 am

Hi,
Not possible to do this without an edit template or (like you suggest) a module.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk