VictoryAirPilot Posted December 7, 2011 Report Share Posted December 7, 2011 Gents...looking for a little assistance with my website. I have managed to get the template up and running and it looks okay. I have two major issues right now: When I access the home page, my navigation is set up on the left of the website. When I click on a link (Login, Register, etc.) the new information shows up, but at the bottom of the page. I want this to be at the top. You shouldn't have to scroll down to see the new information. I have no clue how to change this. The second issue I have is with the alignment of the website. On the homepage, everything looks good, but again, when you access the navigation links,everything shows up at the bottom of the page and is centered to the far right. So for exapmle....the Live Map is way off center. It seems like it is staying aligned with the body of the website because my navigation is set up on the left. But my navigation is only at the top of the page. Once the new information clears the left side navigation on the bottom, I want it to be centered...any idea how I can fix this? To understand what I am talking about, just click the Live Map link. Basically I want this map to be centered and displayed above the home page body content. Hope this makes sense, any help would be greatly appreciated. www.victoryairservice.com Thanks! Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 7, 2011 Report Share Posted December 7, 2011 Actually, everything looks okay on your site, except one thing. It looks like you placed the "Passenger and Freight Service" information in the layout.tpl You should place this in the frontpage_main.tpl That way all your pages won't show that information. You Live Map needs to be shrunk in order to fit the page. To do that, open the local.config.cfg file and change the dimensions of the Acars map to fit your template. Quote Link to comment Share on other sites More sharing options...
Tom Posted December 7, 2011 Report Share Posted December 7, 2011 Yup. Move all the information that you want on the home page only to frontpage_main.tpl For the map, have a look both in local.config.php and the map template file for map height and width settings, change those. Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted December 9, 2011 Author Report Share Posted December 9, 2011 Awesome...thanks guys! Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 9, 2011 Report Share Posted December 9, 2011 Not a problem. Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted December 9, 2011 Author Report Share Posted December 9, 2011 I truly appreciate all of the help so far. I'am 90% done with my site. I was able to resize my map and fix the home page with the suggestions I recieved from you gents. I have one more minor issue. In the admin area, where you place the News and "add news"....this is not showing up anywhere on the home page or once you log in. I have tried adding news in the admin area but it is not showing up anywhere on the website. I may have accidentally deleted something..but, how do I get this function to show and work properly? Hopefully this will be my last request for assistance for a while! Im almost there! Thank you all, again... Jason Calvert www.victoryairservice.com Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 9, 2011 Report Share Posted December 9, 2011 Place this where you want the news to show on your site (not in Admin) <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('News', 'ShowNewsFront', 5); ?> Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted December 9, 2011 Author Report Share Posted December 9, 2011 Sweet....got it, its all working good now. Thanks alot Jeff! Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 10, 2011 Report Share Posted December 10, 2011 You are welcome. 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.