edmundk Posted November 11, 2011 Report Share Posted November 11, 2011 How do we skin the default bording pass like Air India did? Where do i put the images or? Thanks! EdmundK 1 Quote Link to comment Share on other sites More sharing options...
freshJet Posted November 11, 2011 Report Share Posted November 11, 2011 1. Open core/templates/boardingpass.tpl 2. Use an image editor to create the background 3. Add the background to the page using CSS View it at yoursite.com/index.php/schedules/boardingpass/XXX (where X is the schedule ID) 1 Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 1. Open core/templates/boardingpass.tpl 2. Use an image editor to create the background 3. Add the background to the page using CSS View it at yoursite.com/index.php/schedules/boardingpass/XXX (where X is the schedule ID) Cant seem to find that?? Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 11, 2011 Report Share Posted November 11, 2011 He is wrong, its core/templates/schedule_boarding_pass.tpl You must use an ftp program like filezilla to access your website. if you want to see it you must bid on a flight first then go to your pilot control panel to see the bid and click on boarding pass. Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 He is wrong, its core/templates/schedule_boarding_pass.tpl You must use an ftp program like filezilla to access your website. if you want to see it you must bid on a flight first then go to your pilot control panel to see the bid and click on boarding pass. Okay thanks! Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 He is wrong, its core/templates/schedule_boarding_pass.tpl You must use an ftp program like filezilla to access your website. if you want to see it you must bid on a flight first then go to your pilot control panel to see the bid and click on boarding pass. Do i have to edit it in Dreamwiever? Doesen't open in PS Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 11, 2011 Report Share Posted November 11, 2011 That file you must edit in dreamweaver, or some editing program of the like. What does air india's look like? Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 That file you must edit in dreamweaver, or some editing program of the like. What does air india's look like? Look in the Va page and it will say New boarding pass at air india virtual Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 11, 2011 Report Share Posted November 11, 2011 Ok thanks.. Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 11, 2011 Report Share Posted November 11, 2011 Those are very nice. It is really not that hard...I would do it but I really don't think any pilots really look at the boarding pass that much...I would bet none of mine know it exists... Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 Those are very nice. It is really not that hard...I would do it but I really don't think any pilots really look at the boarding pass that much...I would bet none of mine know it exists... Well all of my pilots love to look at them.. They told me about it Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 11, 2011 Report Share Posted November 11, 2011 Well you can do it threw style or html, are you familiar with either? Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 11, 2011 Author Report Share Posted November 11, 2011 Well you can do it threw style or html, are you familiar with either? Not very Quote Link to comment Share on other sites More sharing options...
freshJet Posted November 12, 2011 Report Share Posted November 12, 2011 Find a Southwest boarding pass on Google Images or something and use Paint.NET or Gimp if you don't have Photoshop to get the image a reasonable size and remove any parts you don't want/need. Open the schedule_boardinpass.tpl file and add this at the top: <style type="text/css"> [div name] { background-image: url(http://www.yoursite.com/boardingpass.png) } </style> Then to position the text, use this before every PHP declaration: <p style="margin-left:0px; margin-top:0px;">... Remember to change [div name] to the name of the div in the file (<div id="______">), and the URL to your boarding pass image URL. Also, you'll need to change the margin values to suit your needs. Hope that's not too confusing Quote Link to comment Share on other sites More sharing options...
edmundk Posted November 13, 2011 Author Report Share Posted November 13, 2011 Find a Southwest boarding pass on Google Images or something and use Paint.NET or Gimp if you don't have Photoshop to get the image a reasonable size and remove any parts you don't want/need. Open the schedule_boardinpass.tpl file and add this at the top: <style type="text/css"> [div name] { background-image: url(http://www.yoursite.com/boardingpass.png) } </style> Then to position the text, use this before every PHP declaration: <p style="margin-left:0px; margin-top:0px;">... Remember to change [div name] to the name of the div in the file (<div id="______">), and the URL to your boarding pass image URL. Also, you'll need to change the margin values to suit your needs. Hope that's not too confusing Thanks! 1 Quote Link to comment Share on other sites More sharing options...
LuxuryCEO Posted September 5, 2012 Report Share Posted September 5, 2012 Find a Southwest boarding pass on Google Images or something and use Paint.NET or Gimp if you don't have Photoshop to get the image a reasonable size and remove any parts you don't want/need. Open the schedule_boardinpass.tpl file and add this at the top: <style type="text/css"> [div name] { background-image: url(http://www.yoursite.com/boardingpass.png) } </style> Then to position the text, use this before every PHP declaration: <p style="margin-left:0px; margin-top:0px;">... Remember to change [div name] to the name of the div in the file (<div id="______">), and the URL to your boarding pass image URL. Also, you'll need to change the margin values to suit your needs. Hope that's not too confusing didnt work for me nothing has changed Quote Link to comment Share on other sites More sharing options...
freshJet Posted September 5, 2012 Report Share Posted September 5, 2012 Sorry forgot to mention that you need to move the schedule_boardingpass.tpl into your lib/skins/[YOURSKIN] folder Quote Link to comment Share on other sites More sharing options...
CitationCJ Posted November 28, 2012 Report Share Posted November 28, 2012 Hey everyone, I did exactly what Iain said, but it won't display the image in the background. Here is some code: <style> /* Some integrated styles here, for the popup */ .boardingpass { font-family: Tahoma, Verdana; font-size: 14px; background-image: url(images/boardingpass.png) } I put the image in the.boardingpass class and also moved the template file into my skins folder. Does anyone has a solution? Thanks in advance Quote Link to comment Share on other sites More sharing options...
BAW432 Posted March 31, 2015 Report Share Posted March 31, 2015 Those are very nice. It is really not that hard...I would do it but I really don't think any pilots really look at the boarding pass that much...I would bet none of mine know it exists... Hello I was wondering if you could help me out with my boarding pass, Do you mind doing it for me? Thanks in advance! 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.