Using list menu as navigation on detail page

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 12, 2011   (RSS)

Hi

I've set up a mutli menu type called products. I want the list of items in this menu to be displayed as a navigation menu on the content page.

The page to display is productsList.php. The code I'm using is:

// load records
list($productsRecords, $productsMetaData) = getRecords(array(
'tableName' => 'products',
));

I want to display the first record details e.g title and content when the user first goes to to menuList.php and then they can select what page to go to from the navigation list. I need to modify the code to achieve this, but it hasn't worked correctly for me yet. Can anyone help.

Thanks