Jump to content

Skin question


EricThePanic

Recommended Posts

Hello everyone,

Is there a way to use the default skin for most of the pages, and use another skin for some specific pages?

Let's say I want to make a kind of "Printed" look of my flight briefings, no header, no nav bar, no colors, juste black on white... how can I proceed to do that on only a few pages without changing the look of my entire site?

Thanks!

Link to comment
Share on other sites

/action.php/schedules/brief/1

Change the 1 accordingly.

--------------

Alternatively you can create a file in your main directory like briefings.php and create your own. Just remember to add:

<?php include_once(/core/codon.config.php);?>

Then you need to add:

$schedule = SchedulesData::getScheduleDetailed($_GET['flight']);

So now you can get flight details like:

$schedule->flightnum and $schedule->depicao

To get the details. So in your address bar you'd put:

http://yoursite.com/briefings.php?flight=1

And again change the one to the corresponding schedule ID :)

Link to comment
Share on other sites

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