Actions

Help33

Difference between revisions of "Extensions Module Manager Language Switcher"

From Joomla! Documentation

m (Quick tips: categorisation for 3.2 help screens)
m (updated to automated style)
Line 1: Line 1:
=Language Switcher Module=
+
== Description ==
 +
This module allows you to switch between available Content languages.  Selecting a language will take you to the home page for that language.
  
==Overview==
+
==How to Access==
 +
{{Chunk30:ModuleManager-How-to-acces-module|module=Language Switcher}}
  
==How to access==
+
{{Chunk30:Help-3x-module-site-language-switcher}}
You can access the Language Switcher module by either opening an existing  module in the Module Manager or by creating a new Language Switcher Module.
+
You can access the Module Manager by going to '''Extensions > Module Manager'''
+
  
== Description ==
+
===Common Details===
This module allows you to switch between available Content languages.  Selecting a language will take you to the home page for that language.
+
{{Chunk30:Module Details}}
  
== Screenshot ==
+
===Common Tabs===
[[Image:Help30-Extensions-Module-Manager-Language-Switcher-screen.png]]
+
{{Chunk30:Help-3x-module-site-common-tabs}}
  
 
==Toolbar==
 
==Toolbar==
 
{{Chunk30:Help_screen_module_manager_edit_toolbar}}
 
{{Chunk30:Help_screen_module_manager_edit_toolbar}}
 
==Details==
 
 
==Basic Options==
 
[[Image:Help30-Extensions-Module-Manager-Language-Switcher-basic-options-parameters.png]]
 
 
*'''Pre-text:''' Enter the text that appears before the Language Switcher
 
*'''Post-text:''' Enter the text that appears below the Language Switcher.
 
*'''Use image flags:''' Use visual indicators for each language, in the shape of a flag.
 
 
==Advanced Options==
 
[[Image:Help30_Extensions-Module-Manager-Language-Switcher-advanced-options-parameters.png]]
 
 
*'''Alternative layout''' Apply an alternative layout or template override
 
*'''Module Class Suffix''' Apply a CSS suffix to the module
 
{{colheader|Caching}}
 
{{colheader|Cache Time}}
 
 
==Menu Assignment==
 
  
 
==Quick tips==
 
==Quick tips==

Revision as of 23:50, 6 December 2013

Contents

Description

This module allows you to switch between available Content languages. Selecting a language will take you to the home page for that language.

How to Access

To 'add' a new Language Switcher module or 'edit' an existing Language Switcher module, navigate to the Module Manager:

  • Select Extensions  Module Manager

Click the 'New' button and click on Language Switcher in the modal popup window.

To 'Edit' an existing Language Switcher module, in the Module Manager click on the Language Switcher Module's Title or click the Language Switcher module's check box and then click the Edit button in the Toolbar.

Screenshot

Help-3x-modules-site-module-manager-module-language-switcher.png

Details

  • Title: Module must have a title

Module

This module displays a list of available Content Languages (as defined and published in Language Manager Content tab) for switching between them when one wants to use Joomla! as a multilingual site. --The plugin 'System - Language Filter' has to be...

  • Pre-text: This is the text or HTML that is displayed above the language switcher
  • Post-text: This is the text or HTML that is displayed below the language switcher
  • Use Dropdown: (Yes/No). If set to 'Yes', the display parameters below will be ignored. The content languages native names will display in a dropdown.
  • Use Image Flags: (Yes/No). If set to 'Yes', will display language choice as image flags. Otherwise will use the content language native names.
  • Horizontal Display: (Yes/No). Default is set to 'Yes', i.e. to horizontal display.
  • Active Language: (Yes/No). Display or not the active language. If displayed, the class 'lang-active' will be added to the element.
  • Languages Full Names: (Yes/No). If set to 'Yes' and image flags set to 'No', full content language native names are displayed. If set to 'No', upper case abbreviations from the content language's URL Language Code are used. Example: EN for English, FR for French.

Description

Help-3x-modules-site-module-manager-module-language-switcher-description.png

Common Details

