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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN 5 Basic Module Manifest QuestionDNN 5 Basic Module Manifest Question
Previous
 
Next
New Post
10/2/2009 9:13 PM
 

Hi folks

I have searched the blogs and bought the books and can do all the clever things with the new module manifest – but I seem to be stumbling over a simple question.

I want to load a dozen or so modules with one manifest so that each appears separately in the host>module definitions page, and each appears as a separate item in the module drop down list on the Control panel?

I can generate the module .dnn code from DNN 5 but how do I combine the Code:

<dotnetnuke type="Package" version="5.0">

  <packages>

    <package name="xyz" type="Module" version="1.0.0">

And so on, so they don’t get all lumped together as one item?

Kind regards

Geoffrey

 


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/2/2009 11:36 PM
 

Check out the skin manifest builder here (skins use the same manifest as modules do in DNN 5+) - http://dotnetnuke.mywebsitedesigner.com.au/

You can see that I have both a skin & container installing at the same time (this will be the same for modules):

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="Skin.MWSD-MySkinPackV1" type="Skin" version="01.00.00">
      <friendlyName>MWSD-MySkinPackV1</friendlyName>
      <description>Dotnetnuke skin</description>
      <owner>
        <name>Adam Kirkbride</name>
        <organization>My Business</organization>
        <url>
          <![CDATA[<a href="http://www.mysite.com" target="_blank">http://www.mysite.com</a>]]>
        </url>
        <email>
          <![CDATA[<a href="mailto:contact@mysite.com">contact@mysite.com</a>]]>
        </email>
      </owner>
      <license src="license.txt" />
      <releaseNotes src="releaseNotes.txt" />
      <components>
          <component type="Skin">
            <skinFiles>
                <skinName>MWSD-MySkinPackV1</skinName>
                <basePath>Portals\_default\Skins\MWSD-MySkinPackV1</basePath>
                <skinFile>
                <name>license.txt</name>
                </skinFile>
                <skinFile>
                <name>releaseNotes.txt</name>
                </skinFile>
            </skinFiles>
        </component>
        <component type="ResourceFile">
            <resourceFiles>
                <basePath>Portals\_default\Skins\MWSD-MySkinPackV1</basePath>
                <resourceFile>
                <name>Resources-Skins.zip</name>
                </resourceFile>
            </resourceFiles>
        </component>
      </components>
    </package>
    <package name="Container.MWSD-MySkinPackV1" type="Container" version="01.00.00">
      <friendlyName>MWSD-MySkinPackV1</friendlyName>
      <description>Dotnetnuke container</description>
      <owner>
        <name>Adam Kirkbride</name>
        <organization>My Business</organization>
        <url>
          <![CDATA[<a href="http://www.mysite.com" target="_blank">http://www.mysite.com</a>]]>
        </url>
        <email>
          <![CDATA[<a href="mailto:contact@mysite.com">contact@mysite.com</a>]]>
        </email>
      </owner>
      <license src="license.txt" />
      <releaseNotes src="releaseNotes.txt" />
      <components>
          <component type="Container">
            <containerFiles>
                <containerName>MWSD-MySkinPackV1</containerName>
                <basePath>Portals\_default\Containers\MWSD-MySkinPackV1</basePath>
                <containerFile>
                <name>license.txt</name>
                </containerFile>
                <containerFile>
                <name>releaseNotes.txt</name>
                </containerFile>
            </containerFiles>
        </component>
        <component type="ResourceFile">
            <resourceFiles>
                <basePath>Portals\_default\Containers\MWSD-MySkinPackV1</basePath>
                <resourceFile>
                <name>Resources-Containers.zip</name>
                </resourceFile>
            </resourceFiles>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>
 

 
New Post
10/3/2009 11:11 AM
 

Hi Adski

Thank you for  fast response and congratulations on a neat site.

This is exactly what I thought I was doing but it installs the package as one item in the Module Definitions page and one item in the Control Panel dropdown list, whereas I want separate items for each module - but all installed in one process, just like DNN 4.

Nevertheless, I will use your site to take another look at it and let you know how I get on.

Thanks

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/3/2009 1:10 PM
 

Hurray!

It worked using code like...

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="Module1" type="Module" version="1.0.0">

   </package>

   <package>

    <package name="Module2" type="Module" version="1.0.0">

   </package>

 </packages>

</dotnetnuke>

Now I wonder what I was doing wrong before?

Many thanks

Geoffrey

 

 


Geoffrey Morton-Haworth www.yalaworld.net
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN 5 Basic Module Manifest QuestionDNN 5 Basic Module Manifest 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