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 ...Skinning w/ ascx - Breadcrumb and Copyright donSkinning w/ ascx - Breadcrumb and Copyright don't display?
Previous
 
Next
New Post
7/30/2008 10:32 AM
 

I've working on creating a skin via ascx, not the HTML/XML method.  Everything is working fine, except "breadcrumb" and "copyright" will not display.  I am using DNN 4.X   Here is my code so far: (I've blocked out pieces of it for privacy)

 

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %> 
<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %> 
<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/BreadCrumb.ascx" %>  
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %> 
<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>

<head>
    <title>xxx</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" href="x" type="text/css" media="all" />
<!--[if gt IE 6.0]><link rel="stylesheet" type="text/css" href="/css/ie.css" media="all" /><![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" href="/css/ie6.css" type="text/css" media="all" />
<![endif]-->


</head>
<body id="employmentIndex" class="listType-b shield">
<!-- Begin collapsible Control panel code -->
<div id="dnnheader">
    <div id="xxx">
    <a href="http://www.wisc.edu">
        <img src="<%= SkinPath %>imagxxx" alt="Uxxxme" title="Uxxnixxxxe" border="0"/>    </a>   
   
    <a href="#content" class="hide">Skip to content</a> <h2 class="hide">Global navigation</h2>
 <dnn:LOGO runat="server" id="dnnLOGO" /></div>
   
<ul id="globalNav">
    <li>
        <a href="http://my.xx.edu"><dfn title="xxxxx>xx</dfn></a>
    </li>
    <li>
        <a href="/xx/xx.php">Search</a>
    </li>
    <li>

        <a href="/xxx/">xxx</a>
    </li>
</ul>    <div id="breadcrumbs">
        <span class="hide">You are here (breadcrumb view of your location): </span>
        <ol>
            <li>
                <a href="xxx">xxx</a><span> >&nbsp;</span>
            </li>

            <li id="lastcrumb" title="current page">
                <dnn:Breadcrumb runat="server" id="dnnBreadcrumb" RootLevel="-1" />
            </li>
        </ol>
    </div>
</div>
<div id="container">
    <div id="xxxx">
        <span id="content">
            <div runat="server" id="ContentPane"></div>
        </span>
        <div id="col2">
            <div id="photo">
                <img src="<%= SkinPath %>imxxx.jpg" alt="xxx" width="325" height="158" />
            </div>
            <div runat="server" id="AsidePane"></div>
        </div>
    </div>
</div>
<div id="footer">
<div id="dnnlogin"><dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="footer" /></div>
    <h2>Footer and Copyright</h2>
    <ul>
        <li>
            <a href="xxxx" id="footcontact">Contact us</a><span>. For visitor and other information, call</span>xxxxx
        </li>

        <li class="last">
            <a href="xxxx">About this site</a>
        </li>
    </ul>
    <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />
</div></body>


Is there any logical reason why I can't implement the breadcrumb or copyright tokens?  Any help is greatly appreciated!

 
New Post
7/31/2008 8:30 AM
 

Is the Copyright field blank?  Do breadcrumbs work if level is 0?  Have you tried putting dummy text there to see if it displays?

Jeff

 
New Post
7/31/2008 5:29 PM
 

I got it!  After pulling all my hair out, I've found it's a css problem.  The style sheet I was given to work with had set the span tags within the breadcrumb and footer divs to be invisible.  I didn't realize that DNN throws 'span' tags around all the elements of the portal.  I disabled the css that was causing this, and everything is now working just peachy! 

 

Thanks for the suggestions Jeff.  Much appreciated!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Skinning w/ ascx - Breadcrumb and Copyright donSkinning w/ ascx - Breadcrumb and Copyright don't display?


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