| Monday 23 November 2009 5:30:49 am 
                                                                 What you have done is not very far from the minimum amount of work required. The way I would have organized it: - some php class or function that calculates the stuff you need - a template to show it - a new module/view that binds those 2 things together for the homepage, you could have: - create a tpl operator (or even better a fetch function) encapsulating the new business logic; no need for a class override/new class, just override the template for full view of node 2; in the overridden tpl call your new operator and include your new template - instead of adding your 'block' directly to the homepage template, added a new attribute, eg. of type "string" to the homepage. Then use a datatype override template to inject the calls to the new tpl operator + inclusion of new tpl. This way you could have eg. put the twitter feed ID as value of the new attribute Principal Consultant International BusinessMember of the Community Project Board
 |