Jump to content

One question for pilot_public_profile.tpl


ThomasZaniboni

Recommended Posts

  • Administrators

Hi,

In the module file Profile.php located in root/core/modules/profile/ you can remove or comment out line 94 ->

$this->render('pireps_viewall.tpl');

If you are not going to display the pireps you can also remove or comment out line 89 that calls the data for the pireps table ->

$this->set('pireps', PIREPData::GetAllReportsForPilot($pilotid));

It will speed up the function a little to just skip it.

Hope this helps. B)

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