Help16

Difference between revisions of "Extensions Module Manager Custom HTML"

From Joomla! Documentation

(added advanced params section for 1.6)
Line 15: Line 15:
 
[[Image:J16_mod_advanced_4.JPG|frame|center]]
 
[[Image:J16_mod_advanced_4.JPG|frame|center]]
 
{{colheader|Module Class Suffix}}
 
{{colheader|Module Class Suffix}}
 +
 +
'''Advanced Parameters'''
 +
[[Image:16breadcrumbs-advancedoptions.png|frame|center]]
 +
*'''Alternative Layout''' Can specify an alternative breadcrumb layout if alternatives are configured.
 +
*'''Module Class Suffix''' Can specify an alternative style if additional styles are configured in your template.
 +
*'''Caching.''' Options available to pull this parameter from the global configuration settings, or to disable Caching.

Revision as of 14:49, 9 May 2011

Custom HTML[edit]

This allows you to create a Module that contains any valid HTML code. There are many cases where you might want to put free-form HTML inside a web page. For example, you might want to create an HTML Image Map or you might want to copy HTML code from PayPal, Amazon, or some other site.

The Custom HTML Module allows you to create a self-contained HTML unit and then put it in any valid location on a page.

Custom Output

When you create or edit a Custom HTML Module, an editor session is opened using your default editor.

Important Note: The editor does not allow you to enter certain HTML tags. To work around this, you can temporarily change your User's editor to "No Editor", create the Custom HTML Module, and then change the editor back to TinyMCE. Another option is to use an editor from an Extension that allows HTML code to be entered. Another possibility is (if the editor has this option) to switch to the HTML mode, enter the code, save and switch back to normal view.

An example of a Custom HTML editor session is shown below. Note that the "No Editor" option is being used.

Help16 mod customhtml output.JPG

Module Parameters

J16 mod advanced 4.JPG
  • 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! 1.5/1.6 for more information.

Advanced Parameters

16breadcrumbs-advancedoptions.png
  • Alternative Layout Can specify an alternative breadcrumb layout if alternatives are configured.
  • Module Class Suffix Can specify an alternative style if additional styles are configured in your template.
  • Caching. Options available to pull this parameter from the global configuration settings, or to disable Caching.