This tutorial shows how to make slider/other modules appear on all pages.
Joomla 3.x. How to make slider/other modules appear on all pages
We are going to make the slider and services module appear on all pages including posts. Let’s make slider appear on all pages.
Open admin section, go to Extensions – Module Manager, open slider module:
Go to Menu Assignment tab and select On all pages option. Save changes:
Please open templates/themeXXXX/index.php file. Search code for appropriate position. In our case slider is assigned to showcase position. File index.php has the following code for this position:
<?php if ($this->countModules('showcase') && $hideByView == false && $hideByEdit == false): ?>
Please remove the following code: && $hideByView == false. The modified code looks like on the screenshot below:
Save changes and upload the modified file. Refresh the page. Slider module appears in all pages now:
Let’s make Services module (postion bottom) appear on all pages (please note that such module may not be included to your template).
Open the module in your module manager, go to Menu Assignment tab and select On all pages option. Save changes:
Search code specifically for the position to which module is assigned to. In our case module is assigned to bottom position. Remove && $hideByView == false code in templates/themeXXXX/index.php file.
the modified code should look like on the screenshot below:Save changes and upload the modified file. Refresh the page. Services module appears on all pages now. You can perform the same changes to all modules:
Feel free to check the detailed video tutorial below:
Joomla 3.x. How to make slider/other modules appear on all pages