Jump to content

Recommended Posts

Posted

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)

  • Like 1
Posted

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??

Posted

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.

Posted

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!

Posted

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

Posted

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... :lol:

Posted

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... :lol:

Well all of my pilots love to look at them.. They told me about it ;)

Posted

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 :)

Posted

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!

  • Like 1
  • 9 months later...
Posted

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 smile.gif

didnt work for me nothing has changed

  • 2 months later...
Posted

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 :)

  • 2 years later...
Posted

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... laugh.gif

Hello I was wondering if you could help me out with my boarding pass, Do you mind doing it for me? Thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...