Custom Menu
I added a couple of submenu items under the Support menu tab and they display on the web page, but I cannot find those entries anywhere in the Powerstore source code files.
In the menu.php file (under webassist/plugins/main_menu), I found the following code where the Support tab should be.
<li class="parent top"><span><a href="../../../page.php?Custom Menu=1">
<?php echo WA_getCMSContent($PowerStoreConnection_i, 'Custom Menu', 'Menu Label', true); ?></a></span>
<ul class="level-1">
<?php
echo($WACustomPages->Body);
?>
</ul>
</li>
Is this the items I added? If so where is the code? I searched the entire PowerStore folder for key words in those menus and came up empty.
Ray told me I could add main menu items by editing main.php.
But I don't want to try that until I understand the code for the existing menu items.
Can you explain that code to me?