[Resolved] How to create comments like on facebook wall
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I'm building a site where i need to comment on posts in a view loop. Very much like a facebook wall. I have all the posts displayed in my view. I have created a post type with my comments. I have relationship working, so my comments belong to the right post in the loop.
My problem is that all the forms with comment got the same id, so when i press "Submit" everything fucks up 🙂
I need the comment to be a custom post type to ( got extra fields), and not the default wordpress comments... I don't think that is possible from the code... Please correct me if I'm wrong.
I actually found out that it is only the ajax submission that doesn't work... It saves the comment, but when it tries to substitute the form with a text messages, it targets all the instances of the form.