edmundk Posted November 11, 2011 Report 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
freshJet Posted November 11, 2011 Report 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
edmundk Posted November 11, 2011 Author Report 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
RogerB Posted November 11, 2011 Report 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
edmundk Posted November 11, 2011 Author Report 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
edmundk Posted November 11, 2011 Author Report 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
RogerB Posted November 11, 2011 Report 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
edmundk Posted November 11, 2011 Author Report 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
RogerB Posted November 11, 2011 Report 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
edmundk Posted November 11, 2011 Author Report 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
RogerB Posted November 11, 2011 Report Posted November 11, 2011 Well you can do it threw style or html, are you familiar with either? Quote
edmundk Posted November 11, 2011 Author Report Posted November 11, 2011 Well you can do it threw style or html, are you familiar with either? Not very Quote
freshJet Posted November 12, 2011 Report 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
edmundk Posted November 13, 2011 Author Report 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
LuxuryCEO Posted September 5, 2012 Report 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
freshJet Posted September 5, 2012 Report Posted September 5, 2012 Sorry forgot to mention that you need to move the schedule_boardingpass.tpl into your lib/skins/[YOURSKIN] folder Quote
CitationCJ Posted November 28, 2012 Report 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
BAW432 Posted March 31, 2015 Report 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
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.