The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [module-params]

For questions related to the parameters section of the modules. Parameters are options inside the modules, to manage the module behavior and appearance.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Remove default settings from fieldset basic in module

Is it possible to remove the default settings (sidebar) in fieldset name="basic" (Display title, module position, state etc...) and put them in a separate custom tab?
2
votes
1answer
39 views

Get module params in custom form field

I need to get all other module field-params of the current module inside of a custom form field in backend. In tmpl/default.php it works with: $bgcolor = $params->get('bgcolor'); But in custom ...
0
votes
0answers
16 views

Setting module's module assignment to 'All pages'

I'm using postflight to try and set my module's module assignment to 'All pages' and here's the code. // Module assignment 'All pages' if (strtolower($type) === 'install') { ...
0
votes
1answer
43 views

Module Template/alternate layout Name language Override

Is there a way that I can create a module template and give it a name with spaces? At the moment it takes it's name from the file name, but that is not very neat for the user. Can we create a ...
3
votes
1answer
74 views

Module field type category not working

I am trying to tweak a module based on Joomshopping, a shopping cart extension. The module is called "mod_jshopping_categories", I want to add a field that is a dropdown list of the product categories ...
3
votes
2answers
167 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 ...
2
votes
1answer
59 views

Creating a module and giving it config parameters options

on the documentation for creating a module, the basic is all there but they don't talk about giving parameters to your module. Example the color of the background or the size whatever. So I want to ...
1
vote
2answers
156 views

XML file does not upload with my custom module

I have created my own module. Within my module I have used the Joomla! subform which allows me to create repeatable fields using a separate XML file. If I look at my module I see an error: JForm::...
2
votes
2answers
221 views

How to add article links to module mod_articles_category?

