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
3
votes
3answers
3k views

How to assign a module to different pages

I have menus in home page. Now i want to display different modules in different page and also I want to add SEF custom name to pages. Since I am new to Joomla, Any help greatly appreciated. Thanks in ...
3
votes
2answers
1k views

Custom Admin Panel/Back-End Functionality Starting Point

I'm new to Joomla, but not to CMSs in general(I have years of Drupal/Wordpress module/plugin development), but I am unsure of how to go about creating what a client asked for. Part of it is since I am ...
0
votes
1answer
398 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
533 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 ...
3
votes
1answer
176 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" /> &...
5
votes
2answers
6k views

Available fields in Joomla XML manifest

When developing an extension, what are the form field types I can use in Joomla?
1
vote
1answer
195 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
129 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 ...
1
vote
1answer
323 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. ...
2
votes
2answers
966 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 ...
5
votes
3answers
4k views

How to add article image to module mod_article_categories?

I am using Articles - Categories module in my Joomla website (my custom template) and it works great, meaning that it lists all articles with intro text from the categories I want. But it does not ...
7
votes
2answers
1k views

Get Value of Repeatable Field from Joomla XML manifest

repeatable - How to get values from this field type ? I am coding a Free module with a repeatable field. <field name="star_slides" type="Repeatable" icon="list" description="" label="Edit Your ...
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 ...
2
votes
1answer
555 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 ...
4
votes
3answers
5k views

override modules

Joomla 3.3 - beginner I am creating my first template, and after installing it to be ready for testing. I accidentally clicked on "mod_login" in the "create override" under my template settings. and ...
3
votes
2answers
284 views

Module XML with SQL field (JFormFieldSQL) - Custom Form Field - Check if table exists

My module uses the sql field (JFormFieldSQL) for a few simple queries in the database for a 3rd party component. My concern is that if the tables are missing, opening the module in the admin will "...
4
votes
1answer
143 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(...
1
vote
2answers
125 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 ...
7
votes
3answers
7k views

How do I generate a SEF URL in a custom module instead of the real URL?

In my module, this code is being used to generate the URL of the page: JURI::base() . ContentHelperRoute::getArticleRoute( $article->id, $article->catid ) This works exaclty as it should and ...
0
votes
1answer
256 views

How to show submenu on product detail page

I am working in joomla version 3.1.1 with joomshopping. It is showing submenu fine on category view, but when I go to the product detail page the submenus are not being displayed. Is there any way to ...
1
vote
5answers
1k views

Image slider gets stuck on menu items others than home.

I use DJ Image Slider on my Joomla 3.3.1 to get an animated banner. The module works fine on both home pages (it's a bilingual website) but not all the other menu-items where the first slide is loaded ...
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 ...
6
votes
2answers
1k views

Copying Joomla Menu Items and keeping Module assignements

Currently in Joomla 3.2, selecting "Save as copy" on a menu item copies the details but not the module assignments into a new menu item. (I believe module assignments were copied in Joomla 2.5) Is ...
2
votes
4answers
1k views

Blank page after attempting to install extension

I'm getting a blank page when attempting to install AutoTweetNG on Joomla 2.5. I've already checked the post_max_size and upload_max_filesize variables in the php.ini, which are set to 20M and 60M ...
1
vote
2answers
633 views

After Joomla update duplicate or create new module get id : 0

Joomla is updated to 3.3 and create of a new module or duplicate existing module with no success. Its possible to create a new, or duplicate modules but module id is 0 for each new module I create, ...
0
votes
1answer
744 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
254 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
119 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 ...
1
vote
1answer
486 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 ...
0
votes
1answer
175 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
vote
1answer
368 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
397 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 ...
2
votes
1answer
115 views

I can't var_dump my module's info

Sorry for asking another question, but I really need an answer on this. My module is called mod_improvedmenu. I've been experimenting a bit (I'm still learning, I need some help on this subject ...
7
votes
2answers
2k views

How to insert “php code” inside the .xml manifest file of a Joomla module?

I want at the fieldset of a joomla module to echo an option with some fetched results from my db: <config> <fields name="params"> <fieldset name="basic"> <field> <?php $db ...
4
votes
3answers
1k views

How to put divider images between menu items

I'm trying to modify the Joomla menu module, so that I can put divider images between every list item. The thing is, that I don't want these to appear in the sub-menu's. How can I filter out what is ...
2
votes
1answer
432 views

Joomla menu items into clickable div's

I'm working on customizing the Joomla menu as a little experiment to see how customizable I can make it. However, now that I've made every menu item into an editable button, I've decided to change ...
1
vote
2answers
120 views

How to Include google fonts in a my module?

I want to use the google fonts in my module, so that you can pick a font rather than having to type it out. I picked google fonts because it seems like the most "future proof" way, so I wanted to ...
3
votes
1answer
2k views

Create custom language switcher module

I would like to customize the language switcher module, that is I would have some different effect, like having name and flags together. How could I perform it? EDIT: Joomla version 3.3.6 template ...
2
votes
1answer
245 views

Filtering tags of featured articles Joomla within override of featured articles

In Joomla 3, I want to filter on tags for featured articles within an override of featured/default.php itself. I have a module that filters the tags of featured articles out. Is it possible to 'use'...
0
votes
2answers
373 views

How to add a new module position in joomla 3.X

I am trying to add a new module position to the top of my joomla template. I have followed all of the steps outlined in this article: https://www.gavick.com/documentation/joomla-templates/customizing-...
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 ...
0
votes
2answers
364 views

Is it possible to disable a plugin/module via template in Joomla 3?

I have a menu with different template assigned. I want to disable the plugin Tabs & Sliders (by JoomlaWorks) in this menu. Can I disable this plugin via template ?
0
votes
0answers
247 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....
4
votes
1answer
60 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
1answer
72 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 ...