Re: [mezzanine-users] Get the click event from a button

2017-06-10 Thread dacastror
Sorry, I think my English is not good, maybe I have not expressed myself well. I do not ask about the forms. Imagine a template like this: {% extends "pages/richtextpage.html" %} {% block main %} Click Me! {% endblock %} How can I detect the click event in the page processor? El sábado

Re: [mezzanine-users] Get the click event from a button

2017-06-09 Thread dacastror
My page must have several forms simultaneously, plus you must have buttons to edit and delete content. I've managed to do a lot of this with page processors, but I want to achieve proper communication between the template and the page processor. For this it serves me Get the click event from a

[mezzanine-users] Get the click event from a button

2017-06-09 Thread dacastror
Hi, I'm adding a page processor to my custom page, Using the example given in: http://mezzanine.jupo.org/docs/content-architecture.html#page-processors I would like to add a button to the template that when pressed will execute a python code that will alter something in the template. I think it