Forums / Developer / Simple question about adding comments
Massimiliano Bariola
Thursday 21 July 2005 9:42:46 am
hi,
I was wondering how I need to construct an "add comment" form that will be placed in the same page of the article.
So far, all tutorials I have found have an article page, then a "add comment" button which takes you to another page. I suppose this makes Exponential create a draft of a comment, THEN it allows the user to edit it.
I want to have the template in the same page as the article, so that the submit button will create the object, fill it with the gathered form data, save it and return me to the same article page.
Essentially, to make a "gather data/create/store" operation instead of a "create/edit/store or discard" one. I suppose I could do it via an extension but it seems overkill to me.
Any ideas?
Łukasz Serwatka
Monday 25 July 2005 2:27:37 am
Hi Massimiliano,
This is not a way how to use Exponential, all variables must me be passed to content/action.
You can create your own module, pass variable data to that module and create new objects. More info you can find in old documentation.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog