Forums / Developer / Change the contents of a object attribute
David Santiso
Monday 18 April 2011 10:42:57 am
Hi,
How can I change the contents of the object attribute by pressing a button?
For example, I'm on the template that displays the contents of an object and one of its attributes is an integer. I want to put a button that when pressed the integer content changes to another value.
Thanks,
David
Theodoros Papageorgiou
Wednesday 20 April 2011 4:17:03 am
Hi David,
You can use the attribute edit interface:
http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-functions/Visualization/attribute_edit_gui
Enable template debugging to see which attribute edit template you need to override.
WEBWiZ Web Development http://www.webwiz.gr
Wednesday 20 April 2011 8:17:05 am
Yes, but how do I save the new content?
I also want to modify it without showing the edit interface.