Drop down Menu in Hippo

134 views
Skip to first unread message

Hetvi Kotak

unread,
May 24, 2016, 9:12:18 AM5/24/16
to Hippo Community
Hi,
Can anyone help me on how to create two level drop down menu using free marker template language for gogreen-iteration-2-3.2.0 community version of HIPPO. I have gone through the drop-down menu on right side of the About page of Go-Green site but could not find much information on creating two level drop-down menu for Navigation of the Go-Green site for hippo community edition such that whenever mouse cursor is hovered on any Menu item, is should expand and show the level one menu and level two menu inside it.

I will appreciate if any help is provided on this.


Regards,
Hetvi

marijan milicevic

unread,
May 24, 2016, 11:11:38 AM5/24/16
to hippo-c...@googlegroups.com
Hi Hetvi,

you just need to have appropriate javascript/css and render menu markup expected by javascript/css implementation. 
This should be your choice, by default we provide bootstrap css so you could try using bootstrap navbar, described here:


cheers
marijan


 
Regards,
Hetvi

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Hetvi Kotak

unread,
May 25, 2016, 1:44:44 AM5/25/16
to Hippo Community
Thanks Marijan for replying and sharing the link. 
I am interested in knowing about the code that help me fetch the menu items from HIPPO Repository. I have added node of  menu items for first level menu and second level menu in the "http://localhost:8080/cms/console/", and I have created the Free marker template (i.e. .ftl file) for rendering that first level and second level menu on the site. 
But in the template I am unable to retrieve those menu item nodes from repository.  I have edited the bootstrap.css and added required div tags. So I appreciate if you can help with the code to retrieve menu item nodes from repository.

I am attaching the snapshot here so that you can have idea.
Menu.png
FTL template.png
Reply all
Reply to author
Forward
0 new messages