Jump to content

Recommended Posts

Posted

Hello...

I get errors like these...

Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/header.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

and

Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/footer.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

installed on www.sidestickrider.net

What did i do wrong? i can't find the header.php and footer.php..

Regards

Posted

I had some issues with that version. Haven't had the time to work them out. That is why the download is tpl files only/ You are getting the error probably because you are using tpl files when they need to be php files.

Posted

Did you ask me.So I Don't Know :) Sorry for My English :)

--Edit-- 17.08.2014

Again Hello.I Changed My Background.But I Cant Resized Google Live Map.

I'm How To Resize Live Map.Please Answer...Thanks :)

Posted

Hello.I'm How to Edit Live Map and How to Edit Live Map Width ?

Question.md.png

To change the map size look in the local.config.php file in the Core folder and edit the size until it fits!

Your looking for this area in the local.config.php file:

# Google Map Options

Config::Set('MAP_WIDTH', '800px');

Config::Set('MAP_HEIGHT', '600px');

# Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP

Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');

Config::Set('MAP_LINE_COLOR', '#ff0000');

Config::Set('MAP_CENTER_LAT', '45.484400');

Config::Set('MAP_CENTER_LNG', '-62.334821');

Config::Set('MAP_ZOOM_LEVEL', 12);

Change the width and the height to your liking! I think he gives the dimensions in the instructions somewhere.

  • Like 1
Posted

I do have a question for you. Is there a way to add the top 10 landing rates under the latest flights?

Install Touchdown stats by Simpilot - https://github.com/DavidJClark/phpVMS-TouchdownStats

Than add the code below where you want it to display.

<?php
               $lstats = TouchdownStatsData::get_landingstats_currentmonth(10);
               if(!$lstats)
               {
                   echo 'No Greased Landings Recorded ';
                   echo 'For '.date('F Y');
               }
               else
               {
                  echo '<center>';
                   echo '<table width="750px" border="0" cellspacing="0" cellpadding="0" class="aka_table">';
                   echo '<thead><tr><th>Callsign</th><th>Pilot</th><th>Aircraft</th><th>Departure</th><th>Arrival</th><th>Landing</th></tr></thead>';
                   foreach ($lstats as $row)
                   {
                       $pilot2 = PilotData::GetPilotData($row->pilotid);
                       echo '<tr><td>';
                       echo PilotData::GetPilotCode($row->code, $row->pilotid).'</td><td>'.$pilot2->firstname.' '.$pilot2->lastname.'</td><td>';
                       $aircraft = OperationsData::getAircraftInfo($row->aircraft);
                       echo $aircraft->icao.'</td><td>';
                       echo $row->depicao.'</td><td>';
                       echo $row->arricao.'</td><td>';
                       echo $row->landingrate;
                       echo ' ft/min';
       echo '</td></tr>';
   }
   echo '</table>';
   echo '</center>';
}
?>

Posted

Install Touchdown stats by Simpilot - https://github.com/D...-TouchdownStats

Than add the code below where you want it to display.

<?php
$lstats = TouchdownStatsData::get_landingstats_currentmonth(10);
if(!$lstats)
{
echo 'No Greased Landings Recorded ';
echo 'For '.date('F Y');
}
else
{
echo '<center>';
echo '<table width="750px" border="0" cellspacing="0" cellpadding="0" class="aka_table">';
echo '<thead><tr><th>Callsign</th><th>Pilot</th><th>Aircraft</th><th>Departure</th><th>Arrival</th><th>Landing</th></tr></thead>';
foreach ($lstats as $row)
{
$pilot2 = PilotData::GetPilotData($row->pilotid);
echo '<tr><td>';
echo PilotData::GetPilotCode($row->code, $row->pilotid).'</td><td>'.$pilot2->firstname.' '.$pilot2->lastname.'</td><td>';
$aircraft = OperationsData::getAircraftInfo($row->aircraft);
echo $aircraft->icao.'</td><td>';
echo $row->depicao.'</td><td>';
echo $row->arricao.'</td><td>';
echo $row->landingrate;
echo ' ft/min';
echo '</td></tr>';
}
echo '</table>';
echo '</center>';
}
?>

My php knowledge is just about absolute zip lol. I would like to install it under the latest flights on the main page to keep the style of the website but when i do i get this error. l

Fatal error: Call to undefined method TouchdownStatsData::get_landingstats_currentmonth() in /home/shadyowl2/public_html/phpvms/lib/skins/ocean_blue/frontpage_main.tpl on line290

Could i need the tpl version of the touchdownstats? I can change it to tpl and get a page from the site http://ecxva.com/phpvms/index.php/TouchdownStats/top_landings/10

Posted

You need the tpl version of the module. Sorry about that. Install the tpl version. I will pm you with my email. You can email me frontpage_main.tpl and I will put it on for you.

Thanks for all your help. Sent the info you requested to you.

  • 2 weeks later...
Posted

OK I have uploaded the site to my site and I got two things one is how to change the slider images I have just renamed one to one of the org but it still shows the org one you had not the new one that I used. It is the same size and every thing so I don't under stand. plz help thanks

Posted

Can the first two be deleted got it to work server running slow.... But now to ask a true question I have a flight board that pulls from my flights and shows depart and arrivals but I would like to replace the latest flights with this but I would like to have tabs like for arrivals and then a tab for depart and a tab for online now does anybody know how to do that thanks.

Posted

Locate the css

.art-slideheader0 {
   background-image:  url('../images/slider/slideheader0.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}
.art-slideheader1 {
   background-image:  url('../images/slider/slideheader1.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}

on a new linw after the add

.art-slideheader3 {
   background-image:  url('../images/slider/slideheader3.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}

Dont forget to change image url and slider number

.art-slideheader3

Now open your layout.tpl and find

<div class="art-slide-item art-slideheader0"></div>
<div class="art-slide-item art-slideheader1"></div>

on a new line add

<div class="art-slide-item art-slideheader3"></div>

Make sure that your slider number matches the number in your css.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...