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
0
votes
1answer
426 views

Using a JQuery function in a module?

I have customised a small text rotator using Jquery which I wish to use to rotate phones numbers in a module.It can be found here: http://jsfiddle.net/tovic/xaqgn/ I have tried embedding the function ...
0
votes
1answer
277 views

Pass xml field inside module's helper class

I have a custom Joomla module. In the helper.php class, I need to pass XML field data. Here is what I have so far. class modcatbanerHelper { // I need to pass here public $selected_cat = $...
3
votes
1answer
104 views

How can I make a site like StackExchange with Joomla?

I really like stack exchange, you ask questions, get answers, vote for them and many more. I'd like to have a similar platform for my company so that employees can discuss different subjects and tag ...
3
votes
1answer
47 views

Protecting modules from deletion or editing

Does anyone know a way to protect a custom module in it entirety (position, content and from being unpublished and or deleted) I have a module that I don't want other users from altering the file in ...
4
votes
1answer
406 views

How to Order the fieldsets for a joomla module manualy?

I am currently developing a joomla module. For detailed settings i have created two fieldsets - as you can see in my screenshot. Is there any way to sort the fieldsets to bring "chart data" and "chart ...
1
vote
1answer
820 views

Dynamic fields in module parameters

I have created a Joomla module that renders a set of headlines in a widget, with links to the main item. It loads these headlines from either a Joomla category or an RSS feed, and is extensible so I ...
1
vote
2answers
1k views

Custom field colResizable plugin not working but works in fiddle

I got this fiddle: http://jsfiddle.net/2h4kLzgj/9/ Now I am trying to add this to a custom field in Joomla but for some reason it does not work at all in the administrator. The table shows up but ...
1
vote
0answers
122 views

repeatable form field type - drag & drop

Is it possible to add a drag & drop function for sorting inside a repeatable field? I use repeatable fields in my modules and it would be nice to change the order per drag & drop.
2
votes
1answer
518 views

Joomla 3.6 nested subforms not saving

I am trying to use the new subform feature to implement nested forms. This greatly increases the readability for developers and I thought it was already possible to do but after testing I am not so ...
1
vote
0answers
135 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
56 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
521 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
69 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
143 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
888 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
87 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
500 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
681 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
925 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 ...
5
votes
3answers
11k 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 () { return $...
3
votes
1answer
192 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
161 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
60 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
275 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
391 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
185 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
350 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
97 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
612 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
83 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
193 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
178 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
322 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 ...
5
votes
2answers
200 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
150 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
1k 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
68 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
69 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
146 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
810 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
326 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
127 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
198 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
265 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
202 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 ...

1 2
3
4 5
8