Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Question about Unpublished Catagory

  1. #1
    Selvedge is offline Junior Member
    Join Date
    Jul 2009
    Posts
    13

    Default Question about Unpublished Catagory

    I have unpublished a few subcategories until I get all the product available. I now cannot view the unpublished catagories in the left nav bar. I can, however see them when I go to map a new product. How do I get them back?

  2. #2
    Dusty is offline Member
    Join Date
    Jun 2009
    Posts
    176

    Default

    If you remember the name of your orphaned entities you can use the admin section search to find them. If you're unsure of the names you can use a simple SQL query to find your orphaned products:
    Code:
    SELECT CategoryID, [Name] FROM Category WHERE ParentCategoryID IN(
    SELECT CategoryID FROM FROM CategoryID WHERE Published = 0)
    Dusty
    ASPDotNetStorefront Staff

  3. #3
    Mike The Last Boyscout is offline User
    Join Date
    Nov 2008
    Posts
    254

    Default

    *Please ensure that you have a full, functioning backup before making any code modifications or file changes to your AspDotNetStorefront website, or running any ad-hoc queries against your database. Improperly making code modifications or running queries against your database can cause your website to be non-functional and/or your data to be permanently lost. As part of your disaster recovery plan, you should make regular backups of all files and data, and perform periodic checks to ensure your backups function properly. If you are not sure if your data is adequately protected, contact an IT professional or your hosting provider for assistance.

  4. #4
    daghb is offline Junior Member
    Join Date
    Feb 2008
    Posts
    18

    Default

    This is pretty hopeless. If the point was to delete a category, I'd delete them. To "unpublish" means to withdraw the category from showing it to end users, not removing them entirely from view in the admin module. Please remedy this in a better way.

  5. #5
    daghb is offline Junior Member
    Join Date
    Feb 2008
    Posts
    18

    Default

    A quick workaround: If you insert a new "test" category at the same level as the ones you have unpublished, the unpublished ones will show briefly in the category tree when the category has been added. Delete the test category afterwards.

  6. #6
    daghb is offline Junior Member
    Join Date
    Feb 2008
    Posts
    18

    Default

    Beware: Deleting a category doesn't work either...