Jump to content

VATSIM Airline


JackPlumb

Recommended Posts

That's not all that hard either. Check what Nabeel already added into the template for the pilot list:

/* 
	To include a custom field, use the following example:

	<td>
		<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?>
	</td>

	For instance, if you added a field called "IVAO Callsign":

		echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign');		
 */

You can find this in the your core/templates/pilots_list.tpl.

Link to comment
Share on other sites

  • Administrators

Hey,

Can you try this real quick, where you put the GetFieldValue();, immediately after, if you put DB::debug(), what's the result?:

<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); DB::debug() ?>

Can you paste it in?

Thanks!

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