Joomla menu system & dropdown menu in template - php

I am trying to make a simple drop down menu system for my Joomla site. But Joomla menu is completely confusing me. How does a joomla menu work?
For eg: In the image below the whole blue bar is a menu? or each item like 'Projects' is a menu?
Now I can make two pages for Project 1 & Project 2 but where will the 'Projects' link point to? If it does point somewhere then incase of no JavaScript I'd like to point it to a page that shows a list of the menu items.
How do I place my menu at this place in my template?
Why is there a default MainMenu and why do I need to use a menu to show the main content on my site. Shouldn't menus be used for making menus. And I only needed a menu item to show my content not that whole Main Menu. The main confusion is the Main Menu.
I don't wanna use a module coz I couldn't find a good one for 1.7 that uses jQuery (All JavaScript on my site is done with jQuery) and I read somewhere it can be made within the template.
All I want is to somehow place menu items lists inside the respective anchors up top so I can just show/hide them as dropdowns with jQuery.
I hope I haven't made the question confusing pointing to what I need to make. It's just that I'm super confused myself.
Please help.
I appreciate the help.
Thanks Alot.

Joomla menus are generated thru modules. In most cases mod_mainmenu. Theese modules you place in module positions. If your menue should be horizontal on top, then you put your mod_mainmenu module in the position "top". Be aware that every template uses different position names.

Related

Order Pages in Wordpress

I am new to CMS development, I prefer the MVC concept for every job. But just know the client requested to develop a website built in WordPress. Everything is OK but I can't find to order pages in WordPress.
The case is: first I create a home page and then I create other pages, but the problem is every time I add new pages, it will be placed in my first menu.
So I want to move the home pages in first menu.
Please help, thanks.
You can create a custom menu (with the pages/links you want, and the order you want !). Then you can add that menu to be the new navigation menu (both header, and footer if you want)
References:
WordPress Menu (here you can find the step by step 'guide')
Just go to Appearance --> Menus and then you'll be able to create menus and edit at will. And if you need to create specific menus, see WP nav menu page. There you'll see several code samples, but you'll need something as simple as
<?php wp_nav_menu( array('menu' => 'Main Nav' )); ?>

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.

hide main content component for some menu items, joomla 1.7

I know how to hide the main component from the homepage, what I need is to do the same thing for all my menu items also. Basically, what I want is to create multiple homepages, so every category I choose has certain modules that display content.
How to show only modules, not the article when you click on a menu item (if it is linked to a single article)?
I know I can use some of the extensions that can embed modules to an article, but don't want to do it like that. I know that there are components that simulate homepages, don't want it like that either.
I hope my question is clear enough, I'm using Joomla 1.7.
I have found a simple solution!
Installed T3 framework, which allows the removal of main content component for the menu items you choose.

Javascript drop down menu for wordpress

I'm trying to create a javascript menu for my menu I posted a question the other day about a css drop-down but its just to tricky to do that.
Instead I'm thinking script, can someone give me a suitable javascript code that might work in IE? Here is a link to my test website.
I've tried various other jQuery, but they all rely on the parent ul being a class but as its dynamic content I'm not able to change this / don't want to because I would have to change it for each website and every other website I make. If you have a look at the source code on this website you can see what I mean. The website is quite well comented and you can view the menu online 128 roughly and I can't stress enough how this must be compatible in IE.
You can dynamically set the class with jQuery and then initialise the superfish menu. It works in IE6.
There are many plugins available 1-
Dropdown Menu Widget2-Wordpress CSS Dropdown Menu 3-Ryans Wordpress Dropdown Menu 4-Wordpress Superfish

how to make drupal pages into menus and submenus like administrator menu

I'am new to Drupal, i just want to create a website which contains pages like about us, contact us and other static information that may be changed after a long time.
Now i can create the pages and sub pages to main pages. The links are displaying on the top of the logo and the sub pages were showing on the side of the main page.
i installed the dhtml_menu module but not working.
are there any changes required to dhtml_menu module to make work for pages?
or
i need to use any other module?
please help me to solve this issue
Thanks.
Your question is pretty confusing. If you just want to display the pages in a tree just like the administration menu (which seems to be what you're asking), then you don't need any extra modules.
Just create your pages and put them all in the primary menu. Then, once your pages are created add the Primary links block (in Administer, Blocks) anywhere you want. That block will display the navigation tree of your pages, just like the administrator menu does.
edit
Oh, so you want the drop down menus? Then you don't want dhtml_menu (which will only prevent unneccessary page loading when you open pages), but need something like simplemenu. Create your primary links, goto Administer, Site Configuration, SimpleMenu and set the "Menu" setting to "< Primary links >". That will display a drop down menu bar to navigate through your site...
First i need to say thanks to wimvds. "Thankyou wimvds for your edit it take me to find more modules and themes".
found the solution in a theme "admire_grunge" the drop down menu needs to be defined in the themes it self.
found some more themes that work like this.
Thanks.

Categories