Help310

Difference between revisions of "Menus Menu Item Search Results"

From Joomla! Documentation

m
(Marked this version for translation)
 
Line 19: Line 19:
 
<translate>
 
<translate>
 
<!--T:80-->
 
<!--T:80-->
*'''Search Term (Optional)'''. Used to set a 'canned' search word, words or phrase when Menu Item Search Results is clicked.</translate>{{-}}<translate>See [[S:MyLanguage/{{NAMESPACE}}:Menus Menu Item Search Results#Quick Tips|Quick Tips]] for more details.
+
*'''Search Term (Optional)'''. Used to set a 'canned' search word, words or phrase when Menu Item Search Results is clicked.</translate>{{-}}<translate><!--T:216-->
 +
See [[S:MyLanguage/{{NAMESPACE}}:Menus Menu Item Search Results#Quick Tips|Quick Tips]] for more details.
 
</translate>
 
</translate>
 
{{Chunk30:Help_screen_Menu_Link/<translate><!--T:200--> en</translate>}}
 
{{Chunk30:Help_screen_Menu_Link/<translate><!--T:200--> en</translate>}}
Line 34: Line 35:
 
{{Chunk30:Help_screen_Language/<translate><!--T:190--> en</translate>|<translate><!--T:191--> menu item</translate>}}
 
{{Chunk30:Help_screen_Language/<translate><!--T:190--> en</translate>|<translate><!--T:191--> menu item</translate>}}
 
{{Chunk30:Help_screen_Note/<translate><!--T:192--> en</translate>|<translate><!--T:193--> Menu item</translate>|<translate><!--T:194--> menu item</translate>}}
 
{{Chunk30:Help_screen_Note/<translate><!--T:192--> en</translate>|<translate><!--T:193--> Menu item</translate>|<translate><!--T:194--> menu item</translate>}}
{{Chunk30:Help_screen_Form_Options_Header/<translate>en</translate>}}
+
{{Chunk30:Help_screen_Form_Options_Header/<translate><!--T:217--> en</translate>}}
 
:[[File:Help30-Menus-Menu-Item-Search-Results-basic-options-screenshot-<translate><!--T:2--> en</translate>.png|400px|none]]
 
:[[File:Help30-Menus-Menu-Item-Search-Results-basic-options-screenshot-<translate><!--T:2--> en</translate>.png|400px|none]]
{{Chunk30:Help_screen_Use_Search_Options/<translate>en</translate>}}
+
{{Chunk30:Help_screen_Use_Search_Options/<translate><!--T:218--> en</translate>}}
{{Chunk30:Help_screen_Use_Search_Areas/<translate>en</translate>|2=}}
+
{{Chunk30:Help_screen_Use_Search_Areas/<translate><!--T:219--> en</translate>|2=}}
{{Chunk30:Help_screen_Search_Created_Date/<translate>en</translate>|2=}}
+
{{Chunk30:Help_screen_Search_Created_Date/<translate><!--T:220--> en</translate>|2=}}
 
<translate>
 
<translate>
 
<!--T:56-->
 
<!--T:56-->

Latest revision as of 03:06, 12 April 2022

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎français

Description[edit]

Used to create a 'Search Form or Search Results' page for users to search site's content. Additional, used to control output look of search results or 'can' the results of a search with a menu link for preset search term or terms.

How to Access[edit]

Add a new menu item 'Search Form or Search Results'

  • Select Menus  [name of the menu]  Add New Menu Item from the dropdown menu of the Administrator Panel
  • Click the 'Menu Item Type' Select button Help30-Menu-Item-Type-Select-Button-en.png
  • Select Search  Search Form or Search Results in the modal popup window.

Edit an existing menu item 'Search Form or Search Results'

Screenshot[edit]

Help30-Menus-Menu-Item-Search-Results-en.png

Form Fields[edit]

  • Menu Title. The title that will display for this menu item.
  • Alias. The internal name of the menu item. Normally, you can leave this blank and Joomla will fill in a default value. The default value is the Title in lower case and with dashes instead of spaces. You may enter the Alias manually. Learn more about Aliases.

Details[edit]

  • Menu Item Type. The Menu Item Type selected when this menu item was created. This can be one of the core menu item types or a menu item type provided by an installed extension.
  • Search Term (Optional). Used to set a 'canned' search word, words or phrase when Menu Item Search Results is clicked.
    See Quick Tips for more details.
  • Link. The system-generated link for this menu item. This field cannot be changed and is for information only.
  • Target Window. This determines how the new page will be opened. Options are:
    • Parent: Open new menu item in parent window. This is the default.
    • New Window With Navigation: Open menu item in a new window with full browser navigation (for example, "back" button).
    • New Without Navigation: Open menu item in a new window without browser navigation.
  • Template Style. Controls the template style for this menu item. A list box will show the available template styles for your site.
    • - Use Default -: Use the default style for the site to show this menu item.
    • [Template Style]: Select a specific template style to always show this menu item with that style.

Menu item sidebar
  • Menu. Shows which menu the menu item will appear in.
  • Parent Item. The parent menu item for this menu item. Used to determine whether a Menu Item is a top-level item or a submenu item.
    • Menu Item Root: Select the default value if this is a top-level Menu Item.
    • [menu item title]: Select the Menu Item that is this menu item's parent.
  • Ordering. Indicates the order of this Menu Item in the Menu. The default Order is to add the Menu Item to the end of the Menu. This Menu Item will moved to the order position just after the Menu Item selected from the dropdown list. Note: The Order can also be changed in Menu Items.
  • Status. (Published/Unpublished/Trashed) The published status of the menu item.
  • Default Page. (Yes/No) If Yes, this menu item is the default or home page for the site. There must be exactly one menu item set as the default page. You can change the default page in 2 ways:
    1. Click on the Home column of the desired menu item in Menu Items.
    2. Open the menu item for the new default page and change the Default Page setting to Yes.
  • Access. Who has access to this menu item.
    • Public: Everyone has access.
    • Guest: Everyone has access.
    • Registered: Only registered users have access.
    • Special: Only users with author status or higher have access.
    • Super Users: Only super users have access.
  • Language. Select the language for this menu item. If you are not using the multi-language feature of Joomla, keep the default of All.
  • Note. Menu item note. This is normally for the site administrator's use (for example, to document information about this menu item) and does not show in the Frontend of the site.

Options[edit]

Help30-Menus-Menu-Item-Search-Results-basic-options-screenshot-en.png
  • Use Search Options. (Use Global/Yes/No) Whether or not to show the Search Options in the Frontend.
  • Use Search Areas. (Use Global/Yes/No) Whether or not to show the search areas checkboxes in the Frontend search options, so user can choose what kind of items to search. This is set to "Yes" by default.
  • Created Date. (Use Global/Show/Hide) Whether or not to show the Creation Date for items that are displayed in search results in the Frontend. This is set to "Show" by default.

Default Search Options

  • Search For. (All Words/Any Words/Exact phrase) The type of search.
  • Results Ordering. Defines what ordering results are listed in.
    • Newest First: Show newest item first.
    • Oldest First: Show oldest item first.
    • Popularity: Show by popularity of item, number of page hits.
    • Alphabetical: Show in alphabetical order.
    • Category: Show in category order.

Link Type[edit]

Help30-Menus-Menu-Item-options-common-link-type-en.png
  • Link Title Attribute. An optional, custom description for the title attribute of the menu hyperlink.
  • Link Class. An optional class to apply to the menu hyperlink.
  • Link Image. Select an image to use with 'Menu Title'. Use 'Add Menu Title' set to No to show just image.
  • Image Class. The class which is added to the image (src tag).
  • Add Menu Title. (Yes/No) If optional image is selected, shows a 'Menu Title' next to image.
  • Display in Menu. (Yes/No) Select No if you want to exclude this menu item from displaying in the menu.
    Note: Any submenu items will also be hidden.

Page Display[edit]

Help30-Menus-Menu-Item-options-common-page-display-en.png
  • Browser Page Title. Optional text for the "Browser page title" element. If blank, a default value is used based on the Menu Item Title.
  • Show Page Heading. (Use Global/Yes/No). Show or hide the Browser Page Title in the heading of the page (If no optional text entered - will default to value based on the Menu Item Title). The Page heading is usually displayed inside the H1 tag.
  • Page Heading. Optional alternative text for the Page heading.
  • Page Class. Optional CSS class to add to elements in this page. This allows CSS styling specific to this page.

Metadata[edit]

Help30-Menus-Menu-Item-options-common-metadata-en.png
  • Meta Description. An optional paragraph to be used as the description of the page in the HTML output. This will generally display in the results of search engines. If entered, this creates an HTML meta element with a name attribute of "description" and a content attribute equal to the entered text.
  • Meta Keywords. Optional entry for keywords. Must be entered separated by commas (for example, "cats, dogs, pets") and may be entered in upper or lower case. (For example, "CATS" will match "cats" or "Cats").
    Learn more about Meta Keywords.
  • Robots. The instructions for web "robots" that browse to this page.
    • Use Global: Use the value from the Metadata Settings.
    • index, follow: Index this page and follow the links on this page.
    • noindex, follow: Do not index this page, but still follow the links on the page. For example, you might do this for a site map page where you want the links to be indexed but you don't want this page to show in search engines.
    • index, nofollow: Index this page, but do not follow any links on the page. For example, you might want to do this for an events calendar, where you want the page to show in search engines but you do not want to index each event.
    • noindex, nofollow: Do not index this page or follow any links on the page.
  • Secure. Whether or not to use SSL and the Secure Site URL for this page.
    • Off: Do not use SSL.
    • On: Use SSL.
    • Ignore: Ignore this setting and use the global setting for the site.

Module Assignment[edit]

Help30-Menus-Menu-Item-options-common-module-assignment-en.png
  • Unassigned Modules. (Show/Hide) Show or hide modules unassigned to this menu item.
  • Unpublished Modules. (Show/Hide) Show or hide modules that are unpublished.

Toolbar[edit]

At the top left you will see the toolbar.

Help32-Save-SaveClose-SaveNew-SaveAsCopy-Close-toolbar-en.png

The functions are:

  • Save. Saves the menu item and stays in the current screen.
  • Save & Close. Saves the menu item and closes the current screen.
  • Save & New. Saves the menu item and keeps the editing screen open and ready to create another menu item.
  • Save as Copy. Saves your changes to a copy of the current menu item. Does not affect the current menu item.
    Note: This toolbar icon is only shown if you edit an existing menu item.
  • Close. Closes the current screen and returns to the previous screen without saving any modifications you may have made.
  • Help. Opens this help screen.

Frontend Screenshot[edit]

Example Frontend Site images are generic images using Joomla core installation supplied free Frontend Templates. The actual view can depend on the installed custom template used and the template's style for those views on a Joomla website.

Search form shown

Help30-Menus-Menu-Search-Results-front-end-screenshot-en.png

Search results shown

Help30-Menus-Menu-Search-Results-front-end-results-screenshot-en.png

Quick Tips[edit]

Canning Search Results

To 'can' search results (force a desired search term), use the Search Term optional setting. This optional field will force a search term or terms into the search field when a user clicks on a Menu 'Link' to a 'Search Results' Menu Item.

For example, a user clicks a Menu Item called, 'More Joomla Articles'. The search term field could contain the word, Joomla. The filled optional field would show the search component page with the word Joomla pre-filled in the search field and showing the results of 'Joomla' searched on the website.

Related Information[edit]

Help Screens[edit]

Component Description
Search

The Search Statistics screen provides an overview:

  • how many searches were done for each keyword combination
  • how many results were returned for each search.
Options

Search Options configuration allows setting of parameters used globally for Search.

Menu Item Description
Search Form or Search Results (this screen)

Used to create a 'Search Form or Search Results' page for users to search site's content. Additional, used to control output look of search results or 'can' the results of a search with a menu link for preset search term or terms.

Module Description
Search

This module will display a search box.