We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [module]

A Joomla module is an extension that offers certain functionality to a site, usually to present small pieces of information, in specified locations of the site (e.g. latest or popular articles), that is not supposed to serve as the main content, and is placed in the available module positions, around the component content output (e.g. sidebar, footer etc).

Filter by
Sorted by
Tagged with
1
vote
0answers
106 views

How to hide articles from Blog Category mode

I'm trying to make a more dynamic News & Events posting process on a website. To do this I'm using the free version of Deluxe News by JoomlaXTC. Overview This is the result I'd like to achieve, ...
1
vote
1answer
51 views

adding bills after payment to user profile - hikashop

I'm using hikashop for selling products in my website. I want to add user's bill to his profile after he completes the payment, so that he can have a summary of all his payment in his profile. How can ...
1
vote
2answers
33 views

Module coming on all pages

I have a module for slideshow in landing page. And I have some links in landing page. When I click on those links. The target page coming with module. And I have not assigned the module on target ...
1
vote
2answers
470 views

Add <script> tag before </body> on only certain pages?

I am fairly new to Joomla (using for less than a year) and I need to find a way to place a script tag before the tag in joomla. This is for marketing (call tracking) purposes. I have seen some ...
1
vote
1answer
68 views

Calendar Field Type

I have implemented a module which has a Calendar Type as following: <field name="file2calendarEnd" type="calendar" default="5-10-2008" label="End date" description="Select when the slide will be ...
0
votes
1answer
140 views

How does K2 Custom HTML module differ from Joomla's?

I know there's a K2 Tool's module and it has among other things, its own Custom HTML module. The only difference that I've noticed is that it has a "Parse PHP code" option. So my question is... is ...
0
votes
3answers
856 views

Joomla Menu shows Warning: str_repeat(): Second argument has to be greater than or equal to 0

Set up a new site in Joomla 3.6 My Joomla menu module always shows this error Warning: str_repeat(): Second argument has to be greater than or equal to 0 in public_html/libraries/cms/form/field/...
1
vote
1answer
86 views

Re-using Joomla module positions not setting Bootstrap Column width correctly

I want to use 1 module position (showcase) but have duplicate modules set the bootstrap column width based on the amount of modules assigned to that position. I have written the following code: <...
0
votes
1answer
408 views

Under construction Page

I'm using Joomla 3.5.1 . Is there any module for under construction pages? Some thing like this: For example when I set a page on its setting, a count down time will be shown. Excuse me for my bad ...
0
votes
1answer
2k views

How to edit the html code of a custom footer module template override

i'm trying to create a modification of the footer Joomla copyright default module. I'm creating a template languge override, but this does't work very suitably, i would like to know how to edit the ...
1
vote
1answer
551 views

Blog page showing Categories and their Articles in blocks?

In a 3.5 Joomla I have multiple articles and subcategories and want to show them in a page like: Computers -- Article 1 -- Article 2 -- Article 3 Health -- Article 4 -- Article 5 -- Article 6 Science ...
0
votes
1answer
739 views

How to render content plugin into a module

I'm porting a code from a template override of com_content category blog_item into a module. Everything is all right done, except for one thing I'm struggling with. I have this code from com_content ...
4
votes
3answers
10k views

How to get module parameters inside helper function and how to get params inside a custom form field type?

