[Cartoweb-dev] preselect tab / pdfexport

Oliver Christen oliver.christen at camptocamp.com
Mon Feb 19 09:09:55 EST 2007


Hi Christoph,

There is at the moment no configuration parameter to select the folder by 
default. The first folder to be displayed when a session start is always the 
n°1.
If your new tab is, for exemple, 6, simply change its label and folder id to 
1, and change the original tab 1 label and folder to 6.
The numeric order of the tab is not really important, as long as it starts 
at 1 and there is no gap in the numbering or identical numbers.

For exportpdf, I need to ask my colleagues, as I dont know

regards
Oliver

> Hi,
>
> I added a news tab (like themes, search, ...) in CartoWeb where I show
> informations for the user. I added this tab on the very last position.
> At the startup of the CartoWeb project I would like to preselect this
> tab instead of the tab themes. Where can I do this? In some .ini or .js
> file or the main cartoclient.tpl file?
>
> An other question is about the exportPdf plugin. In my project logged
> users have the right to print high resolution maps. This is the only
> diference to the anonymous user. The allowedRoles in CartoWeb is set for
> the whole format. Is there a possibility to set the allowedRoles for the
> maxResolution?
> If I create 2 formats, I don't want to show the low resolution map
> (anonymous user) for the logged user. But I need a common
> general.defaultFormat for logged and anonymous users. If not, CartoWeb
> throws an error. Any idea to manage this?
>
> Thanks for your help
>
> Christoph Lauber
>
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
> 



More information about the Cartoweb-dev mailing list