i was writing the code in the DESIGNsection of the cms page and not the CONTENT!!
i am an idiot!! made up i got this working
ps. it was a man on the stackoverflow forums who figured this out. i think that stackoverflow is more active with regards to magento than magento’s own forum :s