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
4
votes
3answers
9k 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
173 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
146 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
54 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
182 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
297 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
180 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
289 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
92 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
532 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
76 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
182 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
154 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
279 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
164 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
140 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
57 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
939 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
62 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
137 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
726 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
245 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
118 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
186 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
233 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
172 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
720 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
366 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
379 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
42 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
102 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
242 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
421 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
59 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?
1
vote
2answers
124 views

How to add simple visitor interaction in joomla 3x?

I have a download page on my website. I would like to know who downloaded the content so I need to put this behind user login. Free registration is required, and by providing details like email they ...
1
vote
1answer
69 views

Echo an items label in a module

I have used the Joomla Component Creator to make a component and a module. Now I'm trying to modify the output of the module. I can use echo ($element->my_field) to echo the value of my field ...
0
votes
1answer
273 views

Can't clear a cache of Joomla module

I created some Joomla module for my client and he installed it in his backend. After a while I made some edits in the module and my client reinstalled it but my edits don't apply on his website (...
3
votes
1answer
69 views

Handling of Plugin Custom Field Type Data

I have written a custom field type which will allow users to upload a file (CSV). Upon submitting the file, the plugin needs to be able to read through it and then do its own thing (update database ...
1
vote
1answer
483 views

Module that will display 10 random featured articles with full read more text

Ive spent quite a few hours looking but have been unable to find so far, but am thinking this must surely be available. I just need a Joomla Module that will display random featured articles from a ...
1
vote
1answer
127 views

Display html presentation of OSMap-Sitemap into module position

I created a sitemap with osmap. All works fine, I created for testing a new menuitem "Sitemap" put a refenrence to osmaps and get my sitemap on a different page. But i want to display the Sitemap on ...
3
votes
1answer
138 views

Is there any equivalent event to onContentAfterSave for Modules?

Is there a way we can 'listen' to the module save event so that we can use a plugin to do some additional work. I found this question on stack overflow but I am confused as to where dispatcher will be ...
0
votes
2answers
109 views

Can I put link from custom html to wrapper module?

Here it is. I have a custom html with some mouse hover js function. So, when I click on that fade in 'view' button, I want to display embedded video in wrapper module? How do I do that?
0
votes
4answers
79 views

Module position get disturbed after i download new template but keep the old one as default

Here are the steps I followed - Downloaded new template Automatically the new template became the default one I reverted back to old template Result - Module position (main menu) get changed. I ...
2
votes
1answer
54 views

Module update not detected

I've written the XML for the updateserver per the documentation, and tested that it is both valid and has a downloadurl that is functional. I have tried to clear the cache and check for updates, but ...
0
votes
1answer
44 views

Using two instances of module -> Articles - Category

Currently attempting to use two instances of the module Articles - Category. However, the results for both listings always end up the same. The problem maybe in the fact that I'm referencing the same ...
1
vote
3answers
275 views

How to remove module on mobile device

i want to hide the right module from the mobile device, i have used several techniques but no one work for me. This is my website http://www.healthliteracyhub.com i have used this template http://...