J1.5

Difference between revisions of "Customising the JA Purity template/customisations/Enabling hornav submenus"

From Joomla! Documentation

< J1.5:Customising the JA Purity template‎ | customisations
m
m (Adjusted category)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{inuse}}
+
If you installed the sample data during the Joomla install then you can simply modify the Main Menu from the Administration area using the Module Manager. If you don't have the sample data installed just follow the procedure for [[Adding a new menu|creating a menu]] and then apply all the settings below.
First you have to create a menu with at least one submenu. In this example we have a menu called ''topmenu'' that has these links:
 
# Home
 
# About us
 
# Products
 
## Product A
 
## Product B
 
## Product C
 
# Contact us
 
  
After that you have to add a menu module in your page. <br>
+
# Select the Main Menu module (or menu of your choice) from the Module Manager screen
So, from the back end, go to extensions -> module manager -> new -> menu <br>
+
#:[[Image:JA Purity Tutorial NavMenu0.jpg|640 px]]
Ensure to choose these parameters:
+
# Click the Edit button
* enabled = yes
+
# Change the '''Position''' setting to '''hornav''' in the Details section
* position = hornav
+
# Change the '''Menu Style''' setting to '''List''' in the Module Parameters section
* menu name = the name of your menu, in this example is ''topmenu''
+
# Change the '''Always show sub-menu items''' setting to '''Yes''' in the Module Parameters section
* menu style = list
+
#:[[Image:JA Purity Tutorial NavMenu1.jpg|640 px]]
* '''always show sub-menu items = yes'''
+
# Delete any values in the '''Menu Class Suffix''' and '''Module Class Suffix''' settings in the Advanced Parameters section
 
+
#:[[Image:JA Purity Tutorial NavMenu2.jpg|640 px]]
Save and now you have finished.
+
# '''Save''' the changes and you should see the Horizontal Menu on the front end
<noinclude>
+
#:[[Image:JA Purity Tutorial NavMenu3.jpg|640 px]]
[[Category:Beginners]]
 
[[Category:JA Purity template]]
 
[[Category:Tutorials]]
 
</noinclude>
 

Revision as of 17:02, 15 January 2011

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

If you installed the sample data during the Joomla install then you can simply modify the Main Menu from the Administration area using the Module Manager. If you don't have the sample data installed just follow the procedure for creating a menu and then apply all the settings below.

  1. Select the Main Menu module (or menu of your choice) from the Module Manager screen
    JA Purity Tutorial NavMenu0.jpg
  2. Click the Edit button
  3. Change the Position setting to hornav in the Details section
  4. Change the Menu Style setting to List in the Module Parameters section
  5. Change the Always show sub-menu items setting to Yes in the Module Parameters section
    JA Purity Tutorial NavMenu1.jpg
  6. Delete any values in the Menu Class Suffix and Module Class Suffix settings in the Advanced Parameters section
    JA Purity Tutorial NavMenu2.jpg
  7. Save the changes and you should see the Horizontal Menu on the front end
    JA Purity Tutorial NavMenu3.jpg