Questions tagged [joomla-module]

A Joomla module is an extension that offers certain functionality to a site, that is not supposed to serve as main content, and is usually placed around component code.

The Joomla module tag, would be useful for questions related to Joomla module development. As mentioned by the official Joomla Module documentation, the easiest extension to create is probably a module, which can be as simple as printing the current date and time.

Despite being small and websites can work without modules, Joomla has allowed very important functionalities to be handled by modules, like Menus (mod_mainmenu), Search (mod_search), and even Custom HTML modules (mod_custom) that allow direct HTML input for the unexperienced to write their own HTML in their sites.

To include a module inside an article, Joomla offers a default plugin to do this, but you have to include a full module position. Example code is: {loadposition: module_pos} where module_pos is the module position that you want to include.
Please note that you can add custom module positions, just by writing the desired position name in the position field of the module, instead of selecting from the existing list.

For more information on how to create Joomla modules, please read here.

157 questions
0
votes
1 answer

How to get customized Joomla menu along with sub-menu

I want add schema in my Joomla menu...! Below is code getMenu(); // Get menu items - array with menu items $items = $menu->getItems('menutype', 'mainmenu'); …
Ronald Joseph
  • 45
  • 1
  • 13
0
votes
1 answer

Object of class stdClass could not be converted to string - when returning object from function

This one has baffled me for a while. I try to return my $content (object), from my function and I get fatal error: Object of class stdClass could not be converted to string if (filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_QUERY_REQUIRED)) { …
Sbpro
  • 948
  • 14
  • 27
0
votes
1 answer

Joomla 3 module only a menu-page, not subpages

How can i make a module only be loaded on a specific menuitem, but not on all subpages to this item. I'm using Joomla 3.8.4, with K2. running on PHP7 Menu structure is: frontpage category 1 Item 1 Item 2 Item 3 When i am on Menu1 i want to show…
Wel Rachid
  • 23
  • 7
0
votes
1 answer

How to change joomla module and install it

I have problem. I want to change html code of my joomla module, but I already have that module installed, and I need it. When I try to install changed version I got message that I already installed that module, so i guess that I need to change some…
0
votes
1 answer

Error with Joomla 3.x.x Shortcode plugin and module

I want to write a Joomla add-in for articles that I can add a count down timer. I would like to be able to run it using, for example, shortcode [countdowntimer date = "23-9-2017" time = "13:42"]. I do not know just how can I add parameters to the…
user8434542
0
votes
1 answer

Place Joomla module outside of index.php

I have a php page that is just a page I am linking to, from index.php. When I try to use jdoc include to place the module, it doesn't work. Should I do something special to make this php page a part of the Joomla template? Should I make it an…
websculpt
  • 53
  • 9
0
votes
1 answer

joomla module to create multiple pages

I have a need for the ability to create web pages that are image galleries and link them to other pages/galleries. For example, each page would be a gallery of photos, and I would like to be able to link (forward and backwards) to the other gallery…
websculpt
  • 53
  • 9
0
votes
1 answer

Finding Modules in Joomla

I'm trying to find the module that fires a the feedback form on this website: https://apex4d.com/ but can't find it. In the code I see: but I have no idea where to find this module. I…
Ryan Mc
  • 833
  • 1
  • 8
  • 25
0
votes
2 answers

How to load a menu module in header and footer in joomla?

I have attached joomla's Menu module in my template. But I needed it to load in footer position at the same time. So that if I add another menu it should be get added in both the positions in Header and in the footer... What i want to do to load a…
0
votes
1 answer

drop down list in joomla

I am using Joomla 3.6.5 and I want to make a drop down list in a page of my web site Joomla. my scenario is: I have 48 states, the user have to click his state in the list and then he will be redirect in other page which describe the content…
0
votes
1 answer

Joomla: Display part of menu

I'm trying to make a small left menu in my Joomla articles. Since I use the SP Pagebuilder to display the articles, the module on my page isn't also displayed on my article. With the advanced module manager I was able to put a module in my articles,…
0
votes
1 answer

Chat with me link in Joomla 3.6 custom html module

Is there a way to insert this code on a Joomla custom module and have it act like a button, instead of putting this on the header of the template? {if isset($aUser.is_online) && $aUser.is_online && Phpfox::isModule('im') &&…
0
votes
2 answers

Joomla, add position into file

I want to connect my Joomla module with position. How can I create this position (user position)? Where is this file in the template?
0
votes
1 answer

Bootstrap CSS conflict in joomla module

I am creating a joomla module which uses bootstrap to style the various input fields. In my module's default.php file, I have incorporated bootstrap via the normal css link
Biko
  • 332
  • 3
  • 15
0
votes
1 answer

Joomla MVC Module delete model

I'm a newbie on Joomla developing and I'm trying to fix an old administration module made by 'someone before me'. Module's been developed using MVC Components, it has several CRUDs and I'm stucked at deleting an item. The template view adds the…