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, ...Disabled tag with DDR MenuDisabled tag with DDR Menu
Previous
 
Next
New Post
8/23/2011 1:59 PM
 
Geoffrey Morton-Haworth wrote:
Hi Cathal/Francisco

I have the same problem as Francisco. Am I missing something? Is this a bug in the Dark Knight skin that will be fixed in 6.0.1?  Or is it a feature?

I've checked out the Wiki. But I am less familiar with xslt than Francisco. 

Could you or Francisco  help me with the precise code in DNNMega.xslt needed to fix this?

Kind regards

Hi Geoffrey,

Notice the conditional <xsl:when test="@enabled = 1">, and the tag <xsl:otherwise> which specifies only the tab icon and name to be shown. I just wrote an <a> tag (with no actual link) to get the same class applied as in the enabled tabs. The whole code reads:
<xsl:when test="@enabled = 1">
          <a href="{@url}">
            <span>
                <xsl:if test="@icon">
                    <img src="{@icon}" class="mmIcon" />
                </xsl:if>
                <xsl:value-of select="@text" />
                <xsl:if test="node and $nodeType = 'root'">
                    <img src="{$ManifestPath}/Images/child-arrow.png" class="mmArrow" />
                </xsl:if>
            </span>
          </a>
        </xsl:when>
        <xsl:otherwise>
          <a href=" void();">
            <xsl:if test="@icon">
              <img src="{@icon}" class="mmIcon" />
            </xsl:if>
            <span>
              <xsl:value-of select="@text" />
              <xsl:if test="node and $nodeType = 'root'">
                <img src="{$ManifestPath}/Images/child-arrow.png" class="mmArrow" />
              </xsl:if>
            </span>
          </a>
        </xsl:otherwise>

I'm sure this can ve solved in a much more elegant way, but this is working ;-)

Best regards,
Francisco

 
New Post
8/30/2011 1:06 PM
 
Many thanks Cathal/Francisco

Everything I needed

:-)

Geoffrey

Geoffrey Morton-Haworth www.yalaworld.net
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Disabled tag with DDR MenuDisabled tag with DDR Menu


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