The next thing we need is to make the little menu to the left on the page work as our submenu. I also prepared the GoLive template for this by adding comments:
<table border="0" cellpadding="0" cellspacing="0" width="150">
<!--###MENU_LEVEL1### start-->
<tr height="21">
<td height="21"><a href="#Anchor_faq2">FAQ 1</a></td>
</tr>
<tr height="21">
<td height="21"><a href="#Anchor_faq3">FAQ 2</a></td>
</tr>
<tr height="21">
<td height="21"><a href="#Anchor_faq4">FAQ 3</a></td>
</tr>
<tr height="21">
<td height="21"><a href="whatsnew.html">FAQ 4</a></td>
</tr>
<!--###MENU_LEVEL1### stop-->
</table>
This is much easier than the main menu. Just one thing bothers us: How will Typo3 select pages from the second level of pages on the site? This is done by the .entryLevel property of the HMENU object.
Just insert this in you template right after the previous menu:
subparts.MENU_LEVEL1 = HMENU
subparts.MENU_LEVEL1.entryLevel = 1
subparts.MENU_LEVEL1.1 = TMENU
subparts.MENU_LEVEL1.1.NO {allWrap = <tr height="21"><td height="21"> | </td></tr>
}
This is how the template-record looks now:
Click on the link "Simple page" in the frontend and you'll see this: