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
1
vote
1 answer

Joomla module not showing

Am I missing something, the module below is published/enabled yet it still does not show on the page.
acctman
  • 4,229
  • 30
  • 98
  • 142
1
vote
1 answer

Joomla! Unable to edit modules PHP codes

I'm quite new to Joomla! as well as PHP. Currently i'm developing a Joomla! site using Joomla! Version 1.5.14. I have downloaded and installed VirtueMart 1.1.3 on my site and now i want to edit the registration fields for the VirtueMart Module. I…
Lloydworth
  • 743
  • 6
  • 20
  • 38
1
vote
1 answer

Joomla: Post form fields from module to component

I am a beginner to Joomla development. I have developed a rating module which looks as below. I have managed to get the ratings from my database, but I do not know how to insert into the database when user clicks the vote button. I have a form in…
Vivek
  • 4,526
  • 17
  • 56
  • 69
1
vote
1 answer

How to force download a file in Joomla 3?

Wrote a custom module for Joomla. The user enters a file name in the text filed and the pdf file with the entered value as name should be downloaded. But when clicked the page is redirected to home page. Here's the code $file = $_POST['posttext'] .…
sivavvit
  • 21
  • 1
  • 3
1
vote
1 answer

Migrating "bootstrap-touch-slider.js" to joomla

Hi I am migrating my html bootstrap site to joomla 3. So far things are looking good. I am using the bootstrap touch slider in my html version which works fine and I am stuck how to move it to Joomla. Is there any way to do this or do I need to…
Anna Moors
  • 25
  • 7
1
vote
0 answers

How can I add a StyleSheet in a joomla-module backend

I´m developing a simple joomla 3.x module. I need to add the font-awesome.min.css to display some symbols in the backend. For the frontend i use $doc->addStyleSheet( JUri::base( true ) .…
Alejo
  • 11
  • 1
1
vote
0 answers

Getting "\" sign inside HTML script in joomla

For a few months now I've been working on a Joomla-site and everything was OK till today. Today I started working on one module that I finished yesterday, but I got something strange. First, when I logged in today, this is what was waiting for…
Pejo Zmaj
  • 31
  • 5
1
vote
1 answer

How can check if Joomla module has an output?

I have a custom template that renderes a module in some position. The module does a query to database and renders according to the results. However, if the query to database returns empty rows, module does not have to be shown. I have this in the…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
1
vote
1 answer

how can I load a joomla module as a link?

this is my problem... I have some of images and links that I want to load different joomla modules when user click on them. mean each hyperlink can load another module|position thanks all
Aida
  • 11
  • 3
1
vote
2 answers

font awesome icon not displaying in custom module joomla

i want to display font awesome icon in custom joomla module, but when i write tag and saves the code, it doesn't displays any icon. when i write the same code in php file, it works. following is the code:
Wajiha
  • 21
  • 7
1
vote
1 answer

"
Parse error: syntax error, unexpected '{' in /home/site/public_html/devel/modules//filter.php on line 35
"

I'm facing a really weird issues with a scripts which worked 2 weeks ago and now is throwing the following error: "
Parse error: syntax error, unexpected '{' in /home/site/public_html/devel/modules/filter.php on line 35
Mastermind
  • 69
  • 2
  • 11
1
vote
1 answer

How to get text of Custom HTML in Joomla

I know that we can get text of an article as: public function onContentPrepare($context, &$article, &$params, $limitstart=0){ print_r($article->text); Now is there any way to get text of module that is designed from Custom HTML using editor?
Anant
  • 534
  • 11
  • 40
1
vote
2 answers

joomla how to call back end function in form action at module

this is my file structure in my modules: /module/com_somthing
NeetaSoni
  • 11
  • 2
1
vote
0 answers

Joomla: how to store the registered user documents and pdf?

In Joomla which plugin is used to store the particular logged user upload the document and download the document.One logged user cont see and download the other logged user.please help me urgent.I using the Joomla 3.x latest version.
reegan29
  • 920
  • 1
  • 12
  • 30
1
vote
1 answer

Joomla's jdoc:include style

i am new in Joomla. i found this code in my Template: but i do not understand , whats this style="xhtml" refer ? in my other joomla template , i see below code:
hassan
  • 145
  • 2
  • 16
1
2
3
10 11