Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackProblems trying to make the feedback entirely anonymous.Problems trying to make the feedback entirely anonymous.
Previous
 
Next
New Post
7/22/2008 2:59 PM
 

I am trying to make it so the feedback module submits entirely anonymous feedback.  I have commented out the lines in the .ascx, the .ascx.vb, and the ascx.resx source that refer to txtEmail, valEmail1&2, txtName, and valName.

 

I get build succeeded and the browser starts to open then I get the message box stating

"Microsoft JScript runtime error: 'dnn_ctr370_Feedback_valEmail1' is null or not an object"

in the following code.

 

<

script type="text/javascript">

<!--

var

dnn_ctr370_Feedback_valEmail1.controltovalidate =

dnn_ctr370_Feedback_valEmail1.errormessage =

dnn_ctr370_Feedback_valEmail1.display =

dnn_ctr370_Feedback_valEmail1.validationGroup =

dnn_ctr370_Feedback_valEmail1.evaluationfunction =

dnn_ctr370_Feedback_valEmail1.initialvalue =

dnn_ctr370_Feedback_valEmail1 = document.all ? document.all["dnn_ctr370_Feedback_valEmail1"] : document.getElementById("dnn_ctr370_Feedback_valEmail1");"dnn_ctr370_Feedback_txtEmail";"<br\\>Email Is Required.";"Dynamic";"Feedbackform";"RequiredFieldValidatorEvaluateIsValid";"";

var

dnn_ctr370_Feedback_valEmail2.controltovalidate =

dnn_ctr370_Feedback_valEmail2.errormessage =

dnn_ctr370_Feedback_valEmail2.display =

dnn_ctr370_Feedback_valEmail2.validationGroup =

dnn_ctr370_Feedback_valEmail2 = document.all ? document.all["dnn_ctr370_Feedback_valEmail2"] : document.getElementById("dnn_ctr370_Feedback_valEmail2");"dnn_ctr370_Feedback_txtEmail";"<br\\>Email Must be Valid.";"Dynamic";"Feedbackform";
I am very new to DNN and I just have not been able to figure out what I am missing.


Clyde
 
New Post
7/22/2008 3:18 PM
 

there are validators on the email, and name fields and these are probably bombing in your case. Make sure you remove them... Also have had an issue before where commenting html wasn't really working so had to manually delete the lines of code that had the controls defined itself... Have you tried that?

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
7/23/2008 11:21 AM
 

I have deleted the required field and regular expression validators from the txtEmail and txtName text boxes, deleted all references to valemail1 &2 and valname in the .vb code, and deleted the valemails and valname from the .resx file.

I get the following in my event viewer when I go to the page containing the feedback module.

ModuleId: 370
ModuleDefId: 103
FriendlyName: Tell me what you think
ModuleControlSource: DesktopModules/Feedback/Feedback.ascx
AssemblyVersion: 04.08.04
PortalID: 0
PortalName: Clyde's Personal Website
UserID: 3
UserName: myuserid
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Local_DNN/Default.aspx
AbsoluteURL: /Local_DNN/Default.aspx
AbsoluteURLReferrer: http://localhost/local_dnn/Home/tabid/36/ctl/Login/Default.aspx?returnurl=%2fLocal_DNN%2fDefault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 15681ec9-de2b-4221-9db8-1f41f0c32f27
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Feedback.Feedback.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Feedback.Feedback.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: 0WS303876

If I look in the bin directory of the website the DotNetNuke.Modules.Feedback.dll time stamp does not match the time I made the modifications.

I am new to DNN and this is my first attempt at modifying any of the core modules code.

I believe I am missing something by I don't know what.


Clyde
 
New Post
7/23/2008 11:37 AM
 

your dll is probably building to another folder and not the bin folder of your website... Open the properties of your feedback project and make sure it's building over to the bin folder..
Also, after making changes to your .ascx, remember to copy them into the desktopmodules\feedback folder...
Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackProblems trying to make the feedback entirely anonymous.Problems trying to make the feedback entirely anonymous.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out