Articles
Thoughts and tutorials on interactive media.
Recent Articles
-
01
Jun09
Conversations for ExpressionEngine
Quote + Reply using jQuery
A nifty feature, the ability to directly quote or reply to a comment, is unfortunetly missing in ExpressionEngine. No worries, though: this can be easily added with jQuery. In this tutorial we will be looking at how to do just that.
Read More 12 Comments
-
30
May09
All Systems Go!
DigitalNoon Finally Up and Running
For the past couple of months, between work & more work, I've been toying around with my very own site. The project, which remained neglected while collecting dust until a couple of weeks ago, is finally complete.
Read More 3 Comments
I figured it out, but I prefer not to allow html within comments. So I replaced the < cite > tags you used in your example with ordinary [ quote ]’s from ExpressionEngine. Users know how to read these and I don’t want to confuse them with new tags.
As a result I’ve got to learn to live with the fact multiple quotes will kind of break the quotes. Perhaps there are difficult solutions to this issue, but I can’t find the time to look into it. I don’t expect you to do so either, so don’t worry too much. What you created is awesome!
wrote Ron on Thu, May 27, 2010 AT 11:41amHi @Ron,
Thanks for the spotting the problem! The issue is happening because the script is grabbing the text from what you are quoting, and not the html. Because of this, it’s not grabbing the “cite” tags and isn’t nesting the quote within the quote.
The line of js where this happens is:
var quote = $(this).parents("li").find(’p’).text();
You can try some fixes by using .html() instead of .text(). If you can’t figure it out, shoot me an email at nick@kutateli.com and I’ll try to get it working on your site.
Cheers,
wrote Nick Kutateli on Thu, May 27, 2010 AT 10:43amNick
And I’m guessing you’re running into the same problem as I was… This is the third and final comment with nested quotes:
@Ron“Here’s the second post with one quote:
@Ron“Sorry for testing this. If you want to remove these comments, I don’t mind.”
”
wrote Ron on Thu, May 27, 2010 AT 10:23am