On the form tab of the document there is a menu group. By default there are three options. If you want to add more modify the document type and add them to the list. Then in your listing viewer that is displaying your menu, set the where clause = MenuItemGroup = 'Footer' OR MenuItemGroup = 'Both' or whatever your values are.