check the php error log and also for JS errors, e.g. with 'Firebug' FF 
extension. In most cases non expected behaviour should cause some 
entries there.

something that directly is obvious is the config entry

defGroups = Ortofoto

where Ortofoto is no layer mentioned in allGroups.

armin

Lara Perez Bessone wrote:
> Hi, Armin:
>  
> I suppose I'm making something wrong and this is very stupid, but after 
> looking for a solution in the mail archive lists and in the examples, 
> I'm not able to doing right. I want my page looks like frame example. 
> But I'm getting two differents things: under categories, I only see one 
> layer, when I have defined 4 or 5 at least under every category, and the 
> lap "legend" dosn't  appears. ¿Can you guide me, please?
>  
> In php.ini:
> //**
>  * Definition of categories for legend/TOC
>  */
> $categories['cat_raster'] = array("IMAGENES");
> $categories['cat_cartografia'] = array("CARTOBASE");
> $categories['cat_callejero'] = array("CALLEJERO");
> $categories['cat_admin']  = array("PGOU");
> $categories['cat_catastro'] = array("CATASTRO");/
> // 
> /$_SESSION['categories'] = $categories;/
> // 
> In config.ini:
> /==========================================================================
> ;
> ; LAYERS/GROUPS DEFINED MANUALLY
> ;
> ;==========================================================================/
> // 
> /; ALL groups displayed in TOC in this order
> ; - without definition, the order from map file will be taken.
> ; - separated with commas
> ; if INI setting "useCategories = 1" (see below),
> ; then define the categories in php_config.php
> ; === RECOMMENDED ===
> ;--------------------------------------------------------------------------
> allGroups = IMAGENES,PGOU,CARTOBASE,CALLEJERO,CATASTRO/
> // 
> 
> /; Default Groups (visible at start)
> ; === RECOMMENDED ===
> ;----------------------------------
> defGroups = Ortofoto/
> // 
> 
> /; Groups/Layers that shall be mutually disabled
> ; if one is clicked, the other ones will be disabled
> ;-------------------------------------------------------------
> ;mutualDisableList = Clasificacion,Calificacion,Ortofoto/
> // 
> /....../
> 
> /;========================================================================
> ; LEGEND: TOC/LEGEND STYLES, CATEGORIES, ICON SIZE AND FORMAT
> ;------------------------------------------------------------------------/
> // 
> /; Categories Style in TOC:
> ; (only has effect when useCategories = 1)
> ; - tree or flat
> ;-----------------------------------------
> catStyle = tree
> ;catStyle = flat/
> // 
> /; Group/Layer Style:
> ; - tree or flat
> ;-----------------------------------------
> grpStyle = tree
> ;grpStyle = flat/
> // 
> /; Legend Style:
> ; - attached: together with TOC
> ; - swap: swapping with TOC
> ;-----------------------------------------
> legStyle = attached
> ;legStyle = swap/
> // 
> /; Link of categories and groups
> ; - 0: in case of tree style name is link for toggle tree
> ; - 1: enable help/info for group name as link
> ; - 2: by adding an info icon
> ;   both using the functions
> ;   showCategoryInfo() & showGroupInfo() in custom.js
> ;---------------------------------------------------------
> ;catInfoLink = 0
> grpInfoLink = 0/
> // 
> /; Use categories to thematically group layers
> ; categories defined in incphp/custom.php
> ; works for TOC setting 'flat' and 'tree'
> ; 1 = yes,  0 = no
> ;--------------------------------------------
> useCategories = 1/
> // 
> /; use checkboxes for en/disable complete categories
> ; with child groups/layers. 1 = yes,  0 = no
> ;--------------------------------------------------
> catWithCheckbox = 1
> /
> 
> ------------------------------------------------------------------------
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to