Magento CMS Page menu

We can put this function in helper of any extension and call from theme. or you we can put this directly from theme. or create a file template/page/html/leftmeu.phtml and add block in page.xml (above or below breadcrumbs) then you can call from theme