This project is read-only.

Comment form Issue

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
May 24, 2011 at 11:55 AM

the CommentView  form which comes  on Post Page of Blog

is having

Name , Email , Website ,Country, Content, and Notification ..

out of which i only need

Name , Email And Content .

But when i removed all the other filed .  the comment is not saved?

what is the issue .

which file is saving the comment ??? can u please help

May 25, 2011 at 3:28 PM

There are settings to hide country and website in admin UI, you should use them rather than manually remove fields from markup. If you need remove notification box, you would have to do it manually though. Comments are saved by scripts/blog.js, check out function addComment() and instead of:

var notify = BlogEngine.$("cbNotify").checked;


notify = false;