Posted by Pancho on February 28, 2011 at 4:37am
1 follower
| Project: | Amazon Store |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Everything registered in a hook (including non-API helpers) can be split off the main module to amazon_store.pages.inc, so it only gets loaded on Amazon store pages.
This concept can be pushed further creating amazon_store.theme.inc or even more, but we'll start with this as a first step.
Comments
#1
Committed enclosed patch as a start: http://drupalcode.org/project/amazon_store.git/commit/153a066
There is probably more that can be split off, so I'm leaving this issue open.