How do I disable the Panel Actions menu?
Is there a way to completely turn off the Panel Actions menu, particularly for the handheld, within a viewer? In other words, I don't want to globally remove it. I just want to remove it for a particular viewer because those functions are unnecessary for the purpose of the viewer.
I'm aware of the context menu configuration in Manager but after removing various items it doesn't seem to have any effect. Perhaps I'm just not editing the correct context menu?
0
-
Hi Brian,
Here's how I got that working on my server:
1) Modify the following file:
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\Charlotte\Viewers\test123\VirtualDirectory\Resources\Styles\Custom\Handheld.css
2) Add the following text:
.panel-header {
display: none;
}
3) Save the file, clear your cache, and reload your viewer
That should do it!
Thanks,
Danny0 -
Daniel,
Hmm. I added the code block, cleared my cache, and the Actions Panel is still present. I tested on iOS and Android and also on phones that have never loaded this particular app before (so nothing in cache). All still have the panel.
Any suggestions regarding what might be preventing that code from overriding the default .css?0 -
Hi Brian,
Strange, it works OK for me. Can you please open a support case, and link to this post, so we can assist you directly?
Thanks!
Danny0
Please sign in to leave a comment.
Comments
3 comments