Help30-module-manager-details-screenshot.png

  • Title. The title of the module. This is also the title displayed in the front end for the module depending on the Show Title Form Field
  • Show Title. (Show/Hide) Choose whether to show or hide the modules title in the front end. The title will be the one in the Form Field above.
  • Module Position. Choose the module position you wish this module to be displayed in. A custom module position can be entered for use with the load position plugin or the position button can be pressed to select a module position from the template.
  • Status. (Published/Unpublished/Trashed) The published status of the item.
  • Access. The viewing level access for this item.
  • Module Ordering. This shows a drop down of every module in the position that the current module is in. This is the order that the modules will display in when displayed on in the front end as well as in the Module Manager.
  • Start Publishing. Date and time to start publishing. Use this field if you want to enter content ahead of time and then have it published automatically at a future time.
  • Finish Publishing. Date and time to finish publishing. Use this field if you want to have content automatically changed to Unpublished state at a future time (for example, when it is no longer applicable).
  • Language. Item language.
  • Note. Item note. This is normally for the site administrator's use (for example, to document information about this item) and does not show in the front end of the site.

Common Tabs

Menu Assignment

Help30-module-manager-menu-assignment-screenshot.png

On this tab there is a list of menu items. You can choose between On All Pages, No Pages, Only on the pages selected and On all pages except those selected from the List.

If the latter two options are selected a list will show with all the menu items on as shown in the screenshot above. This allows you to assign modules to some but not all pages, and by selecting the menu links that you want the module associated with you can customize on what pages modules appear/don't appear. See How do you assign a module to specific pages? for more information

Module Permissions

Help30-module-manager-menu-permissions-screenshot.png

  • Delete: (Inherited/Allowed/Denied). Allow or deny Delete for users in the Public group. Delete Allows users in the group to delete any content in this extension.
  • Edit: (Inherited/Allowed/Denied). Allow or deny Edit for users in the Public group. Edit Allows users in the group to edit any content in this extension.
  • Edit State: (Inherited/Allowed/Denied). Allow or deny Edit State for users in the Public group. Edit State Allows users in the group to change the state of any content in this extension.

Advanced

Help30-module-manager-advanced-options-screenshot.png

  • Alternative Layout. If you have defined one or more alternative layouts for a module either in the template or Joomla! Core, you can select the layout to use for this module. See Layout Overrides in Joomla 2.5 for more information about alternative layouts.
  • Module Class Suffix. A suffix applied to the CSS class of the Module. This allows you to create customized CSS styles that will apply just to this module. You would then modify the "template.css" file of your template to apply styling to this new class.
    • Enter this parameter with a leading space to create a new CSS class for this module. Enter the parameter without a leading space to change the CSS class name for this module.
    • See the tutorial Using Class Suffixes in Joomla! for more information.
  • Caching. Use Global/No Caching. Whether or not to cache the content of this Module. A setting of "Use Global" will use the Cache Settings from the Global Configuration screen.
  • Cache Time. The length of time, in minutes, before the Module is re-cached.
  • Module Tag. The HTML tag for the module to be placed in. By default this is a div tag but other HTML5 elements can also be used.
  • Bootstrap Size. (Values 0 to 12) This allows you to choose the width of the module via the span element built into bootstrap. For more information see the bootstrap documentation.
  • Header Tag. The HTML tag to use for the modules header or title. This can be an h1, h2, h3, h4, h5, h6 or a p tag. Note that you must use a module style (chrome) of html5 or add your custom module styles in <mytemplate>/html/modules.php.
  • Header Class. Here you can add optional CSS classes to add to the modules header or title element.
  • Module Style. You can use this option to override the templates style for its position.

Toolbar

At the top left you will see the toolbar:

Help30-Save-SaveClose-SaveNew-SaveCopy-Close-Help-toolbar.png

The functions are:

  • Save. Saves the module and stays in the current screen.
  • Save & Close. Saves the module and closes the current screen.
  • Save & New. Saves the module and keeps the editing screen open and ready to create another module.
  • Save as Copy. Saves your changes to a copy of the current module. Does not affect the current module. This toolbar icon is not shown if you are creating a new module.
  • Cancel/Close. Closes the current screen and returns to the previous screen without saving any modifications you may have made.
  • Help. Opens this help screen.

Quick tips

No tips have been added at this time.