Jump to content

Showing Aircraft by name [RE-OPENED]


Jeff

Recommended Posts

Okay, here is a problem I came across today that I would like to get right, but just can't figure it out. I want to have the aircraft name to be shown instead of the registration in the pireps_viewall.tpl.

In the pireps_viewall.tpl file I have this (as default)

<?php echo $report->registration; ?>

I have tried numerous types to get it show, but it just will not show up for me.

Tried the following...

<?php echo $report->name; ?>
<?php echo $aircraft->name; ?>
<?php echo $report->aircraftname; ?>

with no positive results. Does anyone have the correct code for this?

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

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