why i lost name of my my new joomla hello world extension in components menu?

社会主义新天地 提交于 2019-12-13 07:28:44

问题


I just made my new joomla3.1 hello world extension using discover extension method i install it. BUT after installation i am unable to locate extension name in joomla component menu.

i already tried this link its working fine.

http://localhost/COM/administrator/index.php?option=com_process 

anticipating helpful response

<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<extension type="component" version="3.1" method="upgrade">
    <name>COM_PROCESS_NAME</name>
    <author>Arslan Tahir</author>
    <creationDate>25 DEC 2013</creationDate>>
    <copyright>GPL</copyright>
    <license></license>
    <auhtorEmail>aaa@outlook.com</auhtorEmail>
    <version>1</version>
    <description>COM_PROCESS_DESCRIPTION</description>



    <administration>
        <files>
        <filename>index.html</filename>
        <filename>process.php</filename>
        </files>
        <menu>COM_PROCESS_NAME</menu>
    </administration> 
</extension>

回答1:


I have had this a couple times where the menu item was disabled because of disabling/uninstalling a component and then it not reappearing when the component was upgraded or installed. Likely there is a menu item for it in the #__menu table. Search the table for your component's name (com_helloworld?) as the title. Should find an item there. Make sure that published is set to 1 and that the component_id matches the id for the component in the #__extensions table.




回答2:


You would need to create a new entry for your component in the #__extensions table.



来源:https://stackoverflow.com/questions/18986989/why-i-lost-name-of-my-my-new-joomla-hello-world-extension-in-components-menu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!