1. Tore B. Krudtaa
  2. Newbies area
  3. Sunday, 13 December 2009
  4.  Subscribe via email
Hi.

I have been testing this for some hours now and must say this looks pretty nice.

But then I need to tweak it some.
How do I do the following:

(using: !JoComment 4.0 beta2 )

1.
When a user has displayed an article, then I would default not like to show the comments nor the Add comment form.
Would like to only show something like this:

23 comments Add comment

Then the comments that would normally be displayed on the page should be in a hidden div or something, and when user click the link "23 comments" then they should be made visible (and cool if could be auto-scrolled to 1 post as well).

When user click "Add comment" then the comments and the Add comment form should be made visible and the page should autoscroll to the Add comment form.

How do I accomplish that?

2.
To take #1 above a step further I would now like it to work like this:
Instead of fetching any comments at all I would like comments only to be fetched and displayed if the link "23 comments" is clicked (fetched using Ajax of course).
This should make it possible to show the article with a minimum of queries used, but still make comments available. Less work for server, and lower the bandwidth needed.

When traffic gets higher and comments are entered in great numbers for an article I belive that would be a nice feature...

Is this doable today?
If so, how do I accomplish this?
Would also be cool if such feature could be managed from the backend in the future.

3.
Is it possible to replace the comment form with a Thank you message, when a comment has been saved?
Example.... User click the "Add new" to add a new comment.
Enter valid information and click on the "Send" button.
Then if the comment is saved successfully I now want the comment form to be hidden and a "Thank you for your commment" message to appear where the Comment form was displayed.

Is that doable? How do I do that?
Would be cool if this could be controlled from the backend as well.

Anyway... thanks for a well written component

Regards
Responses (1)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Complete Uninstall to Work in J4??
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
4 Replies
Posted on Tuesday, 30 April 2024
  • New
  • verschiedene URL's für Kursübersicht einer Kategor
    Hallo, ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
    1 Replies
    Posted on Monday, 29 April 2024
  • New
  • Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    1 Replies
    Posted on Wednesday, 24 April 2024
    Changes to Submission Form?
    Are you able to make changes to the Hotspot submission form? There are several f...
    0 Replies
    Posted on Friday, 26 April 2024
    Question regarding custom fields
    How do I access custom fields after I have created them?...
    0 Replies
    Posted on Wednesday, 24 April 2024
    • #custom fields