[Cartoweb-users] CVS version Views and pot scripts

Pierre GIRAUD pierre.giraud at camptocamp.com
Wed Aug 10 13:32:40 EDT 2005

frequens a écrit :

>I have a user x2x with a role admin both highlevel and project specific
>My client.ini Views section in cartoweb/client_conf
>; Views management
>viewOn = true
>viewStorage = file
>viewablePlugins = location, layers, query, outline
>viewMetas = author
>;viewDsn = pgsql://www-data@localhost/cw3_test
>viewAuth = admin
>viewSavedRequest = someRequestVarname
>By folder you meant a Tab which should have appeared along other tabs
>like Layers, Print, About...
>Or am I missing something ;-)
>Cartoweb-users mailing list
>Cartoweb-users at lists.maptools.org
You're right, there should be a tab for views.
You must have something like following in your cartoclient.tpl template:

{if $views|default:''}<li id="label4"><a 

in your div id=tabnav1.

    {if $views|default:''}
    <div id="folder4" class="folder">
    <!-- end of folder4 -->

in your div id= container.

You'll also need a call to the corresponding javascript file :

  {if $views|default:'' || $viewsList|default:''}<script 
type="text/javascript" src="{r type=js 

Try a diff between the cartoclient.tpl you modified in your project and 
the main one (updated from CVS) not to forget any view element.



More information about the Cartoweb-users mailing list