Creating a simple footer navigation menu

Kayla Johnson asked on August 19, 2014 21:01

I'm trying to create a simple footer navigation menu with 3-4 links. None of the solutions I've found work or seem too complicated for what I want.

I have a css list menu web part in my footer and I have the path set to /% From what I've heard, I set the WHERE to MenuItemGroup = 'footer' but nothing gets displayed with this same with MenuItemGroup != null. I have three pages whose Menu Group is set too Footer menu.

I think I've heard of some people using a repeater. But that doesn't seem intuitive or practical. This needs to be easily changeable by the end users.

Correct Answer

Joshua Adams answered on August 19, 2014 21:10

Have you set the document types to show as well? It seems like your setup should be working just from what you have explained. Have you verified that there are items in the database with the MenuItemGroup value of footer? Try to set the doc type and then take out the where clause and make sure you have documents populating the list. Then try to get the where clause working.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on August 19, 2014 21:24

On top of what Josh mentioned, the CSS LIst Menu webpart only selects "published" documents. Are your documents using workflow? Are they published?

Regarding a repeater vs. a css list menu, by all means the repeater is way more flexible and it is as easy to use as the list menu. Most cases, the end user won't have any access to the webparts anyway, simply the content, so I wouldn't worry about the webpart you use as long as it does what you want.

0 votesVote for this answer Mark as a Correct answer

Kayla Johnson answered on August 19, 2014 21:31

Without the where clause, all the root level pages appear just fine. I don't know that I have access to the database..? Is "footer" the db value that's stored for the "footer menu" Menu group that's built into Kentico?

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on August 19, 2014 21:42

You can find what is stored by looking at the document type for the page(menu item) and going to the fields. On the fields, the field MenuItemGroup will have the values and the first items in the box are the values that are stored.

The values in the field by default are:(value, text) ;{$general.empty$} top;{$menugroup.top$} footer;{$menugroup.footer$} left;{$menugroup.left$}

Does your where clause look like this: MenuItemGroup='footer'

So just make sure that your documents have that footer option selected and see if that fixes anything. Also as Brenden suggested, make sure the documents are published. They must have the green icon, otherwise, the document isn't published and won't show in the list.

0 votesVote for this answer Mark as a Correct answer

Kayla Johnson answered on August 19, 2014 21:45

Apparently what I have is right. But it's not working with the pages I made yesterday. I added two more pages and set their Menu Group to footer and it works just fine...but not with the old pages... But thank you for your help issue resolved :)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.