In Aiki the only thing that can be done is to hide the form after user
submit it, and the text "added sucessfully".

It should show up the html for that comment but in Aiki generic form
can't know how this html should look like. We can do the trick like show
widget on successfull or add html to add form

(#(form:add||
<div>
   <img src="avatar.png"/>
   <p>((comment))</p>
</div>
)#)

This can be in new Aiki markup - wrapped with curly braces

(form:add:ajax({
<div>
   <img src="avatar.png"/>
   <p>((comment))</p>
</div>
}))

but form don't know where this html should be put after user click
submit, Better will be to remove ajax on forms - we suppost to fix the
forms right? If users need Ajax no their sites they will need to do this
themself.

We can introduce something like templates (html and JS) which will be
generated based on forms and users will be able to change them or leave
as it is. they can be in aiki_templates they can be put into new Admin
Interface in drop down list.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/799507

Title:
  multiple same comments posting to the database

Status in Aiki Framework:
  Incomplete
Status in openclipart:
  Confirmed

Bug description:
  If you see the latest comments page, you'll notice the same exact
  comment is getting to the database.

  This could be a problem with how the comments are being handled with
  aiki, or it coud be an aiki issue not checking the previous post for
  rate limiting, or a bug.

  http://www.openclipart.org/list/comments

  It needs to be fixed.

  There is some similar issue with the registration system on ocal,
  openfontlibrary and in Aiki, allowing multiple entries of same content
  into the db.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/799507/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to