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...Administration ...Administration ...Page Templates and Session TimingPage Templates and Session Timing
Previous
 
Next
New Post
4/5/2007 2:12 PM
 

I have a couple of questions that I hope someone can help me with. The first is in relation to Page Templates. I've created a page that I wish to use as a template and have exported my portal to allow me use this. The actual page is laid out below:

<portal version="3.0">
  <description>Default page template with just a Content Manager 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>VIEW</permissionkey>
                  <rolename>Administrators</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>EDIT</permissionkey>
                  <rolename>Administrators</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>EDIT</permissionkey>
                  <rolename>Regional Manager - Argyll</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>VIEW</permissionkey>
                  <rolename>Regional Manager - Argyll</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
              </modulepermissions>
              <definition>Content Manager</definition>
            </module>
          </modules>
        </pane>
      </panes>
    </tab>
  </tabs>
</portal>

Now I'd like for Admins and a couple of other roles to have certain permissions but although the Page Template has these permissions when I create a new page and chose the Page Template the only role to be given any permissions is Admin. No other roles are added. I'm not sure why and would appreciate any advice.

The other problem relates to the lenght that sessions last. I can see how to lengthen a session but  it would appear no matter what I do the users need to login each time if there is a period of inactivity on the site as a whole (the site is still in development and there can be inactivity for a number of hours).

Any advice on how to rectify either of these problems is appreciated as always.

 
New Post
4/5/2007 3:43 PM
 

Page permissions set in page settings are overriding the settings in the template.

AFAIK, if an application is recycled, the session has been terminated.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/5/2007 4:32 PM
 

Thanx for this. How are you supposed to create a new page with a Page Template with the settings from the Page Template then? Not sure I understand this...I would have thought that the point of a Page Template was to have it laid out (modules, permissions, etc) and then when you chose the specific Page Template it would propogate the permissions as determined.

I have a number of Content Editors and I'd like to create a page for each of them to (a template) which they simply choose and it has all the necessary permissions laid out. I don't want them having to think what permissions should be chosen.

Is there another way of performing this function if Page Templates will be over-ridden by Adding a Page the normal way?

 
New Post
4/9/2007 3:56 PM
 

I'm still working on this problem and hope anyone can help me. I agree that the page permissions are over-riding the template permissions but I don't know how to recrify this. My page template details are set out below:

<portal version="3.0">
  <description>Default page template with just a Content Manager module</description>
  <tabs>
    <tab>
      <tabpermissions>
        <permission>
          <permissioncode>SYSTEM_TAB</permissioncode>
          <permissionkey>VIEW</permissionkey>
          <rolename>Administrators</rolename>
          <allowaccess>true</allowaccess>
        </permission>
        <permission>
          <permissioncode>SYSTEM_TAB</permissioncode>
          <permissionkey>EDIT</permissionkey>
          <rolename>Administrators</rolename>
          <allowaccess>true</allowaccess>
        </permission>
        <permission>
          <permissioncode>SYSTEM_TAB</permissioncode>
          <permissionkey>VIEW</permissionkey>
          <rolename>Operations</rolename>
          <allowaccess>true</allowaccess>
        </permission>
        <permission>
          <permissioncode>SYSTEM_TAB</permissioncode>
          <permissionkey>VIEW</permissionkey>
          <rolename>Regional Manager - Argyll</rolename>
          <allowaccess>true</allowaccess>
        </permission>
        <permission>
          <permissioncode>SYSTEM_TAB</permissioncode>
          <permissionkey>EDIT</permissionkey>
          <rolename>Regional Manager - Argyll</rolename>
          <allowaccess>true</allowaccess>
        </permission>
      </tabpermissions>
      <panes>
        <pane>
          <name>ContentPane</name>
          <modules>
            <module>
              <title>Please change this 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>VIEW</permissionkey>
                  <rolename>Administrators</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>EDIT</permissionkey>
                  <rolename>Administrators</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>EDIT</permissionkey>
                  <rolename>Regional Manager - Argyll</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
                <permission>
                  <permissioncode>SYSTEM_MODULE_DEFINITION</permissioncode>
                  <permissionkey>VIEW</permissionkey>
                  <rolename>Regional Manager - Argyll</rolename>
                  <allowaccess>true</allowaccess>
                </permission>
              </modulepermissions>
              <definition>Content Manager</definition>
            </module>
          </modules>
        </pane>
      </panes>
    </tab>
  </tabs>
</portal>

When I create a new page the module permissions are applied no problem but the tab permission are set at those when I click Add Page within my portal. Is there another way you use Page Templates other than Add Page and then select the page template you wish to use? I cannot see any but cannot fathom why the tab paermissions are not being applied as I'd like.

Any advice (and I mean any) appreciated as always.

 
New Post
4/12/2007 10:19 AM
 
I need help understanding this as well. What good are page templates if most settings are overridded?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page Templates and Session TimingPage Templates and Session Timing


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