Needs review
Project:
LinkedIn Integration
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2012 at 06:42 UTC
Updated:
17 May 2013 at 08:52 UTC
The admin page is loaded from every module for every page. I made a quick change to reduce the memory load because the site is already loading a hundred modules and using too much memory on standard page loads.
The admin pages are split out into separate files in the .zip file. The patch makes the other changes. The Linkedin menu loads the linkedin.admin_page.inc file and that file loads the rest. The linkedin_admin_page hook is changed to get the names of the files defining admin forms then the files are loaded once instead of being included all the time.
The same technique could be used for the user page profile code.
| Comment | File | Size | Author |
|---|---|---|---|
| linkedin.zip | 5.3 KB | peterx | |
| linkedin_admin_page_patch.txt | 12.82 KB | peterx |
Comments
Comment #1
greg.harveyThis sounds like it's worth a look.