Okay, I am trying to figure out how to create modules. I used the module creator found here:
My module namespace / name is Xyz_News. It is found in /local/Xyz/News/
I have customized the database and form to fit my needs so I can view / add / remove news items from the database using the Magento backend. Now, this is where I am stumped:
I want to create another database table related to news and manage it. The table would be “news_sources” This is what I have figured out:
1) How do add an additional menu item in the backend “Manage News Sources”
I know, short list. I have copied everything in the /local/Xyz/News/ folder and changed “News” to Sources. So, for example, in addition to /local/Xyx/News/Model/News.php I have /local/Xyz/News/Model/Sources.php too.
And, in addition to the model class Xyz_News_Model_News I have Xyz_News_Model_Sources.
However, none of these files seem to be getting picked up by magento. So, when I go to:
http://www.mystore.com/index.php/news/adminhtml_news_sources/ I get a 404 error
Can anyone shed some light on this?