Integrating with advanced comments..?
Permalink Browser Info Environment
Hi,
First of all, great block!
I have looked at the documentation for help with this but i'm afraid it's like another language to me!
How can I integrate the comments block with concrete wall?
i.e. in to show in the recent activity - "[user] has commented on... [pagename]"
How could this be acheived?
Cheers,
Wayne
First of all, great block!
I have looked at the documentation for help with this but i'm afraid it's like another language to me!
How can I integrate the comments block with concrete wall?
i.e. in to show in the recent activity - "[user] has commented on... [pagename]"
How could this be acheived?
Cheers,
Wayne
Type: | Discussion |
---|---|
Status: | New |
Thanks for the advice. Been messing about with this for a while but can't seem to get past it.
Every time a comment is submitted I just get a blank screen with two brackets () (see attached)
Don't suppose you have any ideas of how to get past this?
Every time a comment is submitted I just get a blank screen with two brackets () (see attached)
Don't suppose you have any ideas of how to get past this?
Unfortunately, you'll need some understanding of PHP in order to do this.
Check out the developer instructions in my documentation and also the example "likes this" block.
Basically, you'll want to create a copy of the comments block and install that (this step is done because you'll be modifying the controller and you shouldn't modify the core).
I assume that in the controller.php (or maybe models/comment.php or something) there's some code that is used to save the relevant comment to the database. Not sure where... but it has to be done somewhere.
In that area, you would include the wall API and similar code like in my example. Something like