Can I ask you to post what you have in the Modules one, I added all of mine to /pages but I need to pull some information for it, but you can’t use .php in the /pages.tpl
you can display php in the pages just do it in source view, one word of caution if you edit it do it directly at the server not using the admin interface or it converts the code.
Can I ask you to post what you have in the Modules one, I added all of mine to /pages but I need to pull some information for it, but you can’t use .php in the /pages.tpl
In /modules I have a php file named EXACTLY the same as the folder in /modules and the php file contains this:
<?php
/**
* Herp Derp
*/
class about extends CodonModule
{
public function index()
{
Template::Show('about.tpl');
}
}
?>
Then in my skin folder I have the corresponding .tpl file, as you see here it is "about.tpl"
Anybody able to help me with the roster?
I’d really like to learn how to do this. Really, I want to know how to pull information for each airline, since I’ll be setting up stats on each of my airlines (stats like bids for the airline, obviously the roster, latest flight by the airline). There must be a way to get airline specific information.