×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Open comments in popup ajax modal

Open comments in popup ajax modal 9 years 3 months ago #29797

  • Alex Chartier
  • Alex Chartier's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I would like to be able to have a link on my page which would open comments in a popup modal ajax window. I read with interest this post: compojoom.com/forum/ccomment-core/18877-...-raw-html-view#25552
which I think has some of the same requirements.

My goal is to have a table with a list of topics. When the user clicks on the topic link the modal popup will display showing the comments for this topic. A user could add a new comment if they wanted. Standard moderation configuration should apply. Closing the popup returns them to the list. I can pass a reference ID in the link which would link to the ID in the comments DB.

I had considered making an article for each item in my list and then causing the article to display in the popup window, but this seems a little overkill and I don't really want to create hundreds of dummy articles simply to display the comments.

Any thoughts or suggestions on how I would be best to create this functionality? I am not afraid of writing code to do it.

Thanks in advance.

Open comments in popup ajax modal 9 years 2 months ago #30061

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Alex,
This is something that ccomment can't do. I think that you'll be better with a custom solution tailored to your needs.
Regards,
Daniel

Open comments in popup ajax modal 9 years 2 months ago #30090

  • Alex Chartier
  • Alex Chartier's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks Daniel.
Can you clarify? What part can't ccoment do?

Open comments in popup ajax modal 9 years 2 months ago #30120

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It can't do what you want it out of the box and it won't be a simple 1 line code change to achieve what you want. You'll have to hack a lot of stuff and that's why I think that it would be simpler to create something specific for your needs.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.102 seconds