Questions tagged [joomla-3.9]

For questions regarding version 3.9 of the Joomla Content Management System.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
53 views

Joomla 3.9 + Gantry 5.4.31 mismatch layout issue on localhost

I am trying to build a regional blog/magazine. The home page layout which came as almost default with Gantry is satisfying. I am using XAMPP on Ubuntu 18.04.3 and Joomla 3.9.13 and Gantry 5.4.31. ...
3
votes
1answer
108 views

How does the JSession works, and how to use it in different files?

I'm using JSession (in Joomla 3.9.x) to implement sort of a captcha field in a form, apparently the captcha code is been saved correctly in the session but I can't find the way to retrieve it, and ...
2
votes
0answers
52 views

How to display message on admin from within controller or helper file?

I'm creating a new component. I have a VERY long series of steps that are being processed within a helper file (called by the controller - in the postSavHook function). Within the controller function ...
2
votes
0answers
16 views

ACL Joomla Permissions of different users for different categories and articles

Where exactly do I have to set so that only this one category and article are visible to the user in Access Control List? I was able to set that the rest of the content is not edited by a user who ...
2
votes
0answers
179 views

Embed a leaflet map

I'm using Helix Ultimate alongside Joomla 3.9.6 with Sourcerer installed and want to embed a leafletjs-Map. According to leaflet's documentation, I need to load their CSS as well as their JavaScript, ...
1
vote
1answer
38 views

When using Joomla\CMS\Http\Http to do a request, how to check timeout?

In a component, I'm using the call to retrieve an xml file hosted on a website . However, in some cases, the firewall blocks this kind of request so there is no answer. In this case, how can I check ...
1
vote
0answers
18 views

Moderators for individual user groups

I develop a learning platform on Joomla! So I need to create the following hierarchy of users by rights: Super User | The school administrator, moderates the attached group of users of this school. He ...
1
vote
0answers
31 views

Add an Image to K2 article pragmatically

I want to add an image to a K2 article using PHP. Is there a way to add an image when I am creating the article using PHP? Adding the title, body, and category is simple enough. All you have to do is ...
1
vote
0answers
94 views

Managing authors of Joomla articles

We have a Joomla site with a few people managing it, adding articles written by numerous other authors. I would like to set the author name for each article and show it in the front end in the article ...
1
vote
0answers
36 views

Joomla routing adding a 'view' query parameter to traffic destined to com_api component

I'm planning a series of APIs to execute in a Joomla instance to provide data to other sites. Experiments ongoing to understand how to implement. Considering com_ajax, com_api or new component. ...
1
vote
0answers
93 views

authorise('core.admin') how to include administrator level also?

We want Administrators to be able to see Privacy Requests in the module on cpanel. But this module has the following code: // Only super user can view this data if (!JFactory::getUser()->authorise(...
1
vote
0answers
71 views

JRoute::link('site') generates different strings depending on the app context

I'm developing a component in Joomla! 3.9.13 with SEF urls turned ON and I use this line of code JRoute::link( 'site', 'index.php?option=com_mycomponent&task=profile.edit', false, JRoute::...
1
vote
0answers
44 views

Cannot insert image in k2 article

I'm facing an issue on the backend side of my Joomla 3.9. I'm using K2 as the content builder and set TinyMCE as default editor. I wanted to insert an image by using the modal button "image", but, as ...
1
vote
0answers
35 views

Why can only superusers administer information requests?

I have activated the new privacy suite that came in Joomla 3.9 in a website. It is impressive software: its capabilities and the userfriendly way it is presented. The documentation tells me that ...
1
vote
0answers
108 views

How to link to external file that contains a link to the Boostrap stylesheet and another for the js files

I have several Joomla 3.9 websites now using Bootstrap 4x - currently v4.1.3. In the head of the index.php file for each website is this link: <link rel="stylesheet" href="https://stackpath....
0
votes
0answers
36 views

ERROR 1054 when login in admin section

An exception has occurred while executing: SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.middle_name AS middle_name_3, t0.last_name AS last_name_4, t0.email AS ...
0
votes
0answers
18 views

How to migrate a production site to a new template?

I am installing new template in dev site and migrate all the contents from live to dev. Would anyone care to share their tips on how to transition to a new Joomla theme with as little pain as possible?...
0
votes
1answer
33 views

Custom form field in subform. How to access parent form fields?

I have created a custom file list form field and the field is used in a repeatable subform. The purpose of this custom form field is to display a list of files in folder based on 'name' field in main ...
0
votes
1answer
29 views

Add module to Component area

My main menu is linking category blog which is automatically displayed in component area, and I want to put a slider module in component area too, but only in home page, so modules on "Right"...
0
votes
0answers
41 views

1146 Error when creating custom table

I have created a secondary user table to store other information in the Joomla database. However, when I try to insert information into that table, I get this error. 1146 Table 'database.#__vvuser' ...
0
votes
0answers
23 views

"Components" menu item missing from Admin Menu (Joomla 3.9.10 + MightySites)

We recently found that in one of our MightySites sites, the top level "Components" menu item is missing from the Admin Menu. The configuration looks to be the same for the Administrator Menu ...
0
votes
0answers
60 views

An error has occurred. 1062 Duplicate entry '0' for key 'PRIMARY' Return to Control Panel?

I have been trying to add a new post from few days using the EasyBlog component in my Joomla 3.9.24 site, but I am getting anerror after clicking the add new button from the Joolma backend. I can't ...
0
votes
0answers
18 views

Add tags to K2 article programically

Is there any way to add tags to a K2 article using PHP? Maybe there is a K2 tag observer class that I can use to add the tags like the code below. $tagsObserver = $Table->getObserverOfClass('...
0
votes
0answers
30 views

How to use joomla default Captcha with Custom Module?

I search nearly whole google to use Joomla default Captcha to custom module. The Captcha can be shown up, but as if it couldn't validate. Anyone can offer how can I show Joomla Captcha in my module ...
0
votes
1answer
57 views

How to display custom user profile plugin fields on "Edit account" page?

We are building a website with multiple authors using PWT ACL to restrict their access to the users tab so that they don't mess with each other's profile or content. I created a custom user profile ...
0
votes
1answer
41 views

How to change language in specific page using Joomla

Currently, I am creating multi-language pages with several type of languages. My home page is set for English. When I try to change the language from the second/third page, the others language will ...
0
votes
1answer
40 views

Custom search box query for homepage

I'm really new to Joomla and I have some basic experience with HTML/PHP and mySQL I have a seperate DB in mySQL which has only 1 table & 3 fields to be populated, this part I've already setup and ...
0
votes
0answers
71 views

Custom component: different redirect when changing language/logging in

I inherited a site with a custom component: an agenda viewer. When I click on an agenda-item from the list and then login (via login module) or change the language, I am not redirected to the agenda ...
0
votes
0answers
54 views

com_weblinks Unhandled exception - InvalidArgumentException

Admin Tools is notifying me of a PHP exception that occurs within the Weblinks component on Joomla 3.9.6. I have included the stack trace below for reference. The exception occurs infrequently (about ...
0
votes
1answer
77 views

Joomla admin redirects to language code after login

I've been extensively searching the web but found no useful solution and would be happy for any input. After migrating the site to a new server (Apache, no apparent changes, just newer) and adding ...