[Mapbender-users] two "tabs"-elements (mod_tab.php) in one GUI

Albert Polze A.Polze at mailbox.tu-berlin.de
Tue Apr 17 17:55:53 EDT 2012


Setup: mapbender_2.6.1


Dear List,

I'm trying to put two "tabs"-elements in one GUI. One "tabs"-element
contains the treeGDE the second contains Legend, print, etc.

I'm doing this be cause I need every vertical space of the monitor.
Therefore I need the function "expandable" from "tabs"-element-vars. 
I have a lot of layers from my WMS and without this function I can only use
static-hight for the treeGDE-div, which is not good be cause of different
monitors and resultions and without a static-hight the div from treeGDE
expands the whole GUI until the mapframe is out of sight be cause of
scrolling.

I think this is only possible by using two mod_tab.php files one for the
"tabs"-element for treeGDE and another for the rest. If both
"tabs"-elements" are pointed to the same mod_tab.php the gui is not working
correctly.

Unfortunately I cannot point the second "tabs"-element to another
mod_tab.php be cause mapbender denies permission after saving an edited
Javascript path (in ..."Anwendungselemente bearbeiten"...).
"/Security alert: You do not have the permission to use the specified
module-path./"
This confuses me as well.

I hope somebody can give me a hint.

Albert

-------------

Hallo Liste,

ich komm vor grübeln nicht zum schlafen. Ich möchte in meiner GUI zwei
"tab"-Elemente einbauen. Ein tab-element hat nur den Inhalt des treeGDE. Das
andere die Legende, Druckfunktion und weitere. 

Da ich sehr viele Layer in meinem WMS habe, benötige ich den vollen
vertikalen Platz vom Monitor. Hauptsächlich benötige ich die Funktion
"expandable" vom "tabs"-element-vars da ich die Höhe des treeGDE nicht
statisch festlegen will (verschiedene Monitorgrößen, Auflösungen) und auch
nicht möchte, dass das div des treeGDE bei großer Layeranzahl den Bereich
der GUI so erweitert, dass man durchs scrollen nicht mehr den mapframe
sieht. 

Ich vermute das läßt sich nur umsetzen wenn das "tabs"-element für den
treeGDE und das "tabs"-element für den Rest auf zwei unterschiedliche 
"mod_tab.php" zugreifen. Denn greifen beide auf die selbe Datei zu
zerschießt es mir meine GUI.

Leider kann ich nicht auf eine kopierte "mod_tab.php" zugreifen da mir
mapbender beim ändern das Javascript-Pfades in den Anwendungseintellungen
den Zugriff verweigert:"/Security alert: You do not have the permission to
use the specified module-path./" Was ich nicht ganz verstehe.

Kann mir jemand mit Denkanstößen helfen?

Albert

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/two-tabs-elements-mod-tab-php-in-one-GUI-tp4891910p4891910.html
Sent from the mapbender-users mailing list archive at Nabble.com.


More information about the Mapbender_users mailing list