[Cartoweb-users] missing legend icon
Sam Young
samnyoung at hotmail.com
Wed Jan 30 11:51:13 EST 2008
I am having trouble with my layer list icons and out of range icons. I found the earlier post about this and tried the code posted, but I still seem to having the same problem. Here is the code in my layer.tpl file:
{capture name=icon}
{if $element.layerIcon}
<img src="{if $element.layerOutRange > 0}"../projects/sampleproject/htdocs/gfx/layout/nap.png"
{elseif $element.layerOutRange < 0}"../projects/sampleproject/htdocs/gfx/layout/nap.png"
{else} "$element.layerIcon"{/if}" alt="" class="pic" />
{/if}
{/capture}
Any help would be greatly appreciated.
Thanks,
Sam
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080130/b08116b0/attachment.html
More information about the Cartoweb-users
mailing list