ThomasZaniboni Posted September 2, 2010 Report Share Posted September 2, 2010 Ciao Guys , I wanted to know if you could remove the list from the page Pireps pilot_public_profile.tpl Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 2, 2010 Administrators Report Share Posted September 2, 2010 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. Quote Link to comment Share on other sites More sharing options...
ThomasZaniboni Posted September 2, 2010 Author Report Share Posted September 2, 2010 thank you very much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.