[Cartoweb-users] Outline
Oliver Christen
oliver.christen at camptocamp.com
Tue Feb 19 06:22:53 EST 2008
Hi
thats because you have used the demoCW3 as base for your project.
the custom.ajax.js was needed because the target element for the layers and
outline plugin are different from the id specified by default in the
corresponding plugin's javascript.
simply remove the AjaxPlugins.Outline.outlineFolderId = 'folder5'; line from
the file
Note: this limitation was removed in the cvs version some time ago and file
such as custom.ajax.js are no longer needed to achieve the same result
regards
Oliver
> Hi!
> I have disabled outline plugin in my project but I have this javascript
> error:
>
> AjaxPlugins.Outline has no properties
> AjaxPlugins.Outline.outlineFolderId = 'folder5';
>
> in custom.ajax.js
>
> I've thought to comment this line:
> AjaxPlugins.Outline.outlineFolderId = 'folder5';
>
> because in my cartoclient.tpl i've written:
>
> ...
> {if $outline_active|default:''}<li id="label5"><a
> href="javascript:ontop(5)">{t}Outline{/t}</a></li>{/if}
> ...
>
> <!-- folder 5 starts here -->
> {if $outline_active|default:''}
> <div id="folder5" class="folder">
> <br />
> {if $outline_active|default:''}
> {$outline}
> {/if}
> </div>
> {/if}
> <!-- end of folder 5 -->
>
>
> --
> Ing. Fabio D'Ovidio
>
> iQuadro - Informatica e Innovazione s.r.l.
> Via C. Pisacane 23, Aversa (CE) - 81031
> Web : www.ii2.it
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list