Woohoo! Finally found out what the problem was with BlogEngine comments. It turns out the problem was an element in the parent web.config called xhtmlConformance. Here's an article about it in Scott Guthrie's blog:
Gotcha: Don't use <xhtmlConformance mode="Legacy"/> with ASP.NET AJAX
I had figured it wasn't really a problem with BlogEngine, and was probably some sort of configuration issue, for this simple reason: the site was identical (except for content differences) on my server, vs. my local machine. In my case, the legacy switch had been turned on in the web.config of the parent web... which is why I had trouble tracking this down. Not knowing about the legacy switch didn't help the situation.
Thank you Scott Guthrie!
Here is a revised version of the Quotations widget for BlogEngine.NET 1.4.5. This version of the widget includes miscellaneous bug fixes and enhancements:
-
The "lastshown" field is now hidden (reserved for future use)
-
Clicking the "cancel" link when editing a quote now works properly
-
Added paging to the gridview
-
Text wrapping fixed on the quotation textbox
-
Fixed bug when last item is deleted
Quotations.zip (5.02 kb)
Wow, hotmail / windows live mail is down:
I wonder what happened?
In the spirit of A Continuous Learner's Weblog, and to try to update my blog more frequently, I'm going to start posting links here. I'll try not to recycle Steve's excellent choices, but I can't guarantee that I won't inadvertantly (or even deliberately) repeat these moving forward.
Client Scripting
Prior to upgrading BlogEngine I had written (actually borrowed/rewritten) a fairly ugly user control to show a daily quotation. Now that BE 1.4.5 is here, the new widget framework looks pretty nifty. So I took the LinkList widget and massaged it into something I could use to store and display daily quotes.
My original quotes setup only shows one quote on any given day and uses a datestamp to keep track of this. I've attached my first pass at a quotation widget below. This widget picks a quote at random each time the page loads. However when you edit you will see a date field... eventually I want to make a daily quote as with my original (or perhaps you can choose to display random quotes or to rotate at daily intervals, or even time intervals). So the date field is there for future use.
The quote is displayed in a div styled with the selector "quotation". The author/source is displayed in a 2nd div with the style selector "quotation_author". So you can update your theme stylesheet to modify the appearance of these.
Enjoy!
Quotations.rar (4.21 kb)
---------------
3/13/2009: There is an update to the quotations widget.
Finally installed BlogEngine 1.4.5. Something goofy happened with my web hosting provider permissions on the app_data folder... I kept getting exceptions, but with tech support finally got it straightened out.
Now I just need to fix my daily quotes control. I want to turn this into a widget and contribute to the community.