1
Just a quick question regarding mypage html content wrapper. I have tried to add two submenus to the exisiting submenus below by copying the existing $modversion lines and then numbering them [3] and [4] respectively. However when I access the site and log on, a blank page appears with the message T_STRING problem in line 26. If I delete the new $modversion lines I added, the page reappears. Any ideas how to add further submenus to this list? I'm a PHP newbie, so trying hard to get a handle on all this.
Thanks in advance.
PH
-----------------------------------------------------------
Existing Code:
$modversion['hasMain'] = 1;//0 to remove from main menu
$modversion['sub'][1]['name'] =Mission;//define in language/english/global.php
$modversion['sub'][1]['url'] = "../../modules/mission/";
$modversion['sub'][2]['name'] =Leadership;//define in language/english/global.php
$modversion['sub'][2]['url'] = "../../modules/leadership/";
Converted to add two extra submenus, but does not seem to work:
$modversion['hasMain'] = 1;//0 to remove from main menu
$modversion['sub'][1]['name'] =Mission;//define in language/english/global.php
$modversion['sub'][1]['url'] = "../../modules/mission/";
$modversion['sub'][2]['name'] =Leadership;//define in language/english/global.php
$modversion['sub'][2]['url'] = "../../modules/leadership/";
$modversion['sub'][3]['name'] =acc statement;//define in language/english/global.php
$modversion['sub'][3]['url'] = "../../modules/mission/";
$modversion['sub'][4]['name'] =History;//define in language/english/global.php
$modversion['sub'][4]['url'] = "../../modules/leadership/";
------------------------------------------------------------