ynik
Posts: 31
Joined: Sun Jul 15, 2007 4:39 pm

CUSTOM LOGO and BANNER

Thu Sep 20, 2007 10:36 am

Hello,

Is there a chance integrating a custom logo and banner in to the Vehicle Tracking page of the gpsgateserver just like the buddytracker?

cheers,
ynik

User avatar
johan
GpsGate
Posts: 15161
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: CUSTOM LOGO and BANNER

Thu Sep 20, 2007 12:13 pm

You can do this by changing the relevant aspx pages.

We will consider some very simple way of adding a banner and logo in a coming release of GpsGate Server.

Regards,
Johan

Franson Support

ynik
Posts: 31
Joined: Sun Jul 15, 2007 4:39 pm

RE: CUSTOM LOGO and BANNER

Sun Sep 30, 2007 12:03 am

Hello Johan,

Please can you give a simple example / guidelines?

Thanks - will really appreciate it.

Ynik

User avatar
markus
GpsGate
Posts: 96
Joined: Tue Sep 18, 2007 1:34 pm
Location: Sweden
Contact: Website

RE: CUSTOM LOGO and BANNER

Mon Oct 01, 2007 2:37 pm

Hey Ynik

If you would like to add for example your own logo to VehicleTracker you can do so by following the steps below:

1. Open up the folder where you have your installation of GpsGate Server. Open the IIS folder and then the folder named VehicleTracker.
2. Place your logo image in the folder images.
3. Go back to the VehicleTracker folder and open the file named vehicleTracker.master.aspx in your favourite editor (notepad, dreamweaver, visual studio etc).
4. If you would like to have your logo on the top of the page above the menu then insert your img src code above line 29 (see example below).

example:

25 <body onload="(function(){if(typeof(page_load) != 'undefined' && page_load != null){ page_load();}})();" style="height:100%">
26 <form id="form1" runat="server" style="height:100%; width:100%">
27 <div style="height:100%; width:100%">
28 <div>
29 <img src="images/vt_tmp_logo.jpg" /> <--- new logo
30 <asp:contentplaceholder id="ContentPlaceHolderMenu" runat="server">
31 <asp:PlaceHolder ID="PlaceHolderMenu" runat="server" Visible="false">

This will add your logo on top of every page except the login page. To add your logo there you will have to edit page index.aspx.

Best regards markus

Franson employee

ynik
Posts: 31
Joined: Sun Jul 15, 2007 4:39 pm

RE: CUSTOM LOGO and BANNER

Wed Oct 10, 2007 9:22 am

Thanks for the detailed response.

One more question:
How do you change the size of the Vehicle Tracking map window? I want to adjust it so it would appear bigger in the high res big screen lcd's.

Thanks.
ynik

User avatar
markus
GpsGate
Posts: 96
Joined: Tue Sep 18, 2007 1:34 pm
Location: Sweden
Contact: Website

RE: CUSTOM LOGO and BANNER

Wed Oct 10, 2007 12:32 pm

Hi ynik

if you would like to set the map size then open the file vehicleTracker.master.aspx (same as above) and go to line 46.

<div id="mapDiv" style="height:500px; width:700px; overflow: hidden"></div>

Change height and width to the size you prefer. Note that the size is set in pixels.

Best regards markus

Franson employee

ynik
Posts: 31
Joined: Sun Jul 15, 2007 4:39 pm

RE: CUSTOM LOGO and BANNER

Wed Jun 11, 2008 9:51 am

Hi -

It is really nice to have the the "New Logo" inserted into the upper part of the GpsGateServer page but it also created a blank space on the right side of the it. The same space can be really useful for a "banner" or a flash video!

Has anyone done this, if so can you please share the code?

Regards,
Ynik

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: CUSTOM LOGO and BANNER

Wed Jun 11, 2008 12:39 pm

ynik:
This is a very old thread, have you read the newer branding guide here: http://franson.com/forum/topic.asp?TOPIC_ID=6877 ?
Though it doesn't deal with flash banners, see the html above and you should be able to insert a second image/flash next to your logo as a second table-column for example.

Regards,
Fredrik

Franson Support

ynik
Posts: 31
Joined: Sun Jul 15, 2007 4:39 pm

RE: CUSTOM LOGO and BANNER

Wed Jun 11, 2008 1:22 pm

Hello -

This is where I struggle a bit. A table is inserted but it appears at the bottom of the New Logo.

What is the code to insert a table from the right of the screen on the same line as the New Logo?

Sorry - I am a non programmer trying to become one :)

Cheers,
Ynik

User avatar
markus
GpsGate
Posts: 96
Joined: Tue Sep 18, 2007 1:34 pm
Location: Sweden
Contact: Website

RE: CUSTOM LOGO and BANNER

Mon Jun 16, 2008 12:19 pm

here's a quick guide on how tables work.
http://www.w3schools.com/html/html_tables.asp

you can add style="width:100%" in the top table tag to make the table to stretch over the entire length of the page. Then add style="text-align:right" to the right TD tag to right align the content.

Here's another guide on how to use styles and CSS.
http://www.w3schools.com/css/default.asp

Best regards Markus
Franson employee

GPS tracking - Vehicle tracking

Return to “GpsGate Server - How to setup and use”