[Chameleon] Building the CustomLegendTree from Widget Magic causesa Parse Error. Why?

Dejan Gambin dejan.gambin at pula.hr
Sun Mar 11 01:59:40 EST 2007


HI Andrew,

I wrote the steps so I'll try to help you. Since I have modified some other
stuff in my LegendTemplate.widget.php, can you please send me your
LegendTemplate.widget.php file? Maybe it is even better to send all the
widget files.

regards, dejan 

> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org 
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of 
> Andrew Parker
> Sent: Friday, March 09, 2007 3:59 PM
> To: chameleon at lists.maptools.org
> Subject: [Chameleon] Building the CustomLegendTree from 
> Widget Magic causesa Parse Error. Why?
> 
> I am following the steps referenced on the 
> Wiki>WidgetMagic>CustomLegendTree.  As I began to insert the 
> code, I tested my map at each step.  The legend_template is 
> working (or at least is looks like it is).  But when I add 
> the code in the LegendTemplate.widget.php file, I receive the 
> following error:
> 
> Parse error:  parse error, unexpected ')', expecting '&' or 
> T_VARIABLE in 
> C:\ms4w\apps\chameleon\htdocs\widgets\LegendTemplate\LegendTem
plate.widget.php on line 502
> 
> No matter where I insert the function calls, I receive the 
> error.  I have not modified the template.html or *.map file.  
> Do I need to add some code to these files?
> 
> I am new to Chameleon, JavaScript, PHP, and HTML, so easy to 
> follow responses would be much appreciated.  
> 
> Thanks.
> 
> Andrew.
> 
> 
> 
> 
> 
> 
>  
> ______________________________________________________________
> ______________________
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
> http://answers.yahoo.com/dir/?link=list&sid=396546091
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 



More information about the Chameleon mailing list