CFVA Posted August 13, 2014 Report Posted August 13, 2014 I'd just like to publicly thank Eddie for all his support to me in changing CSS for my site. A great skin. Gary Quote
flyalaska Posted August 13, 2014 Author Report Posted August 13, 2014 That code wasn't added by me. I don't have that on the skin. You are probably missing a opening or closing bracket. Quote
YusufBudi Posted August 14, 2014 Report Posted August 14, 2014 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 Quote
YusufBudi Posted August 14, 2014 Report Posted August 14, 2014 I don't know exactly...pardon my skill.. i use phpvms 5.5 from simpilot... Quote
flyalaska Posted August 14, 2014 Author Report Posted August 14, 2014 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. Quote
YusufBudi Posted August 14, 2014 Report Posted August 14, 2014 Allright then... Revert back to tpl version... Quote
shadyowl2 Posted August 16, 2014 Report Posted August 16, 2014 Excellent Skin. Works like a charm. 1 Quote
Emrah14 Posted August 16, 2014 Report Posted August 16, 2014 Hello.I'm How to Edit Live Map and How to Edit Live Map Width ? Quote
shadyowl2 Posted August 16, 2014 Report Posted August 16, 2014 I do have a question for you. Is there a way to add the top 10 landing rates under the latest flights? 1 Quote
Emrah14 Posted August 17, 2014 Report Posted August 17, 2014 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 Quote
in2tech Posted August 17, 2014 Report Posted August 17, 2014 Hello.I'm How to Edit Live Map and How to Edit Live Map Width ? 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. 1 Quote
flyalaska Posted August 17, 2014 Author Report Posted August 17, 2014 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>'; } ?> Quote
shadyowl2 Posted August 18, 2014 Report Posted August 18, 2014 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 Quote
flyalaska Posted August 18, 2014 Author Report Posted August 18, 2014 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. Quote
shadyowl2 Posted August 18, 2014 Report Posted August 18, 2014 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. Quote
lanousbh Posted August 20, 2014 Report Posted August 20, 2014 I have a small issue. In the news part characters like é or à appears like that �. In the default crystal skin it's not happening please help Quote
flyalaska Posted August 21, 2014 Author Report Posted August 21, 2014 I have a small issue. In the news part characters like é or à appears like that �. In the default crystal skin it's not happening please help Can I have your link? Quote
jusromaine Posted September 1, 2014 Report Posted September 1, 2014 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 Quote
jusromaine Posted September 1, 2014 Report Posted September 1, 2014 Ok finally got the slider change bur when u click on a tab how to change that color to red thc Quote
jusromaine Posted September 2, 2014 Report Posted September 2, 2014 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. Quote
flyalaska Posted September 3, 2014 Author Report Posted September 3, 2014 I dont have a flight board, just replace your flighboard code with the latest flight code.. Look for <?php Template::Show('frontpage_reports.tpl'); ?> </p> around line 275 Quote
GBAirlines Posted September 3, 2014 Report Posted September 3, 2014 How can you add more pictures to the slider? Quote
flyalaska Posted September 3, 2014 Author Report Posted September 3, 2014 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. Quote
GBAirlines Posted September 3, 2014 Report Posted September 3, 2014 Ok i tried adding 4 pictures but only 3 work? Quote
jusromaine Posted September 3, 2014 Report Posted September 3, 2014 Witch css file is it? I couldn't find it thx Quote
flyalaska Posted September 4, 2014 Author Report Posted September 4, 2014 Witch css file is it? I couldn't find it thx ocean.css 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.