This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I'm really enjoying using the static pages plugin so far. However the only problem I'm having is that the links for submenu items (when using the plugin's menu component) aren't working; i.e., the the second-level dropdown menu and links aren't displaying. The menu item shows the icon indicating there is a second dropdown available, but clicking on the item neither takes you to that page nor shows the dropdown menu. Is anyone else having this issue? It appears that the static pages demo theme also has the same problem. Any help would be greatly appreciated.
I'm having the same issue, the navbar has one level of sub-items, but that's all. Any levels under that have a caret on the item indicating there's another level there, but it's doesn't expand with a click or hover. The item is not clickable either, it just closes the menu.
Does anyone have a fix?
What is happening in the source of the page? Are there menuitems ? Maybe some Javascript or Css missing for displaying the dropdown. I've tested this plugin in themes: Multi & FlatUI. It works fine there.
You can have a look here. The source is a bit messy, due to the partial.
https://octobercms.iamnota.org/ (Note: self-signed SSL certificate)
I've done a fresh install of the CMS, created a new theme and deleted the demo theme. I then followed the instructions from https://octobercms.com/blog/post/getting-started-static-pages to get the left nav. I don't want a right nav, that will be search, or the blog.
I created these static pages (each indent is a sub-level):
Home
3 HP
Disassembly
7 1/2 HP
Disassembly
Repair
Inlet Valve Cage
Contact
As you can see, the nav works down to Repair, however it is not clickable, and it's child does not appear.
I've tested with FF and Chrome, and there's no JS errors on the console.
Edited 8 times to stop Markdown interpreting my indents.
Last updated
{# Note: Only one levels of sublinks are supported by Bootstrap 3 #}
That's what is written... but I'm sure it is possible to extent partials and check the for the next child...
maxDubovsky said:
{# Note: Only one levels of sublinks are supported by Bootstrap 3 #}
That's what is written... but I'm sure it is possible to extent partials and check the for the next child...
Hai,
Will you please explain how it is possible???
Hi, Check BenFreke menumanager plugin. After installation go to /plugins/benfreke/menumanager/components/menu/default.htm You will find a twig syntax on how to make html for 3rd level. But you will still need some extra CSS to be able to display it correctly. Write your own or take someone's as an example. I had no need to far to make it, I'm sure it exists. In my previous projects I've been using css drop down menu like here: http://griva.lv/en/
Evrything is work. Check my code.
If u need the subitems of u item use 'items'
(http://octobercms.com/plugin/rainlab-pages)
items - an array of the menu item subitems, if any. If there are no subitems, the array is empty
{% for item in item %} {% for subitem in item.items %} < -a href="{{ subitem.url }}">{{ subitem.title }}<- /a > {% endfor %} {% endfor %}
Last updated
1-8 of 8