Unclickable Menu Tabs


Author Message
Andrea Girelli

Posted: 12/29/2009
Quote message 

Hey!

I cannot figure out how to disable a top-level menu item, while leaving all the child items usable?

It's quite simple by using non-artisteer skin, viceversa if I use the skin I've created it seem impossibile. Actually it half-works: if I click "disable" in the page setting and afterwards I click on my top-level tab, dnn redirects on the homepage.

I would like that clicking on the tab will keep the user on the page he is.

hope you can help me.
Bye
Andrea
 
name

Posted: 1/5/2010
Quote message 

Artisteer still hasn't fixed that bug. It doesn't support the disabled tab feature of DNN. Been waiting on it myself for months.
 
mwoffenden

Posted: 1/5/2010
Quote message 

Quote name:

Artisteer still hasn't fixed that bug. It doesn't support the disabled tab feature of DNN.

One quick workaround for this is to install any other non-Artisteer page skin (temporarily) on your page, disable the Page, then re-apply the Artisteer skin to the page.

 
Jerel

Posted: 1/5/2010
Quote message 

I submitted a ticket for this. This is the code they gave me to fix it. THey said it would make the next release. I have not checked the last roll-up they released.

1.
Open your ArtMenuSO.ascx.vb file and find theю RenderMenuItem function.

2.
Change this code line:

itemHtml.Append(tabInfo.FullUrl)

to the following code block:

If tabInfo.DisableLink Then
itemHtml.Append("#")
Else
itemHtml.Append(tabInfo.FullUrl)
End If

 
mwoffenden

Posted: 1/5/2010
Quote message 

Worked great here - thanks! :-)
 
Andrea Girelli

Posted: 1/8/2010
Quote message 

10x guys, it works a lot! :-D :-D
 
John Willis

Posted: 9/4/2011
Quote message 

I have version 3.0.0.39952 . How can i make the top menu not clickable?