How to add menu in drupal? - php

I am implementing a new website with customized theme. I have added menus(structure-> Add menu) but its displaying only in the default theme.Its not appearing in my theme.How I can show the menu in customized theme
theme: I changed one html file to theme
drupal version 7.22

all menus are blocks and are displayed in regions of page
go to /admin/structure/block and put your menu block in proper region since different themes have different regions

Use ready module it will help to customize menu easily and also allow for multiple level menu
Nice menu

Related

How to add custom navigation sidebar in wordpress

I want to create a tutorial site like https://www.runoob.com/ by using wordpress. I want to create some pages, for example /java , and some subpages, for example /java/java-tutorial and /java/java-intro .
I want to show a navigation sidebar in each of these subpages. I want the sidebar list all links of the subpages. How to do it?
Thanks!
Add a Navigation Menu to Sidebar in WordPress
You can easily add navigation menu in your WordPress website using the WordPress dashboard. Login to your WordPress website and go to dashboard then-
Go to Appearance > Widgets
Under available widget area find your navigation menu you want to add.
Drag and drop the menu into main sidebar widgets area
Add a name of the menu and select from the drop-down where you want to use it.
Create a custom sidebar for WordPress website
There are a lots of plugins available for custom sidebar navigation menu. Here in this tutorial we are using Custom Sidebars — Dynamic Widget Area Manager plugin to create our custom sidebar for specific pages. This plugin offers you so many customization options. With the help of this plugins you can create multiple sidebar for multiple pages.
Download this plugin from WordPress plugin page and activate it. after activating the plugin go to your dashboard and then Appearance > Widgets. If the plugin is running successfully then you will able to see the option Create a new sidebar
From this page you can choose a name of your sidebar and add some description about it. If you want to create multiple sidebar then you should give a related name for each sidebar so that you can easily understand that which sidebar for which purpose. You can see all of your sidebar in custom sidebar section
Now from the Available Widgets area you need to drag and drop element you want to display in your sidebar.
For better understanding you can follow this article

How can I add a custom sidebar in the magento backend?

I have created a custom module for the backend. Now I need to configure an admin template for my custom module.
I am able to create a new template for the frontend in magento. But I still don't understand, how to create a new theme for the admin side.
And also, I have designed my own header, footer and sidebars (left and right) for my new admin theme.
Can anyone help me with this?
See the following link from Inchoo. They have an excellent module solution for creating a custom admin theme, without chopping up the default one. Its ridiculously simple as well. Its also upgrade proof. I used it to add a few more attribute selections to the product list.
http://inchoo.net/ecommerce/magento/custom-admin-theme-in-magento/
You then just create your theme in /var/www/app/design/adminhtml/default/NAMEOFYOURTHEME
You can also just make css tweaks by adding /var/www/skin/adminhtml/default/NAMEOFYOURTHEME/custom.css (which is located in the default theme, so override it)

OpenCart Theme Editing

I have downloaded and installed OpenCart v1.5.2.1. Now I'm using the default template in there.
I want to add some extra elements like side menu bar to that template.
How can I achieve this? How can I add new elements to my current template according to my requirements?
you should check this link
or
you could buy the book titled Opencart 1.4 Template Design (but this for version 1.4 only)
For side menu bar go to Extensions > Module > Category(edit) then add module and choose which ever page you like to show and where at top, right, left and bottom and save the menu.
Logon to Admin Panel and select:-
Extensions -> Extensions ->
select 'Themes' from the extension type drop down menu
click on the Edit button of your Default Store Theme and from the General Tab select the desired Theme from the Theme Directory drop down menu and save it. Clear the Modifications from Extension -> Modifications. That's all.

Social Engine How to add or edit menu items

I am new to Social Engine. I am trying to add a custom menu item that will work with jQuery.
But I need to understand where is the file or files to edit in order to apply these changes.
Can anyone tell me how the Social Engine core is organized?
How do I find the files that control and generate the menu items?
Go to Control panel > Layouts > Menu editor and add new menu items to existing menus. From the same page you can also create new menus and later add them to any layout using the layout manager.
You should be able to add jQuery functionality to any menu by editing a suitable view file. Like if you want your jQuery to be available site wide then you can edit application\modules\Core\layouts\scripts\default.tpl and other layout scripts on that folder.
You can also create menu plugins. Take a look at this table on database- engine4_core_menuitems. You can see some menu items have corresponding classes. Find out those classes in SocialEngine and try to understand how they work. You can add conditions, small javascripts using these classes and this is recommended way to work with SocialEngine menus.
go to admin(control panel)
Layput
Menu Editior
As mentioned previously, we recommend editing menus in the Menu Editor which can be found in the Admin Panel > Layout > Menu Editor. For detailed instructions, please see: http://support.socialengine.com/questions/217/Admin-Panel-Layout-Menu-Editor
You can view the below mentioned video URL to understand the working environment with Socialengine Menu through admin user :
https://www.youtube.com/watch?v=Frc5U6iB_wg
need to click on Control panel then Layouts then Menu editor and add new menu items to existing menus. From the same page you can also create new menus and later add them to any layout using the layout manager.

How to swap submenu in different pages

I create a submenu for the pages of my website. Each page will have a different submenu in the header. For example:
Inicio: menu 1
Sala de Investigación: menu2
Estudios Bíblicos: menu3
how can I do this using the if statement
Im creating my website using wordpress. My old web page is:justiciadedios.com
Very easy.
Use Wordpress 3.0
Use the "Custom Menu" plugin to create different custom menus, one menu for each page.
Go to Appearance > Widgets and place several Custom Menu widgets wherever you want the menu, one widget for each Custom menu.
Download and install the Widget Logic Plugin: http://wordpress.org/extend/plugins/widget-logic/
Read the Widget logic instructions and use the PHP shortcodes to select which page each wiget will appear on. Have fun!

Categories