Menu Items
Overview
In this section, we will learn how to create menu items to access JomDirectory.
Creating Administration Menu Links
This step is not needed if new installation being made.
Go to the System -> Administrator modules and insert new. Than choose Administrator Menu. From the presets, select Comdev and place it under menu position. Do the same for the JomDirectory:
Creating Menu Items to access JomDirectory
Creating an Items menu link is mandatory. If you have a multilingual site, ensure that you create an Items menu link for each language. You can hide this menu link, but it needs to be created nonetheless. Though you are creating an Items link that does not point to any category or address, you can create other links with Items menu type that can point to an address or a category once main Items link has been created.
Ensure that you see a green tick next to this menu item. The green tick indicates that the item is published. To publish an item, select the checkbox next to the item and click Publish.
To view the created menu item, go the front end of your site. The new menu item and it's alias is displayed and will be used for search results:
If you called it - Latest Items than search results page will be www.mydomain.com/latest-items.
If you do not create this menu search results URL will be: www.mydomain.com/components/jomdirectory
Create menu links for each category
It is very important to notice that listing details and proper URL's does not build if the category menu is missing (each category must have a link). You have to ensure that for each category on your site, you create a corresponding link in the Joomla menu. The best approach is to create a separate Joomla menu e.g. Categories and link each category there.
Creating Menu Items to access the Category Tree
The categories created in the component can be seen in the following format on the site depending on the layout selected.
Screen 1: Category page screen
For the Category screen to appear in your required format, you can edit the JomDirectory settings for that Menu item. The options seen for JomDirectory settings are as follows.
Screen 2: Category Tree menu item screen
The following table explains different options that you can edit.
Columns Count | Choose number of columns to be displayed |
Choose to show Products or Listings | |
Start level | Choose start level category to be displayed |
Enable Image |
Enable category images that are displayed |
Enable Count |
Enable item count |
Enable Subcategories |
Enable to show subcategories |
Enable Category Index |
Enable to display category index |
Choose Layout |
Select from the following layout options:
|
Category Image Width |
Define the category image width in pixels |
Category Image Format |
Select from the following format options:
|
Creating Menu to access JomDirectory Front Admin
Front Admin Options
Make the following settings for the Front Admin are made in the JomDirectory options for the user to be redirected correctly to the Front Admin, when he is not logged in.
- Click System > Control Panel.
- Under Extensions, click JomDirectory.
- Click Options in the top right-hand corner of the screen.
- Click the Front Admin tab.
- Change the Profile Menu Link, Login Menu Link, and View Profile Menu Link field as per the following image.
Screen5: JomDirectory Front Admin options - Click Save.
The Front Admin lets users add listings in the front of the site. For more information about how to add listings, see Front Admin. The following image shows the Front Admin.
Screen 6: Front Admin screen