Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dropdown menus not working
#1
I have installed several themes and accompanying plugins and the drop down menus do not work.
I was able to get Bootstrap3 to work and then the dropdown menu function stopped without any reason.  I did not changed anything on the site or on my web space.

Why do so many dropdown menu themes not work?  I use Net*****.com  But I have tried on 4 different server builds (all Apache2)
Reply
#2
Hi Danville, welcome to the get-simple cms forum,
Since this is your first post, please confirm you are a real GS user (prevent spam),
Tell us something more about your project so we can help in a better way:
- what plugins do you have installed
- what css or css framework are you using
- hosting php version
- the url to your project website
Reply
#3
(2021-10-10, 23:11:34)Felix Wrote: Hi Danville, welcome to the get-simple cms forum,
Since this is your first post, please confirm you are a real GS user (prevent spam),
Tell us something more about your project so we can help in a better way:
- what plugins do you have installed
- what css or css framework are you using
- hosting php version
- the url to your project website

I have the requisite basic installation and plugins that go with an initial installation
GetSimple Verision 3.3.16
Bootstrap3 Theme
Bootstrap3 Plugin
PHP 7.3.2
http://earthscienceiscool.net

Dropdown menus were working with Bootstrap3 ONLY and are not working now. 
There were no changes in the provider or set up.

What needs to be in place to have dropdown menus working in Innovation, Cardinal, and Bootstrap3 (as well as others)?
Reply
#4
Hi,

You have the jquery library called 2 times:
1) first time in the header
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js?v=1.7.1"></script>

2) second time in the footer
Code:
<script src="http://earthscienceiscool.net/theme/Bootstrap3/js/jquery-1.10.2.min.js"></script>
Reply
#5
What needs to be in place to have dropdown menus working in Innovation, Cardinal, and Bootstrap3 (as well as others)?

One of the great things about GS is that you can have all kinds of menus, any you can think of, but it requres the excellent I18N plugin and a little care. There is a simple summary at http://get-simple.info/wiki/multi-level_navigation. There are detailed instructions at http://mvlcek.bplaced.net/get-simple/mul...navigation

Typically for say 3 levels of drop-down/fly-out you need:
  1. Pages marked for inclusion in the menu and placed in the child-parent heirarchy
  2. I18N plugin to generate nested lists of menu links
  3. A template with the navigation links inserted by something like 
    <div class="sitemenu">
          <ul><?php get_i18n_navigation(return_page_slug(),0,2,I18N_SHOW_MENU); ?></ul>
    </div>
  4. CSS in a theme which will display the nested lists as drop-down/fly-out blocks on hover
  5. Very few themes work on CSS alone, so normally jquery or something needs to be included in the right place in the page
Innovation and Cardinal don't have CSS to display other than a simple list of links for navigation.
Reply
#6
Hi,
I noticed an access permission problem with a jquery library.
The website seems to work ok now.
Was it a permission problem or something else ?
Reply




Users browsing this thread: 1 Guest(s)