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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Installing feedback module source codeInstalling feedback module source code
Previous
 
Next
New Post
2/24/2011 4:49 AM
 
hi,

In our dnn project for the feedback module i need to do some modifications,

1. when ever users logs in to the site, the feedback module is getting the username and email id of the user and displayed in the textboxes, i want to disable that, 
2. i want button instead of link button for send in the feedback module.

for this i have downloaded the source code, i have uninstalled the existing version  and installed the code version in the site, now in the visual studio when i change the source code that is not getting reflected in the module.

please help me how make change feedback.ascx.vb file 

thanks,
Sathish babu k.
 
New Post
2/24/2011 8:33 AM
 
Feedback is a compiled module (web application project aka WAP). In addition to making changes in Feedback.ascx and Feedback.ascx.vb you will need to recompile the module code and place the resulting DotNetNuke.Modules.Feedback.dll assembly in the site's /bin folder.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/24/2011 8:59 AM
 
Hi
Thanks for the reply,
I have pasted the .vb code files in the desktopmodules/feedback folder and class files in the appcode/feedback file, and i have deleted both the assemblies DotNetNuke.Modules.Feedback.dll and DotNetNuke.Modules.sql.dll,
now iam debugging the project.

Iam getting somany errors in the above process.

can u please tell me step by step how add source files to the feedback install version and change the code and compile to get the dlls and update in the bin folder.

This is very urgent to me, please help.

Thanks,
Sathish babu k.

 
New Post
2/24/2011 10:09 PM
 
By placing the various component vb files into an App_Code/Feedback folder you are converting the module from a website project (WAP) which has a project file and when compiled will produce a DotNetNuke.Modules.Feedback.dll assembly to a dynamically compiled Website Project (WSP) which has no project file. Making such a conversion in module project types is not recommended as other changes such as removing the .ascx.designer.vb files, changing the @ Control directives to make use of a CodeFile not CodeBehind attributes will also be necessary. I suspect that the errors you are encountering are related to missing imports statements and/or assembly references which would have been included in the project file.

To work with the source code in Visual Studio (as far as I recall, Feedback uses a VS 2008 not VS 2010 solution file), it would be best to install the source package into a working DotNetNuke site of version 5.2.3 or later. Then, prior to opening the DotNetNuke.Modules.Feedback.sln solution file in Visual Studio, open it in a text editor such as NotePad. You will note several references to the IIS site alias "DNN5Test". Change all occurances of "DNN5Test" to that of your IIS site alias.

The Feedback project file makes use of a custom MS Build script and imports the MSBuild.Community.Tasks.targets script and requires MSBuild.Community.Tasks.dll which is included in the packages _buildfiles folder but which does not get automatically installed along with the rest of the source package. You will need to copy the _buildfiles folder of the source package into your DesktopModules/Feedback folder if you want to make use of the custom MS Build script for re-packaging the module. If not, edit the DotNetNuke.Modules.Feedback.vbproj project file to remove the following two elements:

<Import Project="$(MSBuildProjectDirectory)\_buildfiles\MSBuild.Community.Tasks.targets" />
  <Import Project="$(MSBuildProjectDirectory)\_buildfiles\PackageModule.targets" />

After saving the modifications, start up VS and open the DotNetNuke.Modules.Feedback.sln solution file. You should then be able to make your code changes, recompile and if desired re-package the module for install on a different website.

Keep in mind that modifying the Feedback module may make it difficult or impossible to upgrade to later releases of the Feedback module in the future. At the least, it will be necessary to reapply the code changes that you are making after such an upgrade. You may wish to consider whether to increase the module version number and/or change all namespaces from DotNetNuke.Modules.Feedback to whatever you use for your own projects.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Installing feedback module source codeInstalling feedback module source code


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