fixed menu item generation

fixed: changed the setting variable on the configuration to
CUSTOM_MENUITEMS, but not updating the template with the new
variable names, causing the links to not appear.