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, ...Add Page Name to a Skin/Remove Breadcrumb This PageAdd Page Name to a Skin/Remove Breadcrumb This Page
Previous
 
Next
New Post
1/1/2008 9:10 AM
 

I'm new to skinning and have most things figured out but was hoping for some assistance with two issues.

  1. How can I add the page name to the skin inside of a h1 tag?  What DNN TagName do I use and what do I register?  I saw somewhere to register the DesktopModule/PageTitle.ascx.....code but was unable to make that work?
  2. For my breadcrumb I'd like to remove the current page, only showing the path taken to reach that page.  For instance, I'm on page About Us, and this is page's parent is Company but instead of showing Company / About Us, I'd like to show Company /.  Is there a token value I can set for the breadcrumb to make that happen?

Any assistance would be greatly appreciated.

 
New Post
1/1/2008 11:10 AM
 

I've figured out the pagename issue...just need assistance with the breadcrumb.

 
New Post
1/4/2008 3:16 PM
 

I don't know any way to set the breadcrumb control to do this without editing the core.  Currently the only options are the separator, CSS class and root level. 

Jeff

 
New Post
1/4/2008 3:31 PM
 

Jeff is right.  There currently isn't support in the Breadbrumb Skin Object to do that.  Just in case, I also re-confirmed this in version 4.08.00.  However, adding such a feature and creating your own breadcrumb skin object shouldn't be too difficult if you really need this feature.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
1/4/2008 4:54 PM
 

I just whipped up a copy of the Breadcrumb skin object for you.  Due to time constraints, I have not tested it yet.  However, it should be what you want.  I added another property that you would want to specify in your ASCX or Skin.xml file to exclude the current page from the rendering.

First, install it like you would any other module.  Then, you would just put a different token in place of the default DNN Breadcrumb skin object like so:

[SSDBREADCRUMB]

Next, add an attribute in your ASCX called "IncludeCurrentPage" and set it to "False" to not show the current page in the breadcrumb list.  (The default is "True".)  If you are using a Skin.xml file to manage your skin objects, add a new object node to do this:

<Object>
    <Token>[SSDBREADCRUMB]</Token>
    <Settings>
        <Setting>
            <Name>Separator</Name>
            <Value><![CDATA[&nbsp;&raquo;&nbsp;]]></Value>
        </Setting>
        <Setting>
            <Name>RootLevel</Name>
            <Value>0</Value>
        </Setting>
        <Setting>
            <Name>IncludeCurrentPage</Name>
            <Value>False</Value>
        </Setting>

    </Settings>
</Object>

Finally, upload the skin and see if it worked.  (I hope so!) 

Here is the download link:

http://www.strohlsitedesign.com/ssd/Downloads/tabid/62/Default.aspx


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Add Page Name to a Skin/Remove Breadcrumb This PageAdd Page Name to a Skin/Remove Breadcrumb This Page


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