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 ForumsEventsEventsEvents module customizationEvents module customization
Previous
 
Next
New Post
9/1/2009 12:35 PM
 

I'm running DNN 5.1.1 in my DEV environment. I would like to customize my events module - replace the grid view in list mode with Repeater/Listview. How do i modify the source code for events module. I'm planning to do the following :

1. Get the latest source code. Unzip it into a directory and point the web project to my installation directory.

2. Unfortunately, earlier i had installed "Install" version of Events module. Can i go ahead and repair the installation with Source code version? WIll that bring in the code behind?

3. If i make changes in this solution and compile is that enough?

Please let me know whether i'm following correct steps. If not correct me.

 
New Post
9/1/2009 12:43 PM
 

You should be able to install the 'Source' version in the same way as the 'Install' version. Just use the same Module Definitions dialogue (not sure what that is called in DNN 5.1.1). From there, edit, compile and go.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/2/2009 1:27 AM
 

I installed the Events source using the Module installer. I'm able to build the entire solution without any error. I'm able to build the web site with out any error when there are no code behind is open. However if i open any code behind, there are lot of errors in error window. I'm not sure what am i doing wrong. The errors are like this -

Error 139 'EventIcons' is a type and cannot be used as an expression. E:\DNN\Env-3\DesktopModules\Events\EventList.ascx.vb 44 30 http://localhost/site-3/
Error 140 Name 'EventIcons2' is not declared. E:\DNN\Env-3\DesktopModules\Events\EventList.ascx.vb 44 42 http://localhost/site-3/
Error 142 Name 'gvEvents' is not declared. E:\DNN\Env-3\DesktopModules\Events\EventList.ascx.vb 61 21 http://localhost/site-3/

I'm listing down the steps again.

1. Installed DNN 5.1.1 "Install version" into a directory and the site is up and running.

2. Wanted to modify events module. So downloaded the DNN 5.1.1 source code. Extracted to a directory.

3. Opened the sln file and changed the website path to my installation virtual directory.

4. Installed latest events source code through Module installer.

5. Opened the solution in VS 2008 and tried to open the code behind. I'm seeing lot of errors. As i mentioned i'm able to build the solution. I'm able to build the website. But if i open the code behind there are lots of errors.

Please hel me out.

 

 
New Post
9/2/2009 2:53 AM
 

I would guess that some elements are not correctly included in the vbproj. I would check that the EventIcons.ascx is not included, so try that. If that solves that error, follow the same procedure for the other errors. I'm afraid I'm not an expert at these things, but I'm pretty sure you have done the intstall correctly.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/2/2009 2:59 AM
 

Thanks for the response. After some more research, I got this link http://www.aboutdnn.com/Blog/tabid/76/EntryID/5/Default.aspx and set up the environment as described in th article. But still getting lot of errors. When i build it fails showing all the errors in events module(the one i'm interested in). It says

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "DotNetNuke". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

and  another 100 errors. I checked the .vbproj file the rerence is like this

    <Reference Include="DotNetNuke, Version=4.7.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>_references\DotNetNuke.dll</HintPath>
    </Reference>

Is this correct? Shd i add manual reference?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents module customizationEvents module customization


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