Actions

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 (archiving articles with category removal and addition)
 
(8 intermediate revisions by 6 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''' the changes and you should see the Horizontal Menu on the front end
 +
#:[[Image:JA Purity Tutorial NavMenu3.jpg|640 px]]
  
Save and now you have finished.
+
 
<noinclude>
+
 
[[Category:Beginners]]
+
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]
[[Category:JA Purity template]]
+
[[Category:Tutorials]]
+
</noinclude>
+

Latest revision as of 08:25, 29 April 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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