I'm seeing now (2) navigation menus on my site when I upgraded my drupal with latest core update (Drupal 7 latest).
Shown below:
This is showing the same links, just the first in nice styling, the other in a plain html dropdown (the undesired one)
I am using the drupal classic theme
I'm search in the code, through numerous menus, etc. to try to remove it and nothing seems to give.
What is causing this? Any help is greatly appreciated.
Thanks.
Go to Appearance, and check if you have proper settings for your menu: for odd reasons they might come up in your active theme...
Related
I'm using drupal 7 in my website, today i did an update of all the modules and after that the submenus dont showing, I have checked "Show as expanded" so, where is the problem?
When i login as admin, the submenus work, but when i refresh the page after, the submenus dont work
This is my webpage http://www.empleobelux.com/empleo/
Thank you very much!
The menu doesn't have the classes that the superfish module's javascript is looking for.
Finally, i fix this problem installing the superfish module and their library. I has had to place one superfish menu block at the page.
Now i'm getting another problem with the slider, it seems like the problem is because the jquery version has been updated and the function .browser does not work now. I have loaded the files jquery migrate and the problem persists.
http://blog.jquery.com/2013/02/16/jquery-migrate-1-1-1-released/
I am having a specific issue with my wordpress site that I'm trying to resolve.
The site is at www.dontforgetthebubbles.com
As you will see the homepage looks fine.
But many posts are not displaying correctly. As an example:
http://www.dontforgetthebubbles.com/2013/08/cradle-cap/#
The menu columns are all showing simultaneously (hover over 'Clinical' and compare this to the home page to see what I mean)
The 'toggle' button is not working (see http://www.dontforgetthebubbles.com/2013/07/intubating-with-stridor/ for an example of a post where it does work correctly).
I think the issues are related to more recent posts (and the older posts are ok) but it is affecting around 15 posts.
Could anyone suggest what my be causing this?
Thanks
You must have a CSS or plugin causing conflict. I can see that you're loading many stylesheets. Probably have a lot of plugins? Try disabling them one by one, beginning with the most recently installed to narrow it down.
Check all the Javascript files. Looks like some are missing on the pages with the problems. For example, superfish.js or sprite.js. My guess is one of them handles the dynamic menu features with is why <ul class="sub-menu">...</ul> under Clinical doesn't have by default the display:none property unlike your home page.
I`m rebuilding my old website into drupal 7.
I decided to use the drupal bootstrap theme, because my older website also uses bootstrap.
Bootstrap theme
By default the drupal navbar is included in this theme, but one thing is missing. It doesn't support the active css class. Altough the mouse over works fine, i'do need a way to make links active, depending on what page is visited. So for example if the main page is visited, the class should change into active, like the images shows right here.
I know there are some ways to do this with jquery, but the solution i found don't seem to work on a when i fully change to page. On my old website i added and removed the active class using the url, but since my goal is to make it easy to add and remove pages i don't can come up with an idea to do this.
I've found out that the drupal menu_block module adds the active class, so that's been solved. Tough now i`m stuck at a new problem, which has to do with the default block style, i asked it here.
I've inherited a Drupal 7 site from someone and have come across a really irritating bug that I'm hoping someone can help with, for some reason if I empty the Drupal cache all the left hand menus on the site disappear. The menu is put together using menu blocks and all the settings for the block and the menu itself look correct i.e. the block is in the correct region, the menu block is attached to the correct menu and the menu has all the pages on the site in it.
In the backup of the database the cache_menu table has about 40,000 entries, if I clear it and click around the site it never goes above 40 so for whatever reason it's just not re-generating the menus.
Does anyone have any ideas what might be happening and how I can fix it?
Are you clearing the cache_menu entries manually? I'd recommend using drush—
drush cc all
Or go to settings/performance and clear the cache.
Managed to fix this, turns out there's a bug in the menu block module (I was using 2.2) so upgrading it fixed the issue.
I am using drupal for the first time. I have successfully developed my first drupal website to a certain extent. I have used my own custom theme for the front-end and blue marine theme for administrator. Now my client's requirement is that when he clicks on preview button before submitting the page in admin panel, he wants to see the preview in a pop-up window with the front-end's theme. Please help me with your ideas and suggestions on how to achieve this?
When you set the administration theme, leave the "Use administration theme for content editing" unchecked. This should allow content creation / previewing in the "front-end" theme.
EDIT: Assuming you are using Drupal 6.x
Have you seen this module - http://drupal.org/project/pagepreview it aims to give you what the page will look like on the front-end theme.
There are some caveats though, for instance the menu will not be correct if this is a new node
As far as I know Themeing is a complicated process in Drupal, it involves many modules and hooks, so I don't think it's an easy task for a module (maybe) to do that, or in core like Wordpress.
I'm working on getting a nice solution to this too. I won't post the code yet cos it's a work in progress, but essentially I make an ajax call to retrieve a known node and then replace the node content of that page with the content of the preview box before showing the merged page in a popup window.
If it works out alright I might make a module out of it.
This might help: https://www.computerminds.co.uk/drupal-code/making-accurate-responsive-node-preview-drupal-7
Patches the Page Preview module with some of the Responsive Theme Preview modules functionality for viewing the page at different screen sizes in the preview panel.
Page preview's caveats still apply though.