<br><font size=2 face="sans-serif">Bill,</font>
<br><font size=2 face="sans-serif">I was able to substitute my own text
in for the 'loading msg' parameter. But when I try to insert an animated
gif, all that's displayed is the path of the gif.</font>
<br><font size=2 face="sans-serif">Is this because the Loading msg parameter
somehow only recognizes the value as being a string of text and not an
animation?</font>
<br>
<br><font size=2 face="sans-serif">Here is the code:</font>
<br><font size=2 face="sans-serif">echo "<param name=\"LOADING_MSG\"
value=\"/images/spinner.gif\">";</font>
<br>
<br><font size=2 face="sans-serif">So my loading message parameter only
displays: /images/spinner.gif - as opposed to the actual
animated gif.</font>
<br><font size=2 face="sans-serif">Any ideas?</font>
<br>
<br><font size=2 face="sans-serif">Thanks.</font>
<br>
<br><font size=2 face="sans-serif">Kevin<br>
</font><font size=5 color=blue face="Times New Roman"><br>
______________________________</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"William Bronsema"
<wbronsema@dmsolutions.ca></b> </font>
<br><font size=1 face="sans-serif">Sent by: <maplab-users-bounces@lists.maptools.org></font>
<p><font size=1 face="sans-serif">06/03/2005 09:50 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"'Roberto Horst'" <robertohorst@gmail.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif"><maplab-users@lists.maptools.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [maplab-users] Change "page
loading...please wait" text</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt><p align=\"left\"><b><font
face=\"Arial\" size=\"2\">GFI MailSecurity's HTML
threat engine found HTML scripts in this email and has disabled them.</font></b></p>Roberto,<br>
<br>
To make the change global for your maplab installation (i.e. all<br>
applications produced by GMapFactory will have the new message) go to<br>
/gmapfactory/htdocs/gmapfactory/templates/app_php_file.php<br>
<br>
Look for the function called "drawMainMap" (around line 656).
There is a<br>
chunk of code that looks like this (around line 685):<br>
<br>
// draw the map as a ROSA applet<br>
echo "<td width=".$oMap->width." height=".$oMap->height.">\n";<br>
echo "<Xpplet name=\"RosaApplet\" archive=\"".ROSA_FILE."\"
".<br>
"code=\"Rosa2000\" width=\"".$oMap-><!--width."\"
height=\"".
$oMap->height."\" MAYSCRIPT>\n";
echo "<param name=\"TB_POSITION\" value=\"right\">\n";
echo "<param name=\"TB_ALIGN\" value=\"top\">\n";
echo "<param name=\"IMG_URL\" value=\"".$urlMainMap."\">\n";
echo "<param name=\"INP_FORM_NAME\" value=\"main\">\n";
Add the parameter to this chunk of code. i.e.
echo '<param name="LOADING_MSG" value="New loading message">';
To update an existing application, open the <app_name>.php file and
look for
the same code block.
HTH,
Bill
William A. Bronsema, C.E.T.
Software & Applications Development,
DM Solutions Group Inc.
e-mail: wbronsema@dmsolutions.ca
Web : http://www.dmsolutions.ca
Phone : (613) 565-5056 ext.25
Fax : (613) 565-0925
________________________________________________
> -----Original Message-----
> From: maplab-users-bounces@lists.maptools.org [mailto:maplab-users-<br>
> bounces@lists.maptools.org] On Behalf Of Daniel Morissette<br>
> Sent: Thursday, June 02, 2005 3:11 PM<br>
> To: Roberto Horst<br>
> Cc: maplab-users@lists.maptools.org<br>
> Subject: Re: [maplab-users] Change "page loading...please wait"
text<br>
> <br>
> Roberto Horst wrote:<br>
> > In which file are these parameters???<br>
> ><br>
> <br>
> I don't know, but it shouldn't be too hard for you to find: look for
the<br>
> code that generates the ROSA applet tag in the source files in the<br>
> directory where your GMapFactory app has been created. Once you find
it<br>
> then you need to insert a line for the LOADING_MSG parameter (or edit<br>
> the existing one if there is one).<br>
> <br>
> Daniel<br>
> <br>
> <br>
> <br>
> > On 6/1/05, Daniel Morissette <dmorissette@dmsolutions.ca>
wrote:<br>
> ><br>
> >>kgrootendorst@baird.com wrote:<br>
> >><br>
> >>>Can anybody tell me where I can change the "Page
loading... Please<br>
> wait"<br>
> >>>text that displays while waiting for a map to draw?<br>
> >>>Specifically, I'd like to substitute an animated gif for
the text. But<br>
> >>>I'm not sure where I can find the text.<br>
> >>><br>
> >><br>
> >>I presume you are referring to the "Loading map... Please
wait." message<br>
> >>that you get in GMapFactory apps?<br>
> >><br>
> >>If I remember correctly, I don't think GMapFactory allows
you to change<br>
> >>this through the GUI, but you can edit the generated code
and change the<br>
> >>message by adding/changing the LOADING_MSG parameter to the
ROSA applet<br>
> >>in the page. See:<br>
> >>http://maptools.org/rosa/index.phtml?page=rosa_params.html<br>
> >><br>
> >>Daniel<br>
> >>--<br>
> >>------------------------------------------------------------<br>
> >> Daniel Morissette
dmorissette@dmsolutions.ca<br>
> >> DM Solutions Group
http://www.dmsolutions.ca/<br>
> >>------------------------------------------------------------<br>
> >>_______________________________________________<br>
> >>Maplab-users mailing list<br>
> >>Maplab-users@lists.maptools.org<br>
> >>http://lists.maptools.org/mailman/listinfo/maplab-users<br>
> >><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Maplab-users mailing list<br>
> > Maplab-users@lists.maptools.org<br>
> > http://lists.maptools.org/mailman/listinfo/maplab-users<br>
> ><br>
> <br>
> <br>
> --<br>
> ------------------------------------------------------------<br>
> Daniel Morissette
dmorissette@dmsolutions.ca<br>
> DM Solutions Group
http://www.dmsolutions.ca/<br>
> ------------------------------------------------------------<br>
> _______________________________________________<br>
> Maplab-users mailing list<br>
> Maplab-users@lists.maptools.org<br>
> http://lists.maptools.org/mailman/listinfo/maplab-users<br>
<br>
<br>
_______________________________________________<br>
Maplab-users mailing list<br>
Maplab-users@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/maplab-users<br>
</tt></font>
<br>