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

Gambin Dejan Dejan.Gambin at pula.hr
Mon Mar 12 02:04:37 EST 2007


Ok Andrew...by the way I didn't implement the whole widget, only
modified a part of it to add the new possibilities :-))

regards, dejan

> -----Original Message-----
> From: Andrew Parker [mailto:aparker1969 at yahoo.com] 
> Sent: Monday, March 12, 2007 1:22 AM
> To: Gambin Dejan
> Subject: Re: [Chameleon] Building the CustomLegendTree from 
> Widget Magic causesa Parse Error. Why?
> 
> Yes, I will send you the files in about a week.  I decided 
> try the xml legend.  I have a class project due on March 20th 
> and wanted to have a nice looking legend.  However, I can't 
> wait to implement the widget you wrote!  Email you soon.
> 
> Thanks,
> Andrew.
> 
> ----- Original Message ----
> From: Dejan Gambin <dejan.gambin at pula.hr>
> To: Andrew Parker <aparker1969 at yahoo.com>
> Cc: chameleon at lists.maptools.org
> Sent: Saturday, March 10, 2007 11:59:40 PM
> Subject: RE: [Chameleon] Building the CustomLegendTree from 
> Widget Magic  causesa Parse Error. Why?
> 
> 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
> > 
> 
> 
> 
> 
> 
> 
>  
> ______________________________________________________________
> ______________________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews 
> at Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121
> 



More information about the Chameleon mailing list