Disable Navigation Items

  • Hi folks,


    in i-MSCP 1.2.2 it was possible to edit the /var/www/imscp/gui/themes/reseller/navigation.xml file to disable navigation items with <visible>0</visible>. Now there arent any *.xml files but concurrent *.php files. But if i put a 'visible' => 0 to the variables it doesn't do anything. Is there anything i'm missing or is there another file i can edit to disable specific navigation items.


    Greetings.

  • @m.mirzayev


    Hello ;


    This is still possible but the files are now cached for better performances.


    In order you must:

    • Edit the navigation PHP files (which are replacing the old xml files)
    • Go to the admin / settings /Languages interface
    • Click on the Rebuild language index button

    This will:

    • Flush the opcode cache if any
    • Remove any cached navigation file
    • Rebuild language index

    Then, on next load, you'll see your changes.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Is the 'visible' => '0' right in here? I can't really manage to disable any items.
    Even full deletion of the block Statistics in navigation.php has no effect on the menu.

  • @m.mirzayev


    Please, read my previous post !

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    You're right... opcode cache is not reseted when rebuilding language index. I'll fix that.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206