Category Menu

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 10, 2010   (RSS)

By dsternalski - May 9, 2010

Hi,

I have used Category Menus across my site, so I have re-used the code for each section that uses this type of menu.

However, when trying to create the International page, I keep getting the following errors:

Notice: Undefined index: _listItemStart in C:\xampp\htdocs\jubileehigh\navigation\navigation.php on line 78

Notice: Undefined index: _listItemEnd in C:\xampp\htdocs\jubileehigh\navigation\navigation.php on line 82

Please can you help.

Re: [dsternalski] Category Menu

By Jason - May 10, 2010

Hi,

I think the problem here is that you're using getRecords() for $allInternationalRecords instead of getCategories:

Try replacing this:
list($allInternationalRecords, $internationalMetaData) = getRecords(array(
'tableName' => 'international',
));


with this:
list($allInternationalRecords, $internationalMetaData) = getCategories(array(
'tableName' => 'international',
));


Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/