Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Apr 15, 2011 @ 08:39
    dominik
    0

    Hide Script folder in Backend

    Hello,

    How can i hide the "scripts" folder in Umbraco backend under "settings"? The scripts are directly edited with visual studio so i do not want that they can be edited from umbraco.

    Thanks

  • Daniel Bardi 927 posts 2562 karma points
    Apr 15, 2011 @ 08:44
    Daniel Bardi
    0

    You can hide the settings section from the user.. or you can edit the umbracoAppTree table (database) and place the scripts tree in the developer section.

  • dominik 711 posts 733 karma points
    Apr 15, 2011 @ 09:14
    dominik
    0

    Also the developer should not see the scripts folder. Just hide it out of umbraco.

     

     

  • Fergus Davidson 309 posts 588 karma points
    Apr 15, 2011 @ 09:27
    Fergus Davidson
    0

    i am not sure how to hide the folder, but could you not have all your scripts stored in another folder you just create in the root? this way scripts could still be added if required through the Umbraco interface.

  • dominik 711 posts 733 karma points
    Apr 15, 2011 @ 09:33
    dominik
    1

    I just set the property in the database to false like it is done for stylesheet property. Now it does not appear any more.

  • Fergus Davidson 309 posts 588 karma points
    Apr 15, 2011 @ 09:36
    Fergus Davidson
    0

    good tip, thanks for posting your own solution

Please Sign in or register to post replies

Write your reply to:

Draft