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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...3rd party catalook module addon question3rd party catalook module addon question
Previous
 
Next
New Post
9/26/2008 12:04 PM
 

Figured I'd ask here also.  Going on to phase two of my DotNetNuke degree, I'm attempting to write a module to integrate with Catalook.  My example uses catalook specifically, but I think there is a good lesson in here somewhere on how to take advantage of source code from other modules and include in your own.

Scenerio/example:

I want to duplicate certain controls, in a new module definition.  This way I don't screw up catalook, or create some disaster. 
I"m using VS2008.

Using the _ProductMainData.ascx control as an example, here is what I attempted to do:


1) Copy _ProductMainData.ascx to my own module definition (/desktopmodules/RadCat)
2) Copy the source code vb file (_ProductMainData.ascx.vb) to the same folder (I may have the file names wrong...Im' typing this from memory).
3) Change the filenames to ProductMainData.ascx and ProductMainData.ascx.vb
3) Change the namespace in the code behind file from CATALook to something of my own (DNNReactor.Modules.Addons.CATALook)
4) Change the "control" line of the .ascx file to reflect the new namespace and codebehind:
OLD:  <%@ Control Language="vb" AutoEventWireup="false"  Inherits="CATALooK.ProductMainData" %>
NEW: <%@ Control Language="vb" AutoEventWireup="false" Codebehind="ProductMainData.ascx.vb"  Inherits="DNNReactor.Modules.Addons.CATALook" %>


So...I assumed it would be that easy, but as ususal in my novice world it isn't.  I'm missign some steps, cause I get all kinds of errors...missing object types etc.

Anyone done this in the past who could help me set up this scenario?

The whole goal is to not screw up the original catalook functions, and rather just keep them installed and available to me, but drop this module in as an addon so that I can create a very simple interface for my customers to use, with just the fields they want.

Thanks!
Josh
 

 


Josh Martin

 
New Post
9/27/2008 3:31 AM
 

 Have you contacted the developers of catalook to see what it would cost to have them do the work for you (then you can guaranty it will work and not screw up catalook)?  That is the path I would pursue.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
10/6/2008 1:56 PM
 

then I wouldn't learn anything(see first sentance), nor would it be any fun..


Josh Martin

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...3rd party catalook module addon question3rd party catalook module addon question


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