could someone tell me which folder where the signature is in so i can edit the text that and other stuff that is shown on it?
HI these settings are in the app.config.php, just copy them over to your local.config.php and change as you wish, you will need to regenerate your signatures from with in the admin panel once you have changed the settings.
# Options for the signature that's generated
Config::Set('SIGNATURE_TEXT_COLOR', '#000');
Config::Set('SIGNATURE_USE_CUSTOM_FONT', true);
Config::Set('SIGNATURE_FONT_PATH', SITE_ROOT.'/lib/fonts/tahoma.ttf');
Config::Set('SIGNATURE_FONT_SIZE', '10');
Config::Set('SIGNATURE_X_OFFSET', '10');
Config::Set('SIGNATURE_Y_OFFSET', '17');
Config::Set('SIGNATURE_FONT_PADDING', 4);
Config::Set('SIGNATURE_SHOW_EARNINGS', true);
Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true);
Config::Set('SIGNATURE_SHOW_COPYRIGHT', true);
If you want to use a custom font just download it and place it in the referenced folder.
ok thanks alot by any chance could you help me get all the pilot in one big list so there are not organized by hubs?
Yes i seen a post here somewhere, let me have a look and ill get back to you with the code after testing it.
ok thanks alot
I don’t have much time but this is a quick hack, not the ideal solution but it may be OK for you,
Just a couple of edits,
Find pilots.php in the core/modules/pilots and comment out the following,line 31 and 32,
//$this->set(‘title’, $hub->name);
//$this->set(‘icao’, $hub->icao);
Then go over to the template pilots_list.tpl in your skins profile and remove the h3 tag at the top.
thanks very much Mark
but the table is still there
any ideas?
i just want one table. not a table for each hub
thanks
Daniel
Yeh that’s why i said its not ideal.
Like simpilot said you might as well be better off creating your own, you can try this and expand on it,
In the pilots_list.tpl you can try,
<?php
$this->set('pilots', PilotData::getAllPilots());
?>
<div class=â€mcrightâ€>
<table width="700" cellspacing="1" cellpadding="5" border="1">
<tr>
<td>Pilot</td>
<td>Country</td>
</tr>
<?php
foreach($allpilots as $pilot)
{
echo '<tr>';
echo '<td>'.$pilot->firstname.' '.$pilot->lastname.'</td>';
echo '<td>'.$pilot->location.'</td>';
echo '</tr>';
}
?>
</table>
</div>
Just add to the fields you want to display, not the ideal solution as you have the code in the template.
OK forget that that doesnt work either lol
lol, umm any other ideas?