Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

Table of Contents

...

  1. Click Menus > <your_menu> > Add New Menu Items.
  2. Provide a title in our case is Latest Listings in the Menu Title field. Now, since the Latest Listings menu item provides a list of all the latest postings on the site, we have selected the menu type as Items. The Alias field will build URL for the site. When search is done this will be the landing page for the search results as well. 

  3. Provide the options as seen in the following image:

    Screen 3: Items menu item screen


    Provide the values based on the following table.

    Field

    Value

    Menu Item Type

    Click Select. A pop up is displayed. In this case, since we are creating the Items menu item, click Directory > Items from the list.

    Category

    Select the appropriate category, if creating direct category link.

    Address

    Select the appropriate address if, creating direct address link.

    Link

    This field is auto populated based on the menu item type selected.

    Target Window

    Select the parent for this menu item.

    Template Style

    Select the template style you want for this menu.

  4. Click Save.

Note

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

...

For the Menu to be able to access the JomHoliday Front Admin, certain settings need to be made. The following table shows the three menu links that need to be made and linked with JomHoliday Options. You can create these 3 menu items anywhere on the site e.g. link them under User Menu.

Setting

Description

Procedure

Screenshot

This link should point to Edit profile menu item created using Edit User Profile menu item type.

  1. Click Menu > <your_menu>>Add New Menu Item.
  2. Provide the Title as Edit Profile and the menu item type as Edit User Profile.
  3. Click Save.
 Image Modified

This link should point to the login form menu item created using Login Form menu item type.

  1. Click Menu > <your_menu>>Add New Menu Item.
  2. Provide the Title as Login Form and the menu item type as Login Form.
  3. Click Save.

 The following image shows how the Login Form menu item is used

Image Modified

When user is not logged into the front page, he will be redirected to the built-in Joomla login form. After successful login, he will be redirected to the JomHoliday Front Admin.
The following image shows the redirect URL that needs to be provided. The value you provide in the Login Redirect field depends on the following:

  • http://domain.com/index.php/front-admin - Use if URL rewriting is not applicable.
  • http://domain.com/front-admin - Use if URL rewriting is applicable.

In our example, we are using the http://domain.com/front-admin URL as shown in the following image where front-admin is the alias of the JomHoliday Front Admin Menu Link:

Image Modified

This link should point to the user profile created using User Profile menu item type.

  1. Click Menu > <your_menu>>Add New Menu Item.
  2. Provide the Title as User Profile and the menu item type as User Profile.
  3. Click Save.
  Image Modified

Now link menus with JomHoliday Options:

...

Screen 6: Front Admin screen