panteehoe Posted September 30, 2011 Share Posted September 30, 2011 Hi, I'm trying to make a module that will allow to change some settings for the categories. For that i need to list all the categories in a drop down menu in the backend. Any ideas how to do this? Or code snippets? Big thanks. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 1, 2011 Share Posted October 1, 2011 Did you look at the Categories module to see how it's done there? Link to comment Share on other sites More sharing options...
panteehoe Posted October 1, 2011 Author Share Posted October 1, 2011 Well, I did, but I'm used more to the Wordpress kind of user friendly code and I can get my brain to understand it:( Link to comment Share on other sites More sharing options...
Richard S Posted October 2, 2011 Share Posted October 2, 2011 Just open /classes/Catgory.php and look trough methods. You will find two or three methods to get the information you want. There is one method that return everything about categories and one which only returns id_category and the name of it. 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