Forums
>
Users Lounge
>
DNN Creative Articles
How to Create an Installable DotNetNuke PA Module Using OWS - Issue 56
Last Post 06/03/2011 5:43 AM by
John Liptak
. 5 Replies.
Author
Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Posts:4945
05/04/2010 4:23 AM
Add any comments or questions regarding the
How to Create an Installable DotNetNuke PA Module Using OWS
tutorial from
Issue 56
Lee Sykes
Site Administrator
Subscribe to the website
:
DotNetNuke Video Tutorials
:
The Skinning Toolkit
:
DotNetNuke Podcasts
Twitter:
www.twitter.com/DNNCreative
John Liptak
Nuke Newbie
Posts:3
06/02/2011 10:52 AM
I have a question about creating OWS PA modules. If you had an OWS configuration that uses the "Goto" action, essentially you have 2 OWS configurations working together as one module. I'm not talking about a settings configuration here, just a separate OWS config to break up OWS code to make things re-usable. Anyway, Can you tell me how you would go about packaging an OWS PA in this case. Looking at the video's it seems that you export the config into the resx file as module.text. But where does the second configuration go?
Thanks
Joseph Craig
DNN MVP
Posts:11667
06/02/2011 12:36 PM
You might do better asking that question on the OWS Support forum.
Joe Craig,
Patapsco Research Group
Complete DNN Support
John Liptak
Nuke Newbie
Posts:3
06/02/2011 8:45 PM
i've already asked that on the OWS forums but no response. So either no-one has done it or it cant be done. I was just taking a punt if the creator of this video had an insight into this.
Thanks anyway.
Joseph Craig
DNN MVP
Posts:11667
06/02/2011 9:51 PM
Yes. I just looked over there and the forum doesn't seem to get a lot of traffic. That's too bad. People who like OWS really like it!
Joe Craig,
Patapsco Research Group
Complete DNN Support
John Liptak
Nuke Newbie
Posts:3
06/03/2011 5:43 AM
As far as i can tell, i need to get all of the OWS config code into the Module.Text within the resx file of the module. So given that my OWS module is split into many OWS configs then it might just be a matter of duplicating every process. Here is what I plan to do & thought to document it... and what better place but this forum. anyway, here goes;
1. I have 3 OWS configs that all work together as part of a single module. There is no Settings module as such because any branching of code for user roles is done within the configs. Therefore, if the code for a single ows config goes into the Module.Text of a resx file then stands to reason that 3 ows configs operating as one module would go into 3 separate resx files.
2. If i have 3 resx files then i need to create 3 ascx files and reference these in the .DNN file like so.. (excuse the crude nature of the XML below. Couldnt figure out how to show XML in this forum.)
module
..friendlyname
....My OWS module
..friendlyname
..cachetime
....0
..cachetime
..controls
.....control
.......src
.........DesktopModules/MyOwsModule/MyOwsModuleConfig1.ascx
.......src
.......type
.........View
.......type
.....control
.....control
.......src
.........DesktopModules/MyOwsModule/MyOwsModuleConfig2.ascx
.......src
.......type
..........View
.......type
.....control
.....control
.......src
.........DesktopModules/MyOwsModule/MyOwsModuleConfig3.ascx
.......src
.......type
..........View
.......type
.....control
..controls
module
there is no settings control because there is no separate settings module.
3. Put it all together & hey presto... Anyway, it all sounds like it might work. i just need to spare some time in the next week or so. I'll keep you posted.
Forums
>
Users Lounge
>
DNN Creative Articles