user2980415
user2980415

Reputation: 67

Need help to create component page inside joomla 3.5.1 admin panel

I want to create a basic joomla component for some custom functionalities. I already followed Create component in joomla

But its not working for me. Its showing: Warning: JInstaller: :Install: Can't find Joomla XML setup file. Error: Unable to find install package

Please Help me...Thanks

Upvotes: 2

Views: 128

Answers (2)

Amit Ray
Amit Ray

Reputation: 3485

You have created xml file with this

<?xml version="1.0" encoding="utf-8"?>
<install type="component" version="2.5.0">
<name>cust</name>
<creationDate>2016-06-07</creationDate>
<author>cust</author>
<authorEmail>[email protected]</authorEmail>
<description>This is bhaskar Page Joomla Component</description>
<files folder="site">
<filename>cust.php</filename>
</files>

<administration>
<menu>Custom Event</menu>
<files folder="admin">
<filename>cust.php</filename>
</files>
</administration>
</install>

Whereas it should be

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.5.0">
<name>com_cust</name>
<creationDate>2015-05-13</creationDate>
<author>cust</author>
<authorEmail>[email protected]</authorEmail>
<description>This is bhaskar Page Joomla Component</description>
<files folder="site">
<filename>cust.php</filename>
</files>

<administration>
<menu>Custom Event</menu>
<files folder="admin">
<filename>cust.php</filename>
</files>
</administration>
</extension>

You have to use "extension" for Joomla 3 xml files instead of "install" which was used till Joomla 2.5. List of changes made in Joomla from 1.7 to 3.4.7 version is listed here

  1. https://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_1.7_and_Joomla_Platform_11.2
  2. https://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_2.5_and_Joomla_Platform_11.4
  3. https://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_3_and_Joomla_Platform_12.2
  4. https://docs.joomla.org/J3.x:Backward_Compatibility_in_Joomla_3.4.7

Upvotes: 1

sandeep soni
sandeep soni

Reputation: 303

It is a little bit typical to create component by read doc. It need to much effort in component creation. some time i use the below site by which we can create component.

https://www.component-creator.com/en/

But remember if you want to only create component then it is fine. But for learn you need to read Joomla doc properly.

Upvotes: 0

Related Questions