{"id":38500,"date":"2014-11-20T04:50:07","date_gmt":"2014-11-20T09:50:07","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=38500"},"modified":"2017-07-12T07:47:35","modified_gmt":"2017-07-12T11:47:35","slug":"joomla-2-5-x-how-to-add-custom-html-module","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-2-5-x-how-to-add-custom-html-module.html","title":{"rendered":"Joomla 2.5.x. How to add custom HTML module"},"content":{"rendered":"<p><\/p>\r\n<p>This tutorial is going to show you how to add a custom HTML module in Joomla 2.5.x.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=m-e1vTlpkGo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 2.5.x. How to add custom HTML module<\/a><\/p>\r\n<p class=\"info-box\">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.<\/p>\r\n<p>To add a custom HTML module, you should perform the following steps:<\/p>\r\n<ol>\r\n<li>\r\n<p>Log in your Joomla admin panel and navigate to the <strong>Site -&gt; Global Configuration<\/strong> menu.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find the option <strong>Default Editor<\/strong> and select <strong>Editor &#8211; Code Mirror<\/strong> or <strong>Editor &#8211; None<\/strong> value from the list:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html1_.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html1_-300x182.jpg\" alt=\"add_custom_ html_module.html1\" width=\"300\" height=\"182\" class=\"aligncenter size-medium wp-image-38501\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html1_-300x182.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html1_-150x91.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html1_.jpg 925w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>NOTE: Default Joomla WYSIWYG editors may modify the custom HTML module code and cause some issues.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>Save<\/strong> button in the top right corner to save the changes.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Now navigate to the <strong>Extensions -&gt; Module Manager<\/strong> menu: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html2_.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html2_-300x168.jpg\" alt=\"add_custom_ html_module.html2\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-38502\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html2_-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html2_-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html2_.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>New<\/strong> button in the right top toolbar.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In the pop-up window select <strong>Custom HTML<\/strong>from the module types list :<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html3_.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html3_-300x168.jpg\" alt=\"add_custom_ html_module.html3\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-38503\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html3_-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html3_-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html3_.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Now you can configure the module setting:<\/p>\r\n<ol>\r\n<li>\r\n<p>In the <strong>Title<\/strong> field type the title of your new module.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In the <strong>Position<\/strong> field choose the correct position for the new module from the Template Modules Positions table.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Put the module <strong>Status<\/strong> to <strong>Published<\/strong> and the module <strong>Access<\/strong> to <strong>Public<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>The <strong>Text area<\/strong> 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.<\/p>\r\n<p>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.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In the right column in the <strong>Basic Options<\/strong> section you can select background image of your HTML module.<\/p>\r\n<\/li>\r\n<li>\r\n<p>The <strong>Advanced Options<\/strong> tab contains layout and caching settings. You can also add <strong>Module Class Suffix<\/strong> and create a specific style for this class using CSS code:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html4_.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html4_-300x168.jpg\" alt=\"add_custom_ html_module.html4\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-38504\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html4_-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html4_-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/add_custom_-html_module.html4_.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<li>\r\n<p>When everything is done, press <strong>Save &amp; Close<\/strong> button in the top right corner.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Refresh your site to see the changes. The Custom HTML module was successfully added.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>This is the end of the tutorial. Now you know how to add a custom HTML module in Joomla 2.5.x. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=m-e1vTlpkGo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 2.5.x. How to add custom HTML module<\/a><br \/>\r\n<\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to add a custom HTML module in Joomla 2.5.x.<\/p>\n","protected":false},"author":53,"featured_media":40471,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[789,2411,483,557],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38500"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=38500"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38500\/revisions"}],"predecessor-version":[{"id":81969,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38500\/revisions\/81969"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/40471"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=38500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=38500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=38500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}