All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
25 views

Update List field rendering after ajax update

for one of my extensions i need to update a select list by ajax. the whole ajax call is working and i got the new option vars for the select list. I add those options in the ajax's "success" function ...
1
vote
1answer
23 views

How do I unit test component methods that use the logger?

I have unit tests running for my component (using a bootstrap file to get the usual requirements) but as soon as I add any logging, I get: Class '\Joomla\CMS\Log\Log' not found` I have tried ...
0
votes
1answer
24 views

Insert custom field into modules .xml file

I have currently created a Joomla Module, and i would like to make it a bit more advanced now. I have created a Custom field, and i have tried to add it to the mod_NAMEOFMODULE.xml file. To use it ...
4
votes
3answers
836 views

Is there a way to add rel='preload' using addScript/addStyleSheet?

I want to display some of the styles and scripts using rel='preload' to make my pages load faster - referring to the Google Lighthouse. <link rel="preload" href="style.css" as="style"> <link ...
0
votes
0answers
11 views

How can I create a custom list formfield from json

I need to create a custom formfield like so: https://docs.joomla.org/Creating_a_custom_form_field_type But the data I want to populate the list with is in a json file. So I can't really do a PHP ...
0
votes
1answer
14 views

Can I use Joomla for two seperate websites?

I use Joomla for my work website and like it but I want to move my personal website to Joomla. I initially registered my website through NameCheap.com and tried using their Website Builder but their ...
0
votes
2answers
20 views

Is it possible to change the parent of a menu item at certain widths?

I have a horizontal main menu in which the last item is a dropdown containing further items. Is it possible, as the screen width is reduced, to move items from the horizontal menu into the dropdown? ...
0
votes
1answer
11 views

joomla returning invalid fields for user registration

I've added in custom fields for joomla registration, however it's returning them as Invalid Fields? $requestData = $this->input->post->get('jform', array(), 'array'); echo '<pre>';...
0
votes
1answer
34 views

JomSocial Extension causes error: 0 String could not be parsed as XML

I have installed a JomSocial extension and now I am seeing an error: 0 String could not be parsed as XML screenshot of error The same error message is also presented in the title tag of my ...
0
votes
1answer
44 views

Select query with FOR UPDATE

I am trying to select a record from a database and lock that for update. How do I do that? I got the below query. $query->select($this->_db->quoteName('jo.job_id')); $query->...
0
votes
1answer
37 views

How to set article options and associations programmatically?

I work on a custom Joomla 3 module that creates articles programmatically based on user input. I can create the articles, but I could not find a way to set the article options and associations when ...
1
vote
1answer
45 views

Contact Form Non Unique id #jform_id

Joomla 3.9.14 When I open a contact to edit their details and look in the browser console I can see the following notice; [DOM] Found 2 elements with non-unique id #jform_id: (More info: https://...
1
vote
2answers
79 views

Best way to clear a group's cache in Joomla via php, from an administrator plugin?

So background: I'm making a caching plugin that clears our site and CDN caches when content is saved in the administrator backend. In this instance, I want to clear the site cache for one group. My ...
0
votes
1answer
31 views

Joomla Contact Form's and some of RS Form's fields aren't editable (disabled)

I've noticed that Joomla Contact Form's and some of RS Form's fields aren't editable (disabled). I think it's probably because of wrong settings of Joomla ACL for a public access to the fields, but I ...
0
votes
3answers
112 views

Joomla 3 call model function inside controller

I want to call a function from model inside controller my model : httpdocs/components/com_storemanager/models/searchmanager.php <?php /** * @version CVS: 1.0.2 * @package ...
1
vote
1answer
136 views

Joomla site overrides Array.from() causing Google Maps JavaScript API v3 to not work correctly

I'm working on a custom Joomla module that has an input field, where users can start typing the name of a city and the field offers a list of cities using the Google Places autocomplete API. The ...
1
vote
1answer
72 views

Joomla 3 return view with parameters

I'm using Joomla 3 and I have a controller with the function abc that should call a view with some parameters title & address My controller :components/com_storemanager/controller.php <?php /...
1
vote
1answer
738 views

How to create breadcrumbs based on menu structure

Breadcrumbs grabs the breadcrumb trail based on the content. This causes problems when a site has internal links being created via the editor to other articles that do not have menu items. eg: Home / ...
0
votes
0answers
27 views

Access to returned Json single value from controller [closed]

i don't understand how to access to a single value returned after ajax call datatype JSON. My controller returned to me this value: { name: Andrea catname: Minnie } How can i acces it ...
2
votes
1answer
62 views

Get menu-meta_description from menu item

I need to add meta description inside a component page. That's what I tried: $menu = $app->getMenu(); // Load the JMenuSite Object $active = $menu->getActive(); // Load the Active Menu ...
0
votes
1answer
67 views

How to render mod_articles_category using custom php code?

I am writing PHP API for Joomla3.9 website where I need to deliver the HTML produced by mod_articles_category modules. I tried blow code to get Module HTML output but it does not working any more It ...
1
vote
1answer
232 views

Product url problem after updating VirtueMart

In my VirtueMart Configuration under the SEO tab, I've checked "Use full category tree for product links" so my products detail page default routing was like this: example.com/cat1/subcat1/subcat2/...
17
votes
4answers
31k views

Adding custom CSS styling on some of my pages

I would like to add custom CSS styling to some of my pages to give them a unique style, and override the default template styling. How can I achieve this in Joomla?
0
votes
1answer
96 views

Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items

I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but ...
2
votes
1answer
932 views

Joomla Email Not working

I am working on Joomla3.4. Joomla default registration page is created on menu. When i register activation email is not working. I uploaded simple email script which is working fine. Please help me ...
0
votes
2answers
42 views

Joomla Calendar format not displaying the correct format

Below is my calendar field in the form <field name="job_next_run_date_time" type="calendar" label="JSCH_JOBV_NEXT_DATE_TIME" description="...
0
votes
4answers
266 views

Internal (but non-joomla) URL as Menu Item

The Goal We have a subset of items on our site that are not Joomla pages, but other systems such as a selection of HTML5 and Flash (for now) Games: /play /photobooth etc. These should only be ...
0
votes
1answer
38 views

Controller Joomla - Output Class construct for color css style

thanks to you i'm learning a lot about php and Joomla Develop! Many thanks! Now i'm trying to understand php class into joomla and construct output i've created this class into my controller.php ...
0
votes
1answer
30 views

How to extend class on my component class in controller.php

I have created a Basic Joomla Component with Component Creator in order to prepare every single files in less the 1 minute :D (I'm lazy, i know.) I have one view default and one for form edit. I ...
-1
votes
1answer
20 views

Searching for the timepicker like Mozilla thunderbird

I have been searching and googling for the timepicker like Mozilla thunderbird (see attachment). I need only a timepicker not a datetimepicker. I hope that it is in jQuery so that I can add this ...
2
votes
2answers
40 views

Js/Ajax function into a Js file doesn't work

I'm not a programmer (This is my hobby, but I like to learn new things). :) I'm developing a JComponent on my side, and I need to integrate an Ajax Call in order to check something. But I have this ...
1
vote
3answers
46 views

How to inject a custom message in joomla update without touching the core code

I created my own component in joomla and I want to show a custom warning when my users want to auto update the component. When they try to update it joomla could not find the zip file and return a ...
0
votes
2answers
43 views

How to properly verify whether there's a token or not - Joomla checkToken() function

I have a page with a form, this form redirects the user to another page, however the user can only access this page if the form has been subimitted, for that I check if there's any token. I have the ...
0
votes
1answer
26 views

How to fully display login page with Helix3 on mobile devices?

When I switched from Gantry to Helix3, two problems arose: On the website, I have a closed page that requires a password. A sign in Gantry came in, but in Helix3 there is an error message: "You ...
1
vote
1answer
44 views

SEF URL Issues on several sites

I am running into an issue on several sites where the urls are "nesting" other links in the main url structure. For example: https://retrolube.com/blog/five-benefits-of-new-tires-for-your-vehicle/...
0
votes
1answer
55 views

Multple urls for a product with multiply categories

I have a cctv camera shop and I'm using the last version of joomla and virtuemart. I have a "bullet hd camera" the categories are: camera --> hd-camera --> bullet-hd-camera bullet-hd-camera is ...
0
votes
1answer
223 views

Fatal error: Call to undefined method InvalidArgumentException::getlevel() in l/libraries/legacy/error/error.php on line 536

I've done a website transfer from one hosting provider to another one. I managed to make the website live in the new hosting, but can't access the Joomla! administration area. I get this error: ...
1
vote
1answer
22 views

Custom Field Tag Style List

Joomla 3.9.11 I have created an SQL custom field for my joomla contacts called location, this allows me to assign a location to my contacts. The SQL simply selects location_name from a custom db ...
0
votes
1answer
40 views

How to render nested modules, (parent outside articles)

I tried the following code: $document = JFactory::getDocument(); $renderer = $document->loadRenderer('modules'); $position = 'precisions'; $options = array('style' => 'raw'); echo $...
0
votes
1answer
141 views

Tracing source of this error: Call to a member function reorder() on boolean

Is there a way to trace this error: Call to a member function reorder() on boolean I'm checking my PHP Logs but this particular error isn't showing up there. It happens when I'm trying to create ...
1
vote
1answer
21 views

No “Apply” button when attempting to duplicate an administrator menu

I tried to duplicate an administrator menu, but this is not possible due to a missing "apply" button. Is there any settings or circumstances where this can happen? I recorded a little gif to ...
0
votes
1answer
50 views

Select Query With Integer and Quotes Fails

Joomla 3.9.13 I'm having some issues with a simple select query. This query is generated by the core files, I haven't created any overrides or changed the code. In administrator/components/...
1
vote
1answer
59 views

Why does the FormController instantiate models with the ignore_request flag set to true?

The Joomla\CMS\MVC\Controller\FormController::getModel method has a default argument for the config argument that sets the ignore_request parameter to true. This in turn means that models will not ...
0
votes
1answer
317 views

Joomla - Custom fields in Backend - Template override

I have a Joomla-site with a lot of extra-fields in custom fields area. When I edit my articles the long list of fields is quite confusing. So I thought I could be a good idea to show the custom fields ...
1
vote
3answers
477 views

How to login via url

Any way to login direct with URL without user need type user and password? I need some simple to run in my intranet. Some like http://mydomain.com/?user=name?password=9999
0
votes
1answer
27 views

Why are all permissions allowed for every user group

For some reason I can't deny permissions to some actions. Everything has in green: Allowed (Super User). Even when the setting is set to denied. For example here: in the public user group I set site ...
0
votes
1answer
27 views

When uninstall component package isn't uninstalled

Hello my joomla extension is done with a package whith contains the compenent, the library, the plugins, the medias. I have an auto-uninstall feature into my component, but when use it at the end ...
0
votes
1answer
36 views

How to implement language-specific tags in select tags list from editing?

I have observed in Joomla (v3.9.16 and in older version too) a strange behavior (maybe it is right, but I don't understand it). When we have fully installed and configured a multi-language site, if ...
0
votes
1answer
41 views

Ordering subform data

Wondering if anybody has ever come up with a solution to this problem; my research tells me not. A bit convoluted explanation but hopefully you can understand... I have a component which has both ...
0
votes
1answer
55 views

Show the fieldgroup title on /html/com_content/article/edit.php

We want to move all field groups to the first content tab on the backend and assign individual classes to every field group. Therefore, we've already ignored the fieldsets to avoid the creation of the ...

15 30 50 per page
1
2 3 4 5
127