Changed config.xml added blocks and path, changed block type, changed the template footer - added a php function