Menu dropdown is not showing - php

I have integrated the yoo_pace theme of YOOTHEME in a site which joomla version is 2.5.6. To show submenu items I have made all the require changes to the main menu module, like show submenu to yes, start level 1 and end level all. Inspite of all the changes, the submenu items are still not coming when I hover a menu which has its child items. Please give a solution.

Had the same problem with another yootheme. Submenus did not show on hover.
What fixed it for me:
Go to the Module Manager, edit your menu module.
In the Details section of the module, the first 3 items are:
Title
Show Title Yes/No
Position
Changing the value of 'Position' fixed this for my setup. This value determines in what template position your menu module will be shown. In my case this value was set to 'menu'.
The dropdown list shows Template names, and below each template name a number of position items. The value 'menu' in various form showed up several times in my case, for example as a position of the Yootheme template, but also as a position at the bottom of the list, below the heading 'Custom Position'. In my case the value was set to Custom Position -> menu.
I changed this value, by going through the list and going to the positions listed under the Yootheme template. This showed a value called 'Menu [menu]' . I selected this value, saved the module settings, reloaded the page with the menu and submenu's showed up on hover!

Related

How can I present subcategories within a parent category in prestashop?

So as you can in this image, you can hover over the nav button 'Eliquids' and 4 categories will show up in a drop down.
All my products are contained within those four categories, however, if you click on the word 'Eliquids' it's self, it takes you to an empty page being as all the products are stored within their respective category.
On the left you can see the categories being displayed in a side navbar.
How can I make it so all four sub-categories (Chef's Blends, steamgunk etc) show within the category 'Eliquids' ?
Is this possible via the back office as I can't seem to find it my self. Otherwise, is it a case of editing the source code ?
Version: Prestashop 1.6.0.9
Theme: Prestashop default bootstrap theme
You need to configure that a the "Theme configurator" module. There is "Display subcategories" at the bottom at the "Configure" page.

Joomla K2 change read more link in a duplicated module

i am working with Joomla 2.5 and K2, in a template i bought.
1st.
i got a an accordion module that display several items into the main page, when i click on any of its elements it redirects me to: http://uxmalrecordscom.ipower.com/index.php/component/k2/item/452-the-dream-master which is correct. (.../index.php/component/k2/item/...)
2nd.
I set this same module to appear into another page called Discography, and when i click in any of the accordion elements it sends me to: http://uxmalrecordscom.ipower.com/index.php/discography/item/452-the-dream-master this URL is different than the first one and is causing me issues to display the content of the Item. (.../index.php/discography/item/...)
My querstion is how can i change the URL for the second case the "Read more" links to avoid display the content of the item in the same page or main menu seccion? or how to make the 2nd to have this kind of URL (.../index.php/component/k2/item/...) instad of (.../index.php/discography/item/...)
Note: Its the same module used on 2 different pages.
Thanks!
The way to solve this is to create a new Main Menu item called "Digital" then select as menu type = "K2 categories" and select the "Digital" category, this will cause all the K2 items listed under "Digital" displays on a different URL so now the url is (.../index.php/digital/item/...) instad of (.../index.php/discography/item/...) and is working awesome!
Hope this can help someone, this solved the problem to me.

Wordpress: open page at bottom of parent page

I've been struggling with this for a couple of days now and can't think anymore.
I've created a template for a particular page for event menus and within that page I have a sub menu. This sub menu has event menus. For the purposes of example: Item 1, Item 2 and Item 3
These menu items are their own pages.
The submenu should open the pages in this template. Page layout example below:
Header
Main Nav
Banner Image
Content for Events
Event Menus (Item 1 | Item 2 | Item 3)
Menu Content
Footer
Menu Content switches out by clicking on the menu items, but the Content for Events stays static.
I currently have it working by adding a $_GET variable to the end of the links, but I've hard coded the menu. I don't want this because then the client can't make their own menu changes and edit their menus. (The amount of changes so far has been ridiculous.)
I've put the Event Menus and Menu Content into another nested loop, theoretically so it reacts inside the loop, though initial tests with this have failed.
I'd really like to keep the dynamic nature of Wordpress' menu system, but can't get this to work without hard coding.
At this point I'd be happy with direction on where to research.
Thanks.
If your HTML for the menu content is not too unwieldy, you could potentially drop each menu into a Wordpress Page, where the client could edit it. Simply create a Wordpress page for each menu, drop in your menu content, save it, and make a note of the Page's ID number.
Then, in your template, you can pull in the menu content by getting the Page with something like this:
<?php
// Menu One is content in Page ID # 14
$menu_one = get_post(14);
echo apply_filters('the_content', $menu_one->post_content);
?>
For your reference, get_post on Wordpress Codex: http://codex.wordpress.org/Function_Reference/get_post
On your actual page, what you could do instead of using a GET to grab each menu, is just go ahead and load all 3 menus on page load. Using CSS, you can hide the two you don't want at first and just show the default one. Then using some JavaScript events on the menu item links, you can show the clicked-on menu and hide the other two.
I've put a few notches in my oop and WP programming since asking this question. I think the better way to do this is a custom post type and change the wp_query object with parameters based on the link which can probably just be controlled by post ID. But it would still allow for a menu to be added to the "archive" page that controls the posts. Ultimately allowing client control of the menu, but still having a dynamic ability.

Creating an additional mainmenu in another module

I am trying to create a horizontal menu, just like the one in my main menu position (in fact I want it to look identical). I have setup a menu module in the position I would like and added the class-suffix that applies to my main menu. The first 'level' of the menu displays correctly, however, the dropdown box submenu items are covered by the modules below so I cannot see or choose the items. I just want a menu that looks identical to my mainmenu in another position. Is there an easy way to do this? Do I need to change how the position 'styles' menus and if so, where do I do this (css files, php files)?
Thanks.
The problem sounds like you have a z-index issue with the modules below the menu. Depending on the position of the code and the CSS you will need to make some changes to put the menu module above the items that are covering the dropdown menu.
If you want a specific answer then you need to give us a link to the page.

How to add same name menu items in joomla menu

On my Homepage I have 2 menus, for the top main menu initial element is "HOME". Now on my footer menu I wanted to start with the same menu item so i checked "Main Menu" from administrator and here it is mentioned like this->
HOME (Alias: home)
Articles ยป Featured Articles
So i created a new Featured article as "home" and it is successfully created. Now when attaching this to my footer menu I am getting this error -
Warning: Save failed with the following error: Another menu item has the same alias in Root. Root is the top level parent
Let me know what I am doing wrong, and how do I create Home menu item that do the same stuff, i.e on click return to the main site(http://localhost/mysite) currently main menu item is doing that and I want to do the same from the footer menu Home item as well but it is not creating successfully :( Help me plz
PS- Even "About Us" article that is on my main menu is not including at my footer menu with the same error.
If you want to use same menu item into multiple places like main-menu and footer. So you can use menu type called Menu Item Alias. To do this, create a new menu then select the menu type to Menu Item Alias as shown below:
Joomla 2.5
Joomla 3.0
Expand system link tab and select menu item alias
Then add the name you want and then from right side select the menu item that you want to show on this menu item like shown here:
Joomla 2.5
Joomla 3.0
Then save it. Hope this may help you.

Categories