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 breadcrumb to a skinAdd breadcrumb to a skin
Previous
 
Next
New Post
6/2/2008 11:15 AM
 

HMMMm that should have worked.. You could try undoing the last change, then repackage the skin by zipping all the files up in the directory, but leave the div in the skin file.  Remove that skin you have installed, and reinstall the skin, and it should automatically place register it in your skin for you.  Try this and let us know how it goes.

 
New Post
6/2/2008 11:58 AM
 

Just so we are on the same page, the top of my skin.htm looks like this:

 

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="/Admin/Skins/BreadCrumb.ascx" %>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table2">
    <tr>
        <td height="44" background="top_tile.gif" align="center" colspan="3">
            <table width="98%" height="44" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table3">
                <tr>
                    <td width="100%" height="44">[CURRENTDATE]</td>
                    <td width="100%" height="44" align="right">[LOGIN]
                                <dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" RootLevel="0" Separator=" » " />
                                </td>
                </tr>
            </table>
        </td>
    </tr>

This is correct?

 
New Post
6/2/2008 12:38 PM
 

Looks like it should be right...

I am not the biggest professional on this, but I am SURE this will work

take this out:

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="/Admin/Skins/BreadCrumb.ascx" %>

 

and then package ALL of the files and folders in that skin directory and name the zip file something suitable that is not the same name as the current skin.

upload it as a new skin, and give it a shot.

 

 
New Post
6/2/2008 1:44 PM
 

Ok after playing with the code and doing the suggestion you said to give it a new skin name, the errors have stopped. However, the breadcrumb does not show on the skin. Perhaps I have the code in the wrong area? Here is the entire skin.htm code, perhaps you can suggest a better please for the code?

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/Logo.ascx" %> ** ADDED THIS AS ERROR WITHOUT IT***
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table2">
    <tr>
        <td height="44" background="top_tile.gif" align="center" colspan="3">
            <table width="98%" height="44" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table3">
                <tr>
                    <td width="100%" height="44">[CURRENTDATE]</td>
                    <td width="100%" height="44" align="right">[LOGIN]
|                                <dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" RootLevel="0" Separator=" » " />  **DO I NEED TO MOVE THIS?**
                                </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="93" colspan="3" class="SkinImage">[LOGO]</td>
    </tr>
    <tr>
        <td width="3%" height="28" background="menu_tile.gif" align="left"></td>
        <td width="55%" height="28" background="menu_tile.gif" align="left">
            <table border="0" cellpadding="0" cellspacing="0" height="28" ID="Table1">
                <tr>
                  
          <td>[MENU]</td>
                </tr>
            </table>
        </td>
        <td width="42%" height="28" background="menu_tile.gif" align="right">[USER]&nbsp;&nbsp;</td>
    </tr>
    <tr>
        <td bgcolor="3E6DA1" colspan="3" height="100%">
            <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" bgcolor="white" ID="Table4">
                <TR>
                    <TD id="LeftPane" runat="server" WIDTH="200" visible="false" VALIGN="TOP" height="100%"></TD>
                    <TD id="ContentPane" runat="server" HEIGHT="100%" visible="true" VALIGN="TOP"></TD>
                    <TD id="RightPane" runat="server" WIDTH="200" visible="false" VALIGN="TOP" height="100%"></TD>
                </TR>
            </TABLE>
        </td>
    </tr>
    <tr>
        <td height="25" background="footer.gif" bgcolor="#3E6DA1" align="left" colspan="2" valign="middle">&nbsp;&nbsp;[COPYRIGHT]</td>
        <td width="42%" height="25" background="footer.gif" bgcolor="#3E6DA1" align="right" valign="middle">[TERMS]&nbsp;&nbsp;[PRIVACY]&nbsp;&nbsp;</td>
    </tr>
</table>

 
New Post
6/2/2008 2:10 PM
 

Strauss,

If you're working on your local environment, be sure to pay attention to this:

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="/Admin/Skins/Logo.ascx" %>

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/Logo.ascx" %>

Notice the different is "~" being added to map the control to the proper location.

The reason why you don't see your breadcrumb is that you have specified RootLevel="0"

Try setting the RootLevel="1" or to display the word "Root", set it to "-1" (have no idea how this is going to help users).

Good luck!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Add breadcrumb to a skinAdd breadcrumb to a skin


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