Part 1: How to get module parameters inside helper function? I am trying to get the same module parameters inside the helper file. class ModTestHelper { public function getFoo () { ...
3
votes
1answer
179 views

Output of modules

Every template I see has this way of outputting modules (in the index.php) <?php if ($this->countModules( 'user1' )) : ?> <jdoc:include type="modules" name="user1" style="rounded" /> &...
1
vote
1answer
151 views

“Popular Articles” Admin Module - Why do some articles have blue number of hits in the list?

In the "Popular Articles" admin Module in the Control Panel - Why do some articles have blue number of hits in the list? What does this mean? I have highlighted the area in red. Thanks
0
votes
1answer
56 views

How to show a module on every page?

I have the latest version of joomla 3, I want to display JEvents calendar and the default hit counter on every page of the site, I selected all pages but they seem to be displayed on only 1 page.
1
vote
1answer
205 views

Displaying a module in specific articles

I am new to joomla and I am not a joomla developer. I need a plugin that let modules be displayed in specific articles. I mean: Specify some content IDs in module management page. Then display the ...
1
vote
1answer
329 views

How to connect to DB in module's admin panel

I have created a module. Now, when someone visits the DB page, I want to show some information from database. How should I do that? It seems I cannot find any relevant article in Joomla's site. ...
1
vote
1answer
181 views

Fatal Error in JModuleHelper

I am using a custom template, and when I enable a certain module, I get the following error: Catchable fatal error: Object of class stdClass could not be converted to string in /home/...
2
votes
2answers
296 views

Banner module not changing on refresh, only on page change

The banner module I am using for a single category of banners is not changing the display of the banners when the page is refreshed, they only change when the user navigates to a different page. All ...
1
vote
1answer
93 views

bxSlider as module loads the body of my template again

I face a problem with plugin bxSlider and my 2.5 Joomla website. I am using it as a custom module. The problem is that when it loads, under my image it loads the whole template again! This happens ...
2
votes
1answer
567 views

Is it possible to load the same module into two different positions and have it use two different IDs?

While building a website, I came to the conclusion that I had two positions that included identical modules (Header and Footer). Both include the exact same menu and small blurb of text. For the sake ...
1
vote
1answer
77 views

The mystery with the $content variable in Joomla Modules

I am creating a module and inside my module.php file, I created a variable named $content, which I wanted to use later as reference to get values from an associative array. Getting the values from ...
0
votes
2answers
184 views

How to create time stamp when module is published?

I'm trying to display a time stamp of when a module is published. I can display the current time stamp with PHP without problem, but that's not what I want to do. I'm sure this is simple to do I just ...
0
votes
1answer
161 views

Displaying a filelist field from php

I am creating a custom form field inside a module that generates groups of fields according to total number of records in a database table. Inside the groups of fields there are text fields but also ...
1
vote
1answer
299 views

JFactory::getSession() in module, produces a 500 error

I am trying to get the JSession inside my module php file. But every time I wrote this code: $session = JFactory::getSession(); Joomla responds with a 500 error for the page that my module is ...
3
votes
2answers
176 views

<customContent /> or <field type=“editor”>

I was interested to see the answer to this question which mentions the <customContent /> tag. I'd never come across this before, and I'm struggling to find much information on it. It does not ...
4
votes
1answer
144 views

How to remove the default editor inserted in a custom module

I have created a custom module in Joomla 3.5; I have a set of fields, but surprisingly, a default editor is inserted into the module basic tab, while I have not such fields in my fields XML: <...
0
votes
1answer
58 views

How to add module's JavaScript in the header when in Javascript code used php variable

I have joomla module, in the module I have this jquery script, I want to show this javascript from js file in the of joomla but there is problem php variable how can I make this? jQuery(...
4
votes
3answers
2k views

Chrome problem: How to remove the div class=”custom” from a Joomla module

You might also find this question relevant if you are trying to solve "How to stop Joomla modules being wrapped in divs." What's the PROBLEM? When Including a module into Joomla, it gets wrapped in ...
1
vote
4answers
3k views

hide off canvas menu helix3

am using helix3 template and I need to hide the "off canvas menu" on large screens and make it appears only on tablets and mobile screens. any help!
2
votes
2answers
982 views

Call php function in backend of module

I am trying to call a php function from the backend of a module (I'm using a custom form field). com_ajax does not work because it pulls the current menu item, which doesn't exist since it is not ...
2
votes
1answer
67 views

Uploading a module adds a new line each line of every file

I'm new to Joomla! and I was asked to create some modules, I have succesfully created and installed about a dozen by following the documentation here (https://docs.joomla.org/J3.x:...
1
vote
1answer
64 views

Assigning ID to javascript function

I am developing a module (see here for details Mixing PHP variables and JS variables in output) this shows multiple uses of the same javascript function, as follows: $key = $params->get('key');...
2
votes
1answer
138 views

Mixing PHP variables and JS variables in output

I am trying to develop a module to use JWPlayer's URL Toekn Signing (docs can be found here http://developer.jwplayer.com/jw-platform/reference/v1/content_signing.html) but I'm having an issue with ...
0
votes
1answer
750 views

Module: Set default values of fields dynamically

I am having different environments development and production for a website and each of its database varies. I have created a module which will connect to an external database. But now I want to ...
0
votes
2answers
263 views

Share article and with short url / short link

If you share a youtube video, youtube automatically create a shortlink that you can send manually, or via a variaty of different social media plattforms. See screenshot: I've searched for a joomla ...
2
votes
1answer
121 views

Problem with archive news module

I have a site with many latest news articles from the last 18 months. Using the default archived news module we can generate a list of months eg Janury 2016 etc However, we find that articles in ...
3
votes
1answer
194 views

How can I add modules to the tag search component page without adding menus for each tag item?

UPDATE: Because this is going to a client I am looking for a solution that does not involve creating new menu items for each new tag that is added. I have a blog that includes tags. The tags are ...
3
votes
1answer
239 views

how do i remove registration links in joomla 2.5 - login module

I would like to remove the links that appears on the top of my website "Sign In / Register" i already disabled the registration under the user manager however the links still appear there and i want ...
0
votes
1answer
177 views

Create custom override for list from mod_articles_categories

I have created custom template override for mod_articles_categories,and it works fine. I also need to create an override for the view ,when we choose a category from the list. is it possible? now the ...
2
votes
3answers
749 views

Module title not getting from language file

Here is the module manifest file <extension type="module" version="3.4" method="upgrade" client="site"> <name>ABCD_MOD_QUICK_WRK</name> ... .... <description>...
1
vote
1answer
371 views

Ajax multiple module instances

I have created a custom module (test) that has two buttons - a forward and a backward button. When clicked, the Joomla Ajax Interface is used to call the getAjax() function of helper.php. This works ...
2
votes
1answer
404 views

How to set up tag search in joomla 3x?

Joomla has standart tag search module, when i use it result is list of articles titles. How to set up a search on the tags so it gave a list of previews of articles with the headline, text and photo ...
1
vote
1answer
45 views

Assign admin module to all admin pages

Id like to assign an administrator module to all pages, This is very simple with site modules as you can assign in the "menu manager" tab , however in the admin module the "menu manager" tab is not ...
1
vote
1answer
103 views

Mulitple column insert

I have multiple custom file inputs in my module , id like to save all this inputs in my database table ("Custom table , not the Joomla tables") , below is my code , which saves only 1 input , there ...
0
votes
0answers
251 views

Add data attribute to module html - Joomla 3.4.8

I'm trying to add data-uk-sticky attribute to a Joomla module that displays a sidebar menu (to make it sticky). For that, I created an alternative layout by copying /modules/mod_menu/tmpl/default....
2
votes
1answer
1k views

Create form in frontend in a module

Am creating a simple custom search , where users will search using a droplist of option , i have successfully created the module , however i do not know how to show the form in frontend and how to ...
1
vote
1answer
433 views

Parent menu item not marked if sub menu item is active

As the title says, when one of sub menu items is active, parents of that item are not marked in any way. I'm using latest default Joomla and stock menu module without any overrides and mods. I ...
4
votes
1answer
61 views

What types of functions in Joomla are analogous to Drupal hooks?

Drupal has many hooks, such as hook_menu and hook_form. What are some functions in Joomla analogous to these?