I am building a multilingual site using Joomla 3.1.5 and am having trouble in getting the menu item for the active page to be higlighted in the English version only.
By inspecting the HTML source I can see that the active menu item (a HTML li tag) has css classes "current active" in all languages except English. In the English version of the site, none of the menu item would be selected. I am totally lost in fiddling with the settings and wonder if anyone has any idea on this issue?
I found the answer myself. The menu being wrongly shown was the one from "ALL" language, once I unpublished the "ALL" menu, the real "English" menu got shown up correctly with the active one being marked with css class "current active".
Related
The site I'm working on has its main menu in the "Navigation" section in gantry. I have another 2 menus on the page (in the "header" area), though they don't actually link anywhere. They exist as "text separators" that show a module in the dropdown box that shows when the "link" is hovered over (so one is a spyglass that shows the search module in the dropdown).
When i shrink the screen size, gantry eventually causes the menu to disappear an then enables the mobile menu, accessed by the burger button.
The problem is, instead of hiding the actual main menu in the navigation section, it's hiding the first "fake" menu search button in the header section.
I can't see anywhere to set which menu is the one that should be hidden. How do i do this?
Been stuck on this since yesterday. Finally caved and post about it on this site then find the answer 20 minutes later, naturally.
I needed to check the box marked "Mobile Target" on the menu i want to be the one to be hidden. I thought this did something else so never tried using it but it seems so obvious now.
I followed this tutorial to create some hidden aritcles with a hidden menue assigned to them http://docs.joomla.org/How_to_control_m ... _menu_item
If you go on this site http://fonag.org.ec/inicio/el-agua.html you will see a picture. Clicking on the paw in the picture (bottom left) is supposed to result so show a new picture, with the same appearence of the site. But clicking on the link, the site changes completly. The top images goes away as well as the menu on the left.
I assigned the same modules which are assigned to "El agua" to the hidden menue as you can see on this screenshot
http://s12.postimg.org/oydbyj7vh/module_Manager.png
In fact, both menus have the same modules assigned as you can see here
Hidden Menu
http://s12.postimg.org/9bm2l5u3h/hidden_Menu.png
El Agua
http://s12.postimg.org/lc7ilw1i5/el_Agua.png
Why is it not displaying? Working on Joomla 2.5 here.
Solved it.
AS you can see in the screenshot the Menu Item is not published.
In order to work properly, it needs to be published.
Do not assign any moduls to the Menu (but to the menu item). That way, the menu stays hidden while with the assignment of the modules to the menuitem position and appereance can be controled.
Hope that will help someone in the future.
The Joomla! 3 administrative console in my installed version (Joomla! 3.1.5 Stable) plus at least a Joomla! demo web site showcase menus that don't switch to an article if you press them, but present only the drop-down menu at first. The rendered article (i.e. the content below the menu) only changes once a menu-item is selected/clicked.
For instance, visit demo.joomla.org. The content below the menu reads "Joomla! is a free, open source content management system ..." Now if you press e.g. "Joomla!" inside the menu, a drop-down list appears, but the cited text does not change yet. Only if you press a particular menu item it changes (currently e.g. to "Joomla! 2.5.16 Released ...").
I would like to accomplish the same behavior in a Joomla! 3-powered web site but haven't yet been able to do so. On my site (sorry, not yet available to the public) clicking a menu of this kind brings up the article, and so far I have found no way to prevent that. I'm referring to articles because my menus are of type "Single Article". I've looked at other menu item types too but they did not seem to offer a solution either.
So can the behavior the demo site's menus be accomplished (without installing further extensions), and if so how? After all, the demos are surely hosted on Jooma! servers :) Perhaps this is a matter of choosing an appropriate template? But then, the solution does not seem obvious and googling reveals different opinions as to whether this is/was possible at all.
UPDATE The following is a depiction of what I get when changing the menu item type for "Open Source" from "Articles | Single Article" to "System Links | Text Separator": it now looks odd and no longer seems to function as a menu (no drop-down effect). In the HTML source the CSS classes assigned to the three menu items are "item-x current active", "item-y divider parent", and "item-z parent" respectively. (Why isn't "Open Source" marked active?)
UPDATE I am using the protostar template (marked as Default for Site under Extensions | Type Manager).
Create the top-level menus as System - Separator; this means they have no link attached, but only serve the purpose of organizing (sub)menu links.
Then when you click them, based on the setup of your menu module, they will show the sub-items. Beware, the most common behaviour is not to wait until clicked, but simply show the submenu items when hovered (when you bring the mouse over them). But the event they respond to depends on the module (mod_menu), its template override, and other scripts your template may load.
Update:
If you're using mod_menu, in the module list it will be listed as Menu; if you were using another menu module, I guess you would remember installing it :-)
I am not a protostar / twitter bootstrap fan so I can't help you much on it, but dropdown menus are definitely supported, I just tried putting the menu in the position navigation, with
"Menu Class Suffix" = " nav-pills nav-dropdown"
and it worked correctly with dropdowns on hover. As per having dropdowns on click instead of hover, look at this guide
I upgraded my website from Joomla 1.5 to 2.5.4, however, the menus seem to have disappeared. I was using a 1.5-only template previously, but the jUpgrade process has defaulted to pre-installed templates which is fine - but no menus! I've tried installing a few random other templates but all have the same issue.
FWIW most of the menu links are broken but I fixed a couple just to check, but no joy. The migrated site is still in its subpath which is I assume why components themselves aren't working.
As best I can tell, I followed the instructions in the Wiki on the Joomla site.
Any ideas? Thanks.
http://www.simsig.co.uk - original site
http://www.simsig.co.uk/jupgrade - migrated site
The most likely cause is that the menus were displayed in module positions specific to the template you were using in Joomla! 1.5 and that your Joomla! 2.5 template doesn't have matching positions. Alternatively the migration process didn't update the menu module positions properly and it's looking for the positions in a specific template.
Open Extensions->Module Manager then from the Filter options select Type->Menu to see just a list of menu modules. Check the positions they're assigned to by opening the menu module and selecting a position by actually clicking on the "Select Position" button and clicking on the right position in the currently used template.
To help make the choice easy you can filter down the options by selecting your current template from the pop-up menu in the top right of the "Select Position" lightbox that opened when you clicked "Select Position".
jUpgrade does not transfer the menu items from 1.5 to 2.5 properly. Those have to be recreated.
I have custom HTML & other modules on homepage which have been marked to display only on homepage. I also have articles on homepage with "read more" links.
Problem is that when I click on these read more links page opens with all the homepage modules still there and article is displayed below these modules.
I have checked setting all the modules are marked to display just on homepage, yet they get displayed on articles pages too.
Please help.
Those articles become "children" of the page you are viewing, so that's why you see the modules there.
I had that problem before, it's related to Itemid I guess.
You can use Advanced module manager to assign those modules ONLY to the homepage.
EDIT:
Manual solution without using the AMM extension.
you MUST publish the category that your articles belong to in ANY joomla menu so that those articles get their own item id because they are children of that category.
this is a default Joomla behavior since 1.5
Every article needs to have a menu item or a parent menu item, IIRC, and if it doesn't find one, its parent menu item is the default menu item (the front page menu item).
So to fix this, you need to make sure that every category has a corresponding menu item, so that every article's parent menu item is not the home page. This works because every article has a category ("uncategorized" counts as a category).
Create a hidden menu, and then create one "Articles ยป Category List" menu item for each category.
You can find more documentation in the wiki page entitled How to control module display when linking to an article with no menu item.
Here is an explanation of the joomla item id problem and a fix
http://www.joomlabamboo.com/blog/tutorials/how-to-avoid-the-joomla-menu-itemid-issue
When articles do not have a menu item they show the modules assigned to the page they were linked from, in the same way if you had a blog category menu item you would expect any blogs under that menu item to show the modules assigned to the parent without having to assign them to each and every post.
This is a big problem when you have a homepage which hides the component output as any further items just show the homepage with a different url.
I had the same problem, and installing the Advance Module Manager (AMM) did solve my problem. All I had to do was go to the specific modules that I had chosen to display on the home page (Based on the standard Joomla settings), then under the "module assignments" options of each module there were new settings (From AMM) that had a section for "Home page", I chose the setting "Include" (Default is "ignore") on each of the modules.
What this "include" does, is that it ensures that only the homepage (your true default directory, rather than the Joomla article chosen as "feature/homepage") is the one that features the modules chosen, and not children articles, or others (which was my problem)
I had the similar problem and found this article to be a great point to start:
How to control module display when linking to an article with no menu item
It works for J 2.5 and 3x
Personally I used the Metamod extension to control Joomla modules display.
It requiers a little bit of code understanding, but greatly helps when you figure out...
I used the follwing php snippet in my custom Joomla 3.3 template:
if (
$_SERVER['REQUEST_URI'] == '/' or
$_SERVER['REQUEST_URI'] == '/index.php' or
$_SERVER['REQUEST_URI'] == '/home.html') {
echo 'homepage html'
} else {
echo 'non-homepage html' }
I had this same problem with the modules such as "most popular" and "recently added" and the problem was solved when I checked out the language of the articles and changed the ALL to ENGLISH, or FINNISH etc. After that, everything worked like I wanted to. Hope this will help you too..