Magento navigation menu - php

I am trying to reorganize my navigation menu. I want it to have only one product page button and a couple of CMS pages. I don`t want any categories on it. I know how to put additional buttons to the menu, but if I try to remove the category the whole menu disappears. Any suggestion? I am runing the latest magento with a custom theme.
P.S. I tried to edit the top.phtml site but I am not very confident with coding.
Thanks

you can change menu as you want to customize and want to add your link
app\design\frontend\your_package\your_theme\template\page\html
add your link to topmenu.phtml
hope this will sure help you.

You can read this tutorial - Adding Page Links to the Main Menu

Related

WORDPRESS: How to add an existing page to navigation menu programmatically, for once

I want to add an existing page to the header menu via backend. How can I do that? what functions are available to achieve this?
And I need to add it once to the link at the end of it.
Thanks.

How to centralise logo between menu item in wordpress?

I would like to centralise logo between menu item in Wordpress dt the7 theme, is there any solution to solve this problem? Because currently the menu was using build in layout which is logo at the top and menu item at below.
I can't telling you exactly without seeing the problem, but you probably have to play with the line-height css property.
If you give us a clear example we will be able to help you more.

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' )); ?>

Joomla menu system & dropdown menu in template

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.

how can i create the menu that will open only the article in joomla?

I have created the articles and menu items that links to that articles. This all works.
But now what I want is, when I click on the menu, it should open up only article (without any template feature, no header , no footer and not even the menu).I am opening the article in a new window. From googling what I found is if I add &tmpl=component to the url it will just load the component, and that will show just the article. But I am not sure how to add this parameter from admin screen to the menu items. The link which is showed in admin screen is not editable!!!. Or should I have to develop a custom menu module to achieve this!!!?
Thanks for help.
Tanmay
Create a new menu item - External Link and then paste the full URL into the box.
http://www.jeepstone.co.uk/2009/03/06/open-content-in-a-modal-pop-up-in-joomla/

Categories