I want to take the below code from com_content/article/default.php (line 91-94): <?php if (isset($urls) && ((!empty($urls->urls_position) && ($urls->urls_position == '0')) || ...
2
votes
1answer
225 views

Joomla 3 - How to set module params programmatically?

I have a module and params are being saved through the config form. I want to add some additional params programmatically e.g. a token? Is this possible? Thank you.
1
vote
1answer
182 views

Can't pass params to external php file

I'm trying to make a simple contact form but I can't pass params from my module to external action="contact.php" file. This is how I'm trying to get parameters to an external file: $app = JFactory::...
1
vote
1answer
37 views

Move the Joomla! module layout override to a different tab

Is there a way to either move the Joomla! module layout override option which is usually found in advanced? If not, is there a way to ensure that it is the same as one that I put in my regular window?...
2
votes
1answer
480 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
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 ...
2
votes
2answers
261 views

How to change form values sent by a module?

I've just coded a module in J!3.7 which should auto-generate the values of optional fields based on another required field value on save. I know that I can check values using a rule class but I had no ...
2
votes
1answer
759 views

use Joomla Subform field values in custom field from same module

I have the basic xml file where in I call subforms into two tabs. Called Tab 1 and Tab 2. The content of this file is below. mod_something.xml <fieldset name="tab1"> <field name="...
2
votes
2answers
60 views

Module Level Configuration

I'm writing an add-in for Joomla and I have a question about modules. I'll be the first to admit I'm not a wizard on Joomla. I have read a bit and watched some tutorial videos. Say I have a module ...
3
votes
3answers
166 views

Child XML for joomla parameters

I'm creating a template with many parameters available in its backend. Basically I have about 8 blocks in the template structure (index.php) and each block have about 30 options (background, content ...
1
vote
1answer
324 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
236 views

Module Development: What fieldset name do I need to use to add JFields to the tabs: Menu Assignment & Module Permissions

What fieldset name do I need to use to add JFields to the tabs: Menu Assignment & Module Permissions Please see below picture for more details.
4
votes
1answer
97 views

Module Position field is not clickable inside a repeatable field

I tried to include Module Position field inside a Repeatable field. The module choices modal is showed up but the available module options are not clickable. Is it a joomla bug or I missed something ...
2
votes
1answer
2k views

How to get ALL params of object?

If I want to retrieve a single parameter from a component the code is pretty simple, example: $app = JFactory::getApplication(); $params = $app->getParams('com_content'); echo $params->get('...
0
votes
1answer
261 views

How to add attribute to <form> of backend for module

How can I add the attribute enctype="multipart/form-data" to the <form> tag in the configuration page for a module? That attribute is needed to upload a file to the server. I am trying to ...
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 ...
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
307 views

Update Server for template

Is it possible to use update server for managing template updates? I read here that template is not supported. But is the article up-to-date? Because on that article there is also a line that ...
3
votes
2answers
5k views

Joomla constant to current template path

I am developing a custom module, and I need this module to show selected some pictures selected in the backend. So, I declare a parameter with type "imagelist" in my module xml file. <fields ...
0
votes
1answer
45 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
1answer
194 views

Echo Category form field type title in Module

I'm building a module and using the Category Form Field Type, as outlined in the Joomla docs here https://docs.joomla.org/Category_form_field_type In the module XML I've used the following: <...
5
votes
1answer
1k views

Show module only on the start page

I've made a finder plugin which creates router links to my component. If there is no menu link available (especially when the found item is in a subcategory) the route of the item in the finder plugin ...
3
votes
1answer
275 views

Reset button for template parameters

I'm creating a joomla template that allows user to change the template styles (such as font-family setting, bgcolor, text color, etc) from the template backend. Is it possible to create a reset ...
0
votes
1answer
3k views

How to make checkbox is checked by default

I'm trying to add checkbox to my template parameter and giving default="1" value to make it checked by default. <field name="fieldname" type="checkbox" label="fieldlabel" description="Desc of the ...
0
votes
1answer
130 views

How to override Module Frontend Editing Page

I'm trying to override Module Front End Editing Page. I tried to copy this folder [root]/layouts/joomla/edit to [root]/templates/template_name/html/layouts/joomla/edit but it doesn't work. Any idea ...
0
votes
1answer
254 views

Alternative layout with moduleclass_suffix

I have a Problem with the carousel module from bootstrapjoomla.com Unfortunately the module doesn't support alternative layouts. But I need to have two carousel on my homepage. Therefore I've to ...
1
vote
1answer
340 views

$params and $module stay empty for custom made modules

I created a custom mod_helloworld module, according to the instructions in the Joomla 3 documentation. I have a "lang" parameter on the mod_helloworld.xml config section. The module is loaded ...
4
votes
1answer
711 views

Range form field type

I read here that there's a new range form field type since J! 3.2 that will provide a horizontal scroll bar to specify a value in a range. But when I opened the description page, there is no ...
1
vote
1answer
195 views

'Menu Item' in Module's XML file

In module development, I'm using a field for menu item (from these docs https://docs.joomla.org/Menuitem_form_field_type). I can work out to to show the menu item in the XML: <field name="...
4
votes
3answers
2k views

Get module parameters using loop

I'm creating a module for a website, and to get the module parameters I do something like this: //-- Get a parameter from the module's configuration $company1_enable = $params->get('...
1
vote
1answer
103 views

SimpleCalendar - display category in module

I am configuring the simplecalendar module in Joomla 3.2.2 Wich seems not to be capable of displaying the category of an event in the module? In the backend there is a line loading different ...
3
votes
2answers
434 views

Show module field data in frontend

I am building a Joomla 3.x module, I have used a media type field within the module params <field name="image-1" type="media" label="Select your first image" directory="backgrounds" /> This is ...
1
vote
1answer
119 views

Hiding and showing fields based on menu item

I have a module with a few text input fields. For example: menu a menu b I also have two menu types, each for different sections of the site. Is it possible based on which menu type the module is ...
2
votes
1answer
77 views

Is this a route loop?

Our site (Joomla 2.5.8) is using the Document Seller component/module (I'm not clear on the proper use of these terms in the Joomlaverse) to categorize and sell a series of PDF documents. The ...
-2
votes
1answer
126 views

How do you set parameters in Phoca Gallery 3.2?

For some reason the Thumbnail creation has switched off. Googling the issue reveals that I can just switch it back on in Parameters - but I simply cant find a link to parameters anywhere. Can ...
4
votes
1answer
346 views

Module Params Custom Validation is possible?

Now I have situations to validate Module params in admin side of a module. I know there is option with Filter in module params but its limited , I can't validate some patterns or custom conditions. ...
4
votes
1answer
549 views

Module parameters in main tab

When creating Joomla modules, I use something like this in my XML manifest file to add parameters: <config> <fields name="params"> <fieldset name="options" label="...
1
vote
1answer
67 views

How can I modify/control the HTML output of my Module?

I'm developing a Joomla 3.x.x module which connects through to a components table in the database. I have got the following code in the helper.php which outputs the variables successfully: public ...
6
votes
1answer
251 views

Creating a Global Parameter for Modules

Is it possible to create a Global Configuration option for all the modules? So for example, Every Module has a Title field, If i wanted to add a "Module Tag Line" field to every module? In reality ...