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, ...Page name as "header"Page name as "header"
Previous
 
Next
New Post
4/6/2006 3:24 PM
 
In my skin there is a small pane that covers the width of the content pane which is used to display a the title of the page. So far I've just added a text module to each page and typed it, but as the number of pages in the website I'm creating increases, I began wondering if there was some sort of module, or code I could place in the ascx file that would go find the page name, and enter it into the pane. This would simplify my life greatly if its possible.
 
New Post
4/6/2006 6:39 PM
 

Our beloved dotNetNuke has a skinobject named "PageTitle" that comes with the standard download, but not installed. It's right there in the /DeskTopModules folder. Install it like you would any module.

Then, in your skin .ascx file, add this

In the declarations section, add:
<%@ Register TagPrefix="dnn" TagName="PAGETITLE" Src="~/DesktopModules/PageTitle/PageTitle.ascx" %>

In your small pane, add:
<dnn:PAGETITLE runat="server" id="dnnPAGETITLE" CssClass="WhateverCSSClassYouDecideOn" />

You could also add [PAGETITLE] to an HTML/XML skin and re-parse...

 
New Post
4/6/2006 9:49 PM
 
I pasted exactly what you typed and my editor said I couldn't find  ~/DesktopModules/PageTitle/PageTitle.ascx... I went looking through the folders and install folders and couldn't find it anywhere either. Is there somewhere I can download this from?
 
New Post
4/7/2006 10:42 AM
 

It's in the /DeskTopModules folder off the root.  The skin object has to be installed before you call it from your skin...

Let's back up and start over.  If you have not downloaded the DNN version you are working with, do so and extract it to some directory, say c:\dotnetnuke.  Explore that directory and find /DeskTopModules, then /PageTitle under that.  Inside, find the PageTitle.zip file and copy it out to your PC's desktop.  Now browse your DNN site and login as Host. Go to Host --> Module Definitions. Near the bottom of the page, click "Upload New Module". Find the PageTitle.zip file you put on the desktop and follow the install routine. If you have not installed a new module before, or you are unclear about doing this, go to the help section here on the dotNetNuke.com site for instructions.

Once the PageTitle skin object is installed, you can invoke it from a skin.

Hope this helps

 
New Post
4/7/2006 12:36 PM
 
Maybe this is DNN version specific, because I can't find it anywhere. I've looked in my /DeskTopModules folder, I've looked through DotNetNuke_4.0.2_StarterKit.zip, DotNetNuke_4.0.2_Source.zip, and DotNetNuke_4.0.2_Install.zip and can not find anything with PageTitle in the name. As far as installing it, I've got no problems with that, I've currently altered standard DNN modules to function the way I need them and installed them. I just can't find this thing anywhere.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Page name as "header"Page name as "header"


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