MapTools.org

[maplab-users] RE: [mapserver-users] How to get rid of stock credits

Thomas P. Colson tpcolson@nexussoft.com
Mon, 11 Nov 2002 13:05:24 -0500
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






This archive was generated by Pipermail.