you must use ASCII characters (reduced to a-z letters, numbers, 
underscore) for them since they are used as keys in associative PHP 
arrays. So define them as

$categories['cat_class1'] = array("xyz", "utyt");
$categories['cat_class2'] = array("asd", "qwerty");

and add in language_br.php (and the other language files for 
multilingual applications) entries like

$_sl['cat_class1'] = 'Classificação1';
$_sl['cat_class2'] = 'Classificação2';

I think that ASCII characters are also required for layer names. One 
should regard layer and category names like variables, so just follow 
naming conventions of variables in PHP/Javascript.

armin

Carlos Timóteo wrote:
> Hello.
> 
> I'm trying to use your new version of Pmapper 3.1.0.
> 
> I need to use "Classificação1" or "Classificação2" or
> "Classificação_1" or "Classificação_2" as
> categories or layer names.
> 
> But when i try this in my mapfile and php_config.php, the TOC is not
> working, and shows no layers below.
> 
> In the Metadata i can use "Classificação1" or "Classificação2" but not
> in layer name or categories.
> 
> Is there any way to fix this ?
> 
> Thanks for you work.
> 
> Thanks.
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to