Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08/12/2006 10:04 AM by  Peter Donker
Removing the Subscribe and Unsubscribe buttons and text
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Ron McMahon
New Member
New Member
Posts:2


--
08/11/2006 10:24 PM

    I am not able to find out how to remove the Subscribe and Unsubscribe text and buttons from a folder display.  Our users will have no ability to subscribe, move or remove any files.  I've been able to remove the collections, etc. icons but the Subscribe and Unsubscribe remain.  The only icon I want to see is the Folder Up one.

    Thanks for your help!

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    08/11/2006 11:34 PM

    Check out the ascx file and not that each button has it's visibility. The control definition by default looks like this:

     

    ButtonVisibility-SingleItemView="False"
    ButtonVisibility-ShowCopyCutPaste="True"
    ButtonVisibility-ShowExtendedCommands="True"
    ButtonVisibility-CommandFolderUpShown="view"
    ButtonVisibility-CommandNewFolderShown="edit"
    ButtonVisibility-CommandNewItemShown="edit"
    ButtonVisibility-CommandDownloadShown="False"
    ButtonVisibility-CommandCopyShown="edit"
    ButtonVisibility-CommandCutShown="edit"
    ButtonVisibility-CommandPasteShown="edit"
    ButtonVisibility-CommandDeleteShown="edit"
    ButtonVisibility-CommandHardDeleteShown="admin"
    ButtonVisibility-CommandUndeleteShown="admin"
    ButtonVisibility-CommandViewShown="view"
    ButtonVisibility-CommandEditShown="edit"
    ButtonVisibility-CommandRollBackShown="edit"
    ButtonVisibility-CommandLockShown="edit"
    ButtonVisibility-CommandUnlockShown="edit"
    ButtonVisibility-CommandApproveShown="approve"
    ButtonVisibility-CommandSubscribeShown="view"
    ButtonVisibility-CommandUnsubscribeShown="view"
    />

    You are referring to the last two. The value can be set to True (show always), False (show never), View (for those who can view), Edit (for those who can edit), Approve, Admin. You'll want to set them to false.

    Ron McMahon
    New Member
    New Member
    Posts:2


    --
    08/11/2006 11:45 PM
    Thanks Peter! I am not sure which specific .ascx file to update (you didn't say wich one), so I updated these ones that had the matching setting:

    ViewCategory.ascx
    ViewCollection.ascx
    ViewDetails.ascx
    ViewSubscriptions.ascx
    Search.ascx
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    08/12/2006 10:04 AM
    The ascx pages are pretty self-explanatory: ViewCategory for the screen where you see the contents of a category, ViewCollection for viewing a collection (the default screen), ViewDetails for viewing the details of a single item, ViewSubscriptions when viewing your subscription list, and Search when viewing search results. These are all different screens and the buttons are managed on each one seperately.
    Note that your changes are 'installation-wide', i.e. they show up in all portals.
    You are not authorized to post a reply.