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 ...5.6.1 - Hiding Host from Menu breaks the page5.6.1 - Hiding Host from Menu breaks the page
Previous
 
Next
New Post
2/28/2011 8:23 PM
 
Just verified this with a fresh install (after having to nuke and restart a project that was 95% complete previously).

Simply, I usually choose to have the Host and Admin pages set to "NOT display in menu" (it's confused a couple of my customers). Here's the thing. For Admin it's fine, when I apply the change to the Host page (parent of all host settings pages). The "Host" link in the control panel stops working, and for some reason "Host" appears as a regular page at the beginning of the Pages hierarchy list. The page isn't displayed in the recycle bin, and I haven't seen any way to undo this, aside from a complete reinstall of DNN.

Wells Doty Jr
Online Content Development
 
New Post
2/28/2011 9:08 PM
 
Wells,

That is a known issue (DNN-1478) in 5.6.1 when editing and updating any of the the tab settings for the top level Host page causes the PortalID of the Host Page to revert to 0 rather than being NULL as required for it to be a Host page. To confirm that this is the issue, run the following database query in SSMS or other similar tool being sure to replace dbo. with your installations databaseOwner value and DNN_ with the objectQualifier value (which may be an empty string) as defined in your web.config file:

SELECT PortalID, TabName, TabPath
FROM dbo.DNN_Tabs
WHERE TabPath Like '//Host%'

All PortalID's returned by this query should be NULL. I suspect that the one for the top-level Host page (TabPath of //Host) will be 0.

To correct you may either do so manually while in SSMS or run the following SQL to reset all Host page PortalID's to NULL:

UPDATE dbo.DNN_Tabs
   SET PortalID=Null
WHERE TabPath Like '//Host%'

Again, be sure to replace dbo. and DNN_ with your intallations databaseOwner and objectQualifier values.

This issue is marked as complete in the roadmap for DNN 5.6.2 due for release in mid-March or so.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/28/2011 9:09 PM
 
Try:
--Find it

If  Exists(SELECT 1 FROM Tabs WHERE TabPath Like ‘//Host%’ AND PortalID Is Not Null)

–Fix it

UPDATE  Tabs SET PortalID= Null WHERE TabPath Like ‘//Host%’ AND PortalID Is Not NULL

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...5.6.1 - Hiding Host from Menu breaks the page5.6.1 - Hiding Host from Menu breaks the page


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