To add admin menu in install.xml

Discussion in 'Subrion CMS Packages Discussions' started by akcadogan, Dec 12, 2016.

  1. akcadogan

    akcadogan New Member

    Last edited: Dec 12, 2016
  2. Andrew_G.

    Andrew_G. Staff Member

    Greetings @akcadogan ,

    As I understand you want to add an item like Autos to the left panel of the Subrion Admin Panel after installation of package. If so then you need to add the code like below to the ../packages/YOUR_PACKAGE/install.xml file:
    HTML:
    <groups>
        <group name="new_item">New item title in menu</group>
    </groups>

    <adminpages>
        <page group="new_item" name="new_item" url="new_item/" menus="menu">New item page title</page>
    </adminpages>
    where new_item shoud be replaced with your item name.

    I.e. if you edit existing page you'll need to insert <group> tag inside <groups> tag and <page> tag inside <adminpages> tag.

    Please let me know if you have any further questions.

    Thanks for your interest in our software products!
    akcadogan and Dayir_A. like this.
  3. akcadogan

    akcadogan New Member

    Thanks for the answer.
    I want to create my own extensions and packages. Unfortunately I can not get enough documents about the tags used in the install.xml file.
  4. Dayir_A.

    Dayir_A. Staff Member

    Andrew_G. and akcadogan like this.
  5. akcadogan

    akcadogan New Member

  6. Dayir_A.

    Dayir_A. Staff Member

Share This Page