monkeypaw201 Posted July 4, 2010 Report Share Posted July 4, 2010 Template Name: Surreal Template Current Version: 1.1 Download URL: http://rapidshare.com/files/440863527/phpvmstemplate_illuminativ11.zip (255 KB) Neat Features to Note: Scrolling Marquee with Latest News Template Notes: In order to have a list, instead of paragraphs (without changing the core), a little 'hack' is used for the recent pireps and recruits at the bottom by using the native MainController for RecentFrontpage by using: <?php str_replace("<p>","<li>",str_replace("</p>","</li>",MainController::Run('PIREPS', 'RecentFrontPage', 5))); ?> Instead of: <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> In addition to the little 'hack' used above, its also used to generate the latest new in the marquee by using this: <?php ob_start(); MainController::Run('News', 'ShowNewsFront', 5); $buffer = ob_get_contents(); ob_end_clean(); $data = explode("<h3>",$buffer); $data = explode("</h3>",$data[1]); ?> and using $data[0] to display the latest news item for the marquee, and something similar for the bottom 'Latest news item' Only 3 Templates are overridden; acarsmap.tpl , frontpage_main.tpl , route_map.tpl acarsmap.tpl - Override google map width/height to fit into template (625 x 600). It can also be done in your /core/local.config.php # Google Map Options Config::Set('MAP_WIDTH', '625px'); Config::Set('MAP_HEIGHT', '600px'); frontpage_main.tpl - Remove the latest reports, pilots and online users as its redundant. Information already available in sidebar. route_map.tpl - Override google map width/height to fit into template (625 x 600). It can also be done in your /core/local.config.php # Google Map Options Config::Set('MAP_WIDTH', '625px'); Config::Set('MAP_HEIGHT', '600px'); Preview Image: Installation Directions: Download Unzip / Extract Upload folder (illuminativ1) + contents to /lib/skins/ folder Active template in admin center Quote Link to comment Share on other sites More sharing options...
Tom Posted July 4, 2010 Report Share Posted July 4, 2010 This is my favourite of the three you've just put up, however the marquee at the top goes off the edge a couple of pixels either side. Good work Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 4, 2010 Author Report Share Posted July 4, 2010 Hi Tom, Thanks for pointing that out, I've updated the download to include the fix, but if you want to do it manually, here is how: In layout.tpl replace line 55 which reads: <div id="content_bar"><marquee>Latest News: <?php echo $data[0]; ?></marquee></div> With: <div id="content_bar"><marquee width="950px">Latest News: <?php echo $data[0]; ?></marquee></div> Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 6, 2010 Author Report Share Posted July 6, 2010 Version 1.1 Now Available: http://rapidshare.com/files/440863522/phpvmstemplate_illuminativ1.zip Quote Link to comment Share on other sites More sharing options...
Jason Posted July 7, 2010 Report Share Posted July 7, 2010 thanks, great template Quote Link to comment Share on other sites More sharing options...
Mysterious Pilot Posted December 6, 2010 Report Share Posted December 6, 2010 And the template is no longer available, another VA goes down the tube. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted December 11, 2010 Report Share Posted December 11, 2010 He has been gone for a long time. He still has a regular personal website up but that is it. I think he was porting and uploading templates without original authors permission. That as we all know, can not be done. Quote Link to comment Share on other sites More sharing options...
jacksonscott Posted August 10, 2012 Report Share Posted August 10, 2012 Where is core_naviagtion.tpl in here? Quote Link to comment Share on other sites More sharing options...
edmundk Posted August 13, 2012 Report Share Posted August 13, 2012 The core_navigation.tpl is located at core/templates. Look in that folder and you will be sure to find it! Haha I would suggest making a copy of it and placing it in the skin folder, then you can play around with the links without messing the original up if you come across problems you can always refer to the original! Quote Link to comment Share on other sites More sharing options...
filipmkd Posted August 20, 2012 Report Share Posted August 20, 2012 Errr.... I have put core_naviagtion.tpl in the skin folder of our VA. But when I change the code, I lose the navigation bar. Am I doing sth wrong or ? Quote Link to comment Share on other sites More sharing options...
gio1961 Posted August 27, 2013 Report Share Posted August 27, 2013 Hello everyone, you might have this skin? thanks Quote Link to comment Share on other sites More sharing options...
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.