mw308 Posted October 26, 2009 Report Share Posted October 26, 2009 Hi all Good to be back working on my phpVMS site once more - hopefully will get it sorted soon! 2 queries. The 1st is what page do I alter to get the page title removed from a custom page, as I'd like to place my own title image in there? I've looked at the .tpl files and even some of the .php files, but I'm drawing a blank - must ge going blind . The other question is, on the pilot center schedules page, could a space be placed between the flight number and the (icao-icao) text, so that they are separate? Of course this might have already been changed in the latest beta, but I'm still using the main release 700. Many thanks in advance! Will Quote Link to comment Share on other sites More sharing options...
Tom Posted October 26, 2009 Report Share Posted October 26, 2009 First question: If you're talking about a custom page created in phpvms, it uses the global header which automatically inserts the page title.. so unless you change the actual title of the page the title wont change.. Second question: Copy schedule_results.tpl into your theme folder from the main core templates. Open it... Find: <?php echo $route->code . $route->flightnum?> Replace with: <?php echo $route->code .' '. $route->flightnum?> Quote Link to comment Share on other sites More sharing options...
mw308 Posted October 26, 2009 Author Report Share Posted October 26, 2009 Hi Tom Thanks for the answer to q2 - didn't think about looking in the tlps for that one - mind too busy with other things. As for the 1st q, the title I'm refering to is the H1 title added to the custom pages, which changes based on the name of the page you give it. For example, one of my pages is called "Schedules", so the word "Schedules" comes up at the top of the custom page. As it doesn't show in the htm file, it must pull it from elsewhere, and since none of my other pages have this H1 title at the top, I won't mind editing the core file that puts it there, I just don't know what that file is. Cheers Will Quote Link to comment Share on other sites More sharing options...
Tom Posted October 26, 2009 Report Share Posted October 26, 2009 Ah okay, for that you want to edit pages_content.tpl. Quote Link to comment Share on other sites More sharing options...
mw308 Posted October 26, 2009 Author Report Share Posted October 26, 2009 Cheers for that Tom - I'm such a fool 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.