[maplab-users] RE: [mapserver-users] How to get rid of stock credits
Dean Gadoury
gadoury at dmsolutions.ca
Tue Nov 12 07:27:15 PST 2002
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 at dmsolutions.ca]
>Sent: Tuesday, November 05, 2002 1:51 PM
>To: Thomas P. Colson
>Cc: mapserver-users at 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 at dmsolutions.ca
www.dmsolutions.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021112/52bd04b5/attachment.htm>
More information about the MapServer-users
mailing list