hakuna23 Posted June 12, 2012 Share Posted June 12, 2012 Hi I hope somebody here can help me, because I have no idea how to do this. How can I access cms category id in tpl file? I've got a foreach loop that goes through every cms page (like this in blockcms.tpl file) and I want to check for every page it's category id. In db there is cms_category_id field, but how can I get this value in tpl file? Thanks for any response to my topic. Link to comment Share on other sites More sharing options...
phrasespot Posted June 13, 2012 Share Posted June 13, 2012 Look at Link class (/classes/Link.php) methods. You will need to use/assign it in the controller/module displaying the template. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now