One question for pilot_public_profile.tpl

Ciao Guys ,

I wanted to know if you could remove the list from the page Pireps pilot_public_profile.tpl

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.

thank you very much