开发者

Developing Component: Error With Menu Item

I'm trying to learn how to develop a Joomla component, according to this tutorial: http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!1.6_-_Part_01

I'm on Part 4. My problem is that I build the component and zip it, then install. But Joomla adds -"component" word after my component's name, in folders and in menu item.开发者_开发问答 For example, let's say my component's name is "stack". So it's "com_stack". I build it that way, when I install it, folders in /components and /administrator/components are "com_stackcomponent". And the link under Components menu is "administrator/index.php?option=com_stackcomponent" So it doesn't open it.

I can manually change folders' names, but how to change the link under menu?

Or, how to solve it from the beginning?


Its doing that because you stopped at step 4 of 17 steps. A few steps later it explains how to properly name the component.


To fix the link in the menu, go to phpMyAdmin and search for "stackcomponent", then edit accordingly.

Unfortunately its not really a solution to your problem - I've not used Joomla 1.6 so don't know why it would be doing that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