Categories

Featured templates

Joomla 2.5.x. How to add custom HTML module

Amina Freinger November 20, 2014
Rating: 3.8/5. From 4 votes.
Please wait...

This tutorial is going to show you how to add a custom HTML module in Joomla 2.5.x.

Joomla 2.5.x. How to add custom HTML module

Custom HTML module is like an empty container designed to hold: HTML4 and HTML5 code, text, images, flash animation, Youtube player or a mix of them. You can either copy and paste content into the module or create it from scratch, complete with full formatting. This is, undoubtedly, one of the most universal modules for Joomla. Whether you need to display snippets of code from another web page, feel like displaying contact information for your site administrative team, want to display a photo on your Joomla site without embedding it into any of your articles, or any number of other functions, a custom HTML module is the way to go.

To add a custom HTML module, you should perform the following steps:

  1. Log in your Joomla admin panel and navigate to the Site -> Global Configuration menu.

  2. Find the option Default Editor and select Editor – Code Mirror or Editor – None value from the list:

    add_custom_ html_module.html1

    NOTE: Default Joomla WYSIWYG editors may modify the custom HTML module code and cause some issues.

  3. Click Save button in the top right corner to save the changes.

  4. Now navigate to the Extensions -> Module Manager menu:

    add_custom_ html_module.html2

  5. Click New button in the right top toolbar.

  6. In the pop-up window select Custom HTMLfrom the module types list :

    add_custom_ html_module.html3

  7. Now you can configure the module setting:

    1. In the Title field type the title of your new module.

    2. In the Position field choose the correct position for the new module from the Template Modules Positions table.

    3. Put the module Status to Published and the module Access to Public.

    4. The Text area allows you to integrate outside functionality, like an images with links, social icons made by Font Awesome or a PayPal button, or to display any other content in the sidebar or other module position.

      If you have a WYSIWYG Editor enabled on your site or your user, the Custom Output section will display the WYSIWYG toolbars. But, by default, TinyMCE and JCE allow you to switch to the source code view and use/edit pure HTML.

    5. In the right column in the Basic Options section you can select background image of your HTML module.

    6. The Advanced Options tab contains layout and caching settings. You can also add Module Class Suffix and create a specific style for this class using CSS code:

      add_custom_ html_module.html4

  8. When everything is done, press Save & Close button in the top right corner.

  9. Refresh your site to see the changes. The Custom HTML module was successfully added.

This is the end of the tutorial. Now you know how to add a custom HTML module in Joomla 2.5.x.

Feel free to check the detailed video tutorial below:

Joomla 2.5.x. How to add custom HTML module

Buy Joomla Templates
This entry was posted in Joomla! Tutorials and tagged custom, HTML, joomla, module. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket