You are here: Faq joomla template How to create a new Joomla module position between the description of the category and the articles
Smart Joomla 3.10 templates Responsive template for all major versions of Joomla with many module positions and many functions 20 templates for Joomla 3.10 The most popular templates for Joomla - professional design and responsive layout Free Joomla 3.10 templates Joomla templates for free download - no registration, no sign up, no send email, no hidden ads.
Smart Joomla 3.10 templates Responsive template for all major versions of Joomla with many module positions and many functions
20 templates for Joomla 3.10 The most popular templates for Joomla - professional design and responsive layout
Free Joomla 3.10 templates Joomla templates for free download - no registration, no sign up, no send email, no hidden ads.
How to create a new Joomla module position between the description of the category and the articlesCreated on Sunday, 31 May 2015 09:41 | Last Updated on Thursday, 17 August 2023 08:01 | Written by svtemplates | | | Hits: 4188User Rating: / 3 PoorBest How to create a new module position between the description of the category and the articles in the blog layout page. Creating a module position is usually done by editing the file - index.php. To create a module position between the description and the articles in the blog layout, do the following: 1.Open the file blog.php in your favorite editor. The file is located in templates/template from this site/html/com_content/category . Around line 40-45 you will find the code : <?php $leadingcount=0 ; ?> Immediately before this code add: <!-- start new module position--><div class="blogmodule"><?php $document = &JFactory::getDocument(); $renderer = $document->loadRenderer('modules'); $options = array('style' => 'xhtml'); $position = 'mynewposition' ; echo $renderer->render($position, $options, null);?></div blogmodule><!-- end new module position--> Note: Rename - mynewposition - with the name chosen by you. Example 'blog-1' . Save the changes 2. Open the file template.css in your favorite editor. The file is located in templates/template from this site/css . At the end of the file add: .blogmodule{ max-width: 100%; margin: 7px; padding: 7px; border: 1px solid #828282; border-radius: 5px; background: #FFF;} With this code, you define the basic settings of the new module position. If necessary, add new css rules. Example: If you want this position to be hidden for mobile devices add: @media all and (max-width: 768px){ .blogmodule{ display: none;}} Save the changes 3. Add the selected module in the new position. Final score: 4. Not necessarily, but it is better to add the new position in the templateDetails.xml file. Note:- Make a copy of the files before you edit them.- Use notepad or another html editor. Do not use Word, Excel or any other MS extension.< PrevNext >
Joomla 5.x / 4.x / 3.x / 2.5 touch-enabled slider - free joomla module Responsive layout: Yes.Autoplay options : Enabled / DisableThumbnails position: Left, Right, Bottom:Mobile device: Full support:Slider transition: Vertical or Horizontal:The module are absolutely free to download - no registration, no sign up, no-scam, no email:Module it's compatible with Joomla 5.0, Joomla 4.0, Joomla 3.0 and Joomla 2.5:
Free Joomla 3.10 / Joomla 4.0 / Joomla 5.0 extension - Free Joomla module for side sticky banners Responsive layout:Left and Right sticky banners:Option to change banner size:Option to change the distance from top to bottom scrolling to make the banners visible:Enable / Disable on user control to close banners:Module is compatible with Jomla 2.5, Joomla 3.x, Joomla 4.0 and Joomla 5.0: