how to create custom component in joomla 2.5? Reviewed by Momizat on . Basic Structure of component Note:-no any file or folder should be empty Any folder administrator folder components folder com_mycomp folder index.html mycomp.p Basic Structure of component Note:-no any file or folder should be empty Any folder administrator folder components folder com_mycomp folder index.html mycomp.p Rating: 0

how to create custom component in joomla 2.5?

Basic Structure of component
Note:-no any file or folder should be empty

  • Any folder
    • administrator folder
      • components folder
        • com_mycomp folder
          • index.html
          • mycomp.php
    • components folder
      • com_mycomp folder
        • index.html
        • mycomp.php
    • manifest.xml

manifest.xml structure

<?xml version="1.0"?>
<extension type="component" version="3.0.0" method="upgrade">
  <name>com_mycomp</name>
  <author>Manish</author>
  <version>1.0.0</version>
  <description>This is my file</description>
  <files folder="components/com_mycomp">
    <filename>index.html</filename>
    <filename>mycomp.php</filename>
  </files>
  <administration>
    <files  folder="administrator/components/com_mycomp">
      <filename>index.html</filename>
      <filename>mycomp.php</filename>
    </files>
  </administration>
</extension>

Leave a Comment

© 2014 Powered By