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

Bring2mind Forums

Hide Cut, Copy and Paste actions in menu and right click
Last Post 12/15/2010 3:39 PM by Peter Donker. 9 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Info Lab
New Member
New Member
Posts:9


--
10/27/2010 10:54 AM

What should I do to hide Cut, Copy and Paste actions in menu and right click context menu?

Info Lab
New Member
New Member
Posts:9


--
11/02/2010 10:17 AM

Hi Peter,

Please let us know if it's possible to hide items in menu and right click in ViewCollections.ascx form.

Chrickel
New Member
New Member
Posts:44


--
11/02/2010 2:21 PM
Hi Info Lab,

that's quite easy:

Navigate to /Portals/In this file replace all occurencies of true to false

Save the file as "SmallMenu.resources" or any name you like.
Then open your DMX page and open the module settings.
At the "Menu" section select the "SmallMenu" and here you go.

-Chris
Chrickel
New Member
New Member
Posts:44


--
11/02/2010 2:26 PM

Whoops - there seems to be some code being omitted :-(

Again:

Navigate to (your DNN installation path)/Portals/(your Portal Id)/DMX/Menu and open the file DefaultMenu.resources.

In this file replace all occurencies of (xsl:with-param name="includeCutCopy")true to (xsl:with-param name="includeCutCopy")false

Then save the file as "SmallMenu.resources"... and read on in my first post :-)

And of course, please replace any bracket to its corresponding > or <.

-Chris

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/02/2010 5:30 PM
Thanks Chris ... and I hope to add code highlighting here one day.
Jacek
New Member
New Member
Posts:1


--
11/30/2010 4:17 PM
I am using IE8 and after performing a copy and paste operation the file is not visible until the user clicks the folder to refresh the view. I also have a problem with deleting a file from a directory with many files. All files disappear when a single file is deleted – user needs to click on the folder for the files that were not deleted to appear.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/02/2010 10:31 AM
Hi Jacek,

In the Ajax UI you may see some timing issues in synchronization depending on the speed of the server and the connection. The system is tuned to reflect the situation correctly under most normal circumstances. It is possible that due to delays you don't see deletes/moves immediately until a refresh of the grid. We're looking at ways on how to improve this but have not found the definitive solution to it yet.

Peter
Info Lab
New Member
New Member
Posts:9


--
12/07/2010 4:32 AM
Thank you. It works :)
Sergey Gimgin
New Member
New Member
Posts:7


--
12/11/2010 2:56 PM
What if I want to allow cut and copy menu items only to admins?
Thank you.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/15/2010 3:39 PM
Hi Sergey,

You could adjust the menu to do that for the main UI. But note this is just hiding. There is no way to enforce it as a permission of some sort.

Peter
You are not authorized to post a reply.