Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 21, 2010 @ 10:39
    Warren Buckley
    0

    After comment added, what is the best way to automatically show new comment

    Hiya Tim,
    After the comment has been added, the form hides itself and the thankyou message appears.

    What would be the best way to show the new comment or reload the page to show the comment form and new comment.

    Thanks,
    Warren

  • Thomas Vestergaard 52 posts 138 karma points
    Jan 21, 2010 @ 10:41
    Thomas Vestergaard
    0

    I'll be waiting for the answer on this one as well :)

    Btw, super nice package Tim!

     

    /Thomas

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 21, 2010 @ 10:59
    Tim Geyssens
    0

    Hi Warren,

    You'll just need to customize some of the jquery in the UCommentForm usercontrol. Should be a fairly easy update if you know some jquery

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 21, 2010 @ 11:15
    Warren Buckley
    0

    Yes I know jQuery, but is it best to reload the page or what?

    Thanks,
    Warren

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 21, 2010 @ 11:17
    Warren Buckley
    0

    Yes I know jQuery, but is it best to reload the page or what?

    Thanks,
    Warren

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 21, 2010 @ 11:24
    Tim Geyssens
    0

    Depends on what you want to do.

    You could also append the new comment to the comment lis with jquery instead of reloading.

     

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 21, 2010 @ 12:26
    Warren Buckley
    0

    Hmm yeh thats an idea, i think I will have a play round and let you know.

    But maybe its worth doing something similar in the main UCommment package, as for me seems odd after posting that you dont get to see your new comment on the page.

    Warren

  • Uros Sankovic 107 posts 134 karma points
    May 14, 2010 @ 15:11
    Uros Sankovic
    0

    Did anybody find a solution for that "problem"? What is the best way?

     

    Uros

  • Chris Davis 56 posts 74 karma points
    Aug 25, 2011 @ 05:05
    Chris Davis
    0

    Tim, great package. Do you have any code you would like to share that would do what Warren suggests?

    Warren, did you ever implement a solution?

    Thanks for all the great work!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies