TAV1702 Posted March 2, 2011 Report Share Posted March 2, 2011 In My Schedule_Briefing.tpl file, I am wondering if it is possible to get rid of the two charts that appear, and make them links only? I mean I obviously see the links to go to Airnav. I want to get rid of the charts due to the skinny template I am using. The 2 charts side by side REALLY bust up my template bad. If I can not make links that say "Click here to view charts" I am sure one chart under the other would be fine. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 2, 2011 Moderators Report Share Posted March 2, 2011 Yes, Like this? http://www.easyjetva.com/index.php/schedules/brief/3622 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted March 2, 2011 Author Report Share Posted March 2, 2011 Well Mark, I only have 575px to play with. I tried scaling down the image size and it looked pretty bad to be honest. So rather then leave them side by side like yours, I figured it might be just as good to get rid of the chart images all together and simply add a link that says click here to view chart for KIND or what ever, and the one on the right would say Click here to view charts for KACK or what ever. Right now, I made mine so one chart was under the other one. Worked out ok I suppose. But now the page is that much longer. That is why I was thinking of going with links only. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 2, 2011 Moderators Report Share Posted March 2, 2011 OK so if you want the links in and the message click for chart try this. Scale to fit your layout though. <a href="<?php echo SITE_URL?>/images/charts/pdf/<?php echo $schedule->depicao?>.pdf" target="_blank"> <img border="0" src="<?php echo SITE_URL?>/images/charts/<?php echo $schedule->depicao?>.png" width="350px" height="594px" alt="Click To Download Chart" /></a> Bit of explaining, top line is your pdf location so /images/charts/pdf..... Next line, Image location.. You can resize the image if you have one ie a thumb nail, if not the alt message will handle the click to download chart, hope thats what you need, im sure you can hack that about to suite your needs 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.