|
||||
[maplab-users] RE: [mapserver-users] How to get rid of stock creditsDean Gadoury gadoury@dmsolutions.caTue, 12 Nov 2002 10:27:15 -0500
|
--------------040208040204040600050001 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit That is a very good point, and is a better solution if you want to eliminate the line in all you applications, or put in one of your own. Just a note though, the line to edit may be different under different platforms and/or configurations. For example on my Windows system in MapLab version 2.0rc3-dev the line to edit is 365. For the sake of clarity here is the contents of that line: ."<font face=\"Arial, Helvetica, sans-serif\" size=\"1\" color=\"#999999\">this application was built using <a href=\"http://www2.dmsolutions.ca/webtools/\">GMapFactory</a></font>" Thomas P. Colson wrote: >By editing line 386 of "build_phtml.php" in the htdocs directory, one can change the default credits to NOT change everytime GMAP factory is opened. >-----Original Message----- >From: Dean Gadoury [mailto:gadoury@dmsolutions.ca] >Sent: Tuesday, November 05, 2002 1:51 PM >To: Thomas P. Colson >Cc: mapserver-users@lists.gis.umn.edu >Subject: Re: [mapserver-users] How to get rid of stock credits > > >MapLab specific questions can be posted the the maplab list. To >subscribe see: http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > >To answer your question though: You can get rid of that text by editing >the html code for the page. The trick is that it is found in >x_contents.php, where x is the name you gave your application. You can >also modify other page elements in this file, like colours, fonts or >even the layout, but I will include 2 major cautionary notes. > >1. If you modify any code in this file and re-open the project in >GMapFactory, your changes will be overwritten automatically by GMF. So >if you delete the credit line using your favorite text editor, then open >the project in GMF again the credit line will re-appear. This is the >expected and desired behaviour of GMF. So go ahead and make changes, but >it is best to make sure your application is finalized first. As long as >you don't open the project in GMF again you should have no problems. > >2. Unless you really know what you're doing you shouldn't edit anything >inside the php code tags: <?php ?> > >I hope that answers your question. > >Dean > >Thomas P. Colson wrote: > > > >>How to get rid of "this application was built using GMapFactory" credit at bottom of page? >> >> >> >> >> >> > > > -- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 gadoury@dmsolutions.ca www.dmsolutions.ca --------------040208040204040600050001 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body> That is a very good point, and is a better solution if you want to eliminate the line in all you applications, or put in one of your own. Just a note though, the line to edit may be different under different platforms and/or configurations. For example on my Windows system in MapLab version 2.0rc3-dev the line to edit is 365. For the sake of clarity here is the contents of that line:<br> ."<font face=\"Arial, Helvetica, sans-serif\" size=\"1\" color=\"#999999\">this application was built using <a href=\<a class="moz-txt-link-rfc2396E" href="http://www2.dmsolutions.ca/webtools/\">"http://www2.dmsolutions.ca/webtools/\"</a>>GMapFactory</a></font>"<br> <br> Thomas P. Colson wrote:<br> <blockquote type="cite" cite="mid8A13872FF821F4488B4A629647DC0C71023F8B@mailman.nexussoft.com"> <pre wrap="">By editing line 386 of "build_phtml.php" in the htdocs directory, one can change the default credits to NOT change everytime GMAP factory is opened. -----Original Message----- From: Dean Gadoury [<a class="moz-txt-link-freetext" href="mailto:gadoury@dmsolutions.ca">mailto:gadoury@dmsolutions.ca</a>] Sent: Tuesday, November 05, 2002 1:51 PM To: Thomas P. Colson Cc: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.gis.umn.edu</a> Subject: Re: [mapserver-users] How to get rid of stock credits MapLab specific questions can be posted the the maplab list. To subscribe see: <a class="moz-txt-link-freetext" href="http://lists.dmsolutions.ca/mailman/listinfo/maplab-users">http://lists.dmsolutions.ca/mailman/listinfo/maplab-users</a> To answer your question though: You can get rid of that text by editing the html code for the page. The trick is that it is found in x_contents.php, where x is the name you gave your application. You can also modify other page elements in this file, like colours, fonts or even the layout, but I will include 2 major cautionary notes. 1. If you modify any code in this file and re-open the project in GMapFactory, your changes will be overwritten automatically by GMF. So if you delete the credit line using your favorite text editor, then open the project in GMF again the credit line will re-appear. This is the expected and desired behaviour of GMF. So go ahead and make changes, but it is best to make sure your application is finalized first. As long as you don't open the project in GMF again you should have no problems. 2. Unless you really know what you're doing you shouldn't edit anything inside the php code tags: <?php ?> I hope that answers your question. Dean Thomas P. Colson wrote: </pre> <blockquote type="cite"> <pre wrap="">How to get rid of "this application was built using GMapFactory" credit at bottom of page? </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> <pre class="moz-signature" cols="$mailwrapcol">-- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 <a class="moz-txt-link-abbreviated" href="mailto:gadoury@dmsolutions.ca">gadoury@dmsolutions.ca</a> <a class="moz-txt-link-abbreviated" href="http://www.dmsolutions.ca">www.dmsolutions.ca</a></pre> <br> </body> </html> --------------040208040204040600050001--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |