Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • RoboDog 21 posts 41 karma points
    Aug 25, 2010 @ 12:25
    RoboDog
    0

    Tab not being hidden

    Ok so i installed the package ive added my tab name and which user group to apply the rule two but the tab is still visible any ideas ?

  • Tim 1193 posts 2675 karma points MVP 2x c-trib
    Sep 02, 2010 @ 14:57
    Tim
    0

    Hi,

    Are you logged in as an adminstrator? The tabs are always visible to the administrator, regardless of the rules. It's also not possible to hide the properties tab in the current version. If that's not the problem, can you give me a quick description of the tab names you are using, and post your config file here so I can see what the issue is please?

  • Richard Eyres 98 posts 580 karma points
    Sep 14, 2010 @ 09:50
    Richard Eyres
    0

    I have installed this package on a 4.5.1 install of Umbraco. I have set two tabs to be hidden from writers and editors (basically, am quickly testing the package).

    I then log in as an Editor user and the tabs are still being displayed.

    <?xml version="1.0" encoding="utf-8" ?>
    <tabHider>
      <hideRules>
        <!--
        For each tab that you want to hide, include an entry here, the format is:

        <add tabName="" hideFrom="" docTypeAliases="" />

        tabName = the name of the tab to hide
        hideFrom = comma separated list of users to hide the tab from
        docTypeAliases = comma separated list of doctypes the hide applies to, leave empty or omit to have the rule apply to the tab on all doc types
        -->
        <add tabName="Metadata" hideFrom="writer,editor" />
        <add tabName="Content" hideFrom="writer,editor" />
      </hideRules>
    </tabHider>

     

    The two tabs are spelt correctly and have the same case.

  • Tim 1193 posts 2675 karma points MVP 2x c-trib
    Sep 14, 2010 @ 11:49
    Tim
    0

    That's odd. I've just set up a 4.5.1 install to see if I can replicate this one and its hiding the tabs ok for me.

    The only thing I can think of is that you may need to recycle the app pool to get the config changes to show up. Try opening and saving your web.config file, and then see if the tabs are hidden when you refresh the page.

    Are the tabs showing up with empty content, or are they just showing up in their entirety?

    If they're showing up in their entirety, it could be that the event listener isn't attaching properly for some reason. You could try installing this package: http://our.umbraco.org/projects/event-viewer  and see if the tabhider dll is correctly registered to pick up the document load event.

  • Richard Eyres 98 posts 580 karma points
    Sep 14, 2010 @ 12:07
    Richard Eyres
    0

    Thank you for your reply Tim

    I have recycled the app pool - and the issue reamins.

    The tabs are displayed in their entirety. I have installed the package you mentioned, and the following was dispalyed only (for AttackMonkey):

    umbraco.presentation.masterpages.umbracoPage

    Load


    Method: umbracoPage_Load => AttackMonkey.TabHider.DLL
    (Namespace: AttackMonkey.TabHider.ApplicationBase)

     

    I will try it on a different installation. Maybe there is another package interferring with this in some manner.

  • Richard Eyres 98 posts 580 karma points
    Sep 14, 2010 @ 12:14
    Richard Eyres
    0

    I have just tested the package on another site (with very little packages on it). The tab is being hidden as expected. Therefore i assume that a package that we have installed is having an impact.

    I will spend sometime to figure out which package is the issue and will post here once i have located it.

  • Tim 1193 posts 2675 karma points MVP 2x c-trib
    Sep 14, 2010 @ 12:34
    Tim
    0

    Looks like the load handler is ok. Let me know what you find for the installed packages, if there is a conflict, I'll see if there's anything I can do to negate it!

    :)

  • dunc85 39 posts 42 karma points
    Oct 21, 2010 @ 13:51
    dunc85
    0

    Hi,

    did you ever manage to find a solution to this? I'm having the same trouble.

    I have the following packages installed, if that's what's causing the problem:

     

    Creative Website Starter
    CogPageReview
    Zip Upload
    F.A.L.M. Housekeeping
    Package name

     

     

  • Richard Eyres 98 posts 580 karma points
    Oct 21, 2010 @ 13:57
    Richard Eyres
    0

    I have not had the opportunity to fully work on this at the moment. It is on my list of every growing things to do soon.

  • Tim 1193 posts 2675 karma points MVP 2x c-trib
    Oct 21, 2010 @ 14:04
    Tim
    0

    Hi @dunc85,

    I've never been able to replicate this problem on any of the installs that I've set up to try and track this one down. I'll have a play with those 5 packages this weekend and see if one of those is the culprit. What version of Umbraco are you running? This is a bit of an odd one, as the tab hider is completely self contained, its not doing anything that should interact with any other packages.......

    Regards,

    Tim.

     

  • dunc85 39 posts 42 karma points
    Oct 21, 2010 @ 14:26
    dunc85
    0

    Hi,

    i'm on 4.0.3

  • Richard 2 posts 22 karma points
    Jan 19, 2011 @ 19:59
    Richard
    0

    I noticed an earlier reply that it is not possible to hide the properties tab in the admin section.  That is something I really need to do, is that something that will be in a future release?

    Anyone know of a way to do this currently without modifying the core?

    Thanks,

    Rich

     

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 20, 2011 @ 10:06
    Sherry Ann Hernandez
    0

    This is not working for me. Even if I try to restart the app pool the meta tab is still showing.

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 20, 2011 @ 10:16
    Sherry Ann Hernandez
    0

    If it's not working in your installation, try to remove the  docTypeAliases instead of keeping it blank. It works for me. :D

     

    Sherry

  • Richard 2 posts 22 karma points
    Jan 20, 2011 @ 19:25
    Richard
    0

    The docTypeAliases has been removed from the tabHider.config, but the default Properties Tab is still showing up.  (The Properties tab where you set Name, Template, Published At, Removed At). I would like a user to be able to log into the admin section and access a content tab, but not be able to change the values on the Properties Tab.

    Is this working incorrectly for me or is this not currently designed functionality?

     

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 20, 2011 @ 19:42
    Sherry Ann Hernandez
    0

    Yes it doesn't hide the properties tab. One why that Tim suggested is to use the axendo plugin to hide the properties. Though I haven't try uploading the latest copy to test it.

  • Tim 1193 posts 2675 karma points MVP 2x c-trib
    Jan 31, 2011 @ 10:18
    Tim
    0

    Hi @Richard, sorry, been away on holiday. The tab hider doesn't currently hide the properties tab, although that is something I'm thinking of adding in the not too distant future, hopefully!

    :)

Please Sign in or register to post replies

Write your reply to:

Draft