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...Skins, Themes, ...Skins, Themes, ...Containers in SkinsContainers in Skins
Previous
 
Next
New Post
6/30/2006 9:14 AM
 

Hi Folks,

I have developed a skin containing the Housemenu skin object.

However I would also like to embed that Housemenu within a container within the skin.

This makes it easy for my clients to create new pages without having to go through a number of steps such as adding modules, defining the container etc.

Any help is greatly appreciated.

Tony Stallan

 
New Post
6/30/2006 9:20 AM
 
can you explain what you mean? Creating pages is done through the dnn interface, not through a navigational object. Do you mean something like the new page templates solution in dnn 3.3.1 / 4.3.1 ?

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
7/4/2006 10:36 AM
 

Hi,

Basically I want to set up a skin that not only contains the HouseMenu but also defines the container that contains Housemenu.

I just looked at the Page Templates option and yes this does provide what I want. Is there any documentation on Page Templates, I have searched the site but could not find anything.

Out of curosity I would still like to know how to create a skin that also includes some kind of instruction to use a container.

ie:

<td>
      <container id="x">         // Use the Container x
         <My Housemenu>
            .....
            .....
         </ my housemenu>
      </container>
</td>

Thanks for any help given.

Tony

 

 
New Post
7/4/2006 4:28 PM
 

Skins and containers are 2 seperate things, you cannot force the use of a particular container in a skin. The page template system is not very good documented i think, and it's lacking a creation interface at the moment. The easiest way to create a new page template is to create a portal template (preferrably from a portal with just one page.. the page you want to use as a template), and then strip out everything that is not needed for a template. You can find the default page template in the folder /portals/_default/templates, this is the default page template:

<portal version="3.0">
  <description>Default page template with just an HTML/Text module</description>
  <tabs>
    <tab>
      <panes>
        <pane>
          <name>ContentPane</name>
          <modules>
            <module>
              <title>Enter Title</title>
              <cachetime>0</cachetime>
              <alignment>left</alignment>
              <color />
              <border />
              <iconfile />
              <alltabs>false</alltabs>
              <visibility>Maximized</visibility>
              <header />
              <footer />
              <startdate>0001-01-01T00:00:00.0000000+11:00</startdate>
              <enddate>0001-01-01T00:00:00.0000000+11:00</enddate>
              <containersrc>
              </containersrc>
              <displaytitle>true</displaytitle>
              <displayprint>true</displayprint>
              <displaysyndicate>false</displaysyndicate>
              <inheritviewpermissions>true</inheritviewpermissions>
              <modulepermissions>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>EDIT</permissionkey>
                  <rolename>Administrators</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
              </modulepermissions>
              <definition>Text/HTML</definition>
            </module>
          </modules>
        </pane>
      </panes>
    </tab>
  </tabs>
</portal>

As you can see from this exampl, you can define which pane(s) you want to add module(s) to, and for each module, you can define the container (at the containersrc element)

cheers,

Erik

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
7/4/2006 4:58 PM
 

Hi Erik,

Thanks for the Portal Template tip.

Ok, now I have a Page template that includes my HouseMenu module contained inside a container.

My question now is

Can I define the HouseMenu settings in the Template.

Using the HouseMenu skin object I can define certain settings such as :-

Scope="-1" ShowHome="False" ShowAdmin="True"  IsRecursive="True" Orientation="V"

Can I do this in the Page Template and if so how . The Portal template export does not export the Housemenu Module settings.

Many many thanks for al of your help. I'm just trying to make it easier for my clients to create new pages.

Tony

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Containers in SkinsContainers in Skins


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