ThomasZaniboni Posted September 2, 2010 Report 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
Administrators simpilot Posted September 2, 2010 Administrators Report 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
ThomasZaniboni Posted September 2, 2010 Author Report Posted September 2, 2010 thank you very much Quote
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.