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, ...Solpartmenu SeparatorSolpartmenu Separator
Previous
 
Next
New Post
2/14/2007 3:44 PM
 

Having trouble with the SolPartMenu separators.  I tried to use the following:

<dnn:SOLPARTMENU runat="server" separator="<![CDATA[<img alt="separator" src="<% =SkinPath %>separator.gif" />]]>" />

I end up with the solpartmenu and the and menu items separated by the text [CDATA[<img alt="separator" src="<% =SkinPath %>separator.gif" />]]>. 

Then i tried just using the separatorcssclass value to set a background image, but that didn't work either, just ignored? my settings.  Thanks for the help.

 
New Post
2/14/2007 8:06 PM
 
Perhaps you misunderstood the skinning docment. The <![CDATA[]] /> parameter is only used in the skin.xml file, and the parsing engine uses this to build the correct string in the .ascx file.
The .ascx code you want is:
  <dnn:SOLPARTMENU runat="server" separator="<%= SkinPath %>separator.gif" />
 
New Post
3/7/2007 7:31 PM
 
SamTanner, thanks for the reply.  Sorry for the delay in getting back.  I should have been more clear.  I tried the <![CDATA[]]/> junk only after trying what you suggested as a last ditch effort.  When I write what you suggest I end up with the image name between each item, so if I type separator="<%= SkinPath %>separator.gif" in the ascx page, i get "separator.gif" between each item.  If I type separator="<img src='<%= SkinPath %>separator.gif' />" in the ascx page I get what looks like a placeholder for the image, but if I right click and choose properties it has none.  If I type separator="<img src='separator.gif' />" in the ascx page i get the little red X that indicates the image can't be found, and if I right click it and choose properties it gives me the url of www.markkaptur.com/dnn/tabid/36/separator.gif which is no good.  Help!  thanks for the feedback, i know there has to be a way to do this.  btw, I am running DNN 4.4.1.
 
New Post
3/8/2007 6:55 PM
 
I may have steered you wrong, and for that I'm sorry.  I'll give you two examples of SolPartMenu separators here that absolutely work, and were done by me just this week:
First one:
.ascx:
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Display="Horizontal" SeparateCss="True" rootmenuitemrighthtml="&nbsp;" separator="&lt;img src=&quot;images/menuSep.jpg&quot;&gt;" separatorcssclass="MenuSep" />
.css:
.MenuSep {
background-image:url(menuSep.jpg);
padding:0px;
width: 5px;
}
.MainMenu_MenuBreak {
    height: 4px;
}

Second one:
.ascx:
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Display="Horizontal" SeparateCss="True" submenuitembreadcrumbcssclass="submenuitemselected" submenuitemactivecssclass="submenuitemselected" submenuitemselectedcssclass="submenuitemselected" separator="&nbsp;" separatorcssclass="MenuSep" rootmenuitemlefthtml="&nbsp;" rootmenuitemrighthtml="&nbsp;&nbsp;" />
.css:
.MenuSep {
background-color: #BC2525;
background-image:url(images/menu_break.gif);
background-position: center;
background-repeat: repeat;
width: 2px;
height: 34px;
color: white;
}
.MainMenu_MenuBreak {
    height: 34px;
    border-top: 1px solid #BC2525;
    border-right:  0px solid #BC2525;
    border-bottom:  1px solid #BC2525;
    border-left:  0px solid #BC2525;
}

Hope you can use something from this.
 
New Post
3/9/2007 9:45 AM
 

Sam,

Thanks for the detailed reply.  I will put one, or both into action and see what I get.  I appreciate your help.  I'll let you know what I get.  Thanks again.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Solpartmenu SeparatorSolpartmenu Separator


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