Loading Sitemap in Footer

I've been hacking away at this for a while now, searching the web and the forums, and I can't seem to find a solution, so I thought I'd add it here.



I'm trying to load a copy of the sitemap in the footer. I've been building it as an addon called “footer_links”. When the page loads, the hook (index:footer_links) calls the template files just fine (myskin/customer/addons/footer_links/hooks/index/footer_links.post.tpl).



The problem is that there's no sitemap data to load on any page but sitemap.view. On all other pages, {$sitemap} is undefined.



I've dupicated the sitemap controller and functions in my addon folder with the following structure:



addons/footer_links/controllers/customer/footer_links.php
addons/footer_links/addon.xml
addons/footer_links/func.php
addons/footer_links/init.php




But from what I can tell, the controller is never being called. How can I get the site to load the {$sitemap} data on every page? Am I missing something obvious?



Thanks!