Jump to content

Editing the custom page template and schedule page cosmetic issue


mw308

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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