Questions tagged [joomla-3.9]
For questions regarding version 3.9 of the Joomla Content Management System.
60
questions
0
votes
0answers
12 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('...
1
vote
0answers
23 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
42 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 ...
4
votes
1answer
49 views
Create a table observer
I am trying to create a table observer in a module. I am using the Table Advanced API guide in the Joomla documentation https://docs.joomla.org/Table_Advanced_API_Guide. When I use the code provided, ...
0
votes
0answers
25 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
0answers
15 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
42 views
Get the subfolder from current url
I'am wondering how to get into Joomla! component the subfolder from the current URL.
Is-there a way to achieve this ?
Thnaks by advance
2
votes
1answer
110 views
Joomla 3.9.19 get the constants from global configuration in component display function
I have created a component and need to get a constant value in the component administrator and list the item according to it. I have tried different ways to get the constant value in the display() ...
0
votes
1answer
36 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 ...
1
vote
1answer
35 views
What if I assign every user group to a Super User?
This idea came to me when I was trying to formulate a question on this site found here.
Ok, bear with me, before you scream at me not to make every single user a super user, let me explain. This is in ...
1
vote
1answer
42 views
loadAssocList() is not working properly when assigning a column name as the key parameter
I have a complex query like below. I want the p.ComponentId values to be the first level keys of the multidimensional result set array. However, it does not work as expected. In my case, when I don't ...
0
votes
1answer
57 views
0 Call to a member function getState() on bool in search bar
As per mentioned in subject, my website is generating the following error when the user fails to search with a keyword:
0 Call to a member function getState() on bool in search bar.
Can anyone ...
1
vote
1answer
32 views
Method to remove all accented characters from a string
In my model i get content of input search, i just want to clean accented characters before doing a query. In Joomla! is-there a method to clean in string the accented characters ?
Thanks by advance
0
votes
1answer
84 views
Trigger controller method from another component
I'm working on SOAP method to update some values in some component.
I need to trigger the save() method from a controller of a particular component, but I'm unable to get an instance of the controller ...
1
vote
1answer
37 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
2answers
68 views
Akeeba backup update broke the site
I was trying to update Akeeba backup in my Joomla site.
After two seconds from start, my site returns with a 500 server error.
Definitely the "Akeeba update" was the culprit!
I think the ...
0
votes
2answers
113 views
Moving a Joomla site to a new hosting and now getting missing dependency errors
First, some background information...
I am a medical doctor, not a professional webdev, and I am not very experienced with Joomla. I have only used Wordpress in the last few years for some random ...
1
vote
1answer
116 views
Charts/Graphs for RSFORM using mysql for VChart and/or PlotaLot
I am working for a homeless organisation in Capetown. We are using RSForms to register our clients (about 3500 per year). We have a sizable database, but it's very hard to create a dashboard.
We are ...
0
votes
0answers
63 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 ...
1
vote
0answers
31 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
2answers
108 views
Get values of other custom fields in field layout override
I am using a repeatable custom field for articles in Joomla! 3.9.16 with an alternative layout (override) of com_fields/layouts/field/render.php and an override of plugins/fields/repeatable/tmpl/...
1
vote
1answer
46 views
Right side bar included in component area in Helix3 framework template
I recently installed a template based on Helix3 framework and I've noticed an inconsistency in the way how pages are created. Specifically, I have created two different menu items
list of a single ...
0
votes
1answer
39 views
Custom Category Field
Using Joomla 3.9, although Custom Fields is now available, I am opting to do this in a plugin instead for reasons.
I have created a plugin to hook into the Category view in admin, so that I can add a ...
1
vote
0answers
37 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
2answers
125 views
New Joomla install but can't install extensions. Get 500 Internal Server error
Tried installing extensions 'from Web' and installing 'from Folder'. The files were added to the /tmp folder and extracted, but did not get installed. Screen jumps from installing to 500 error:
500 ...
1
vote
1answer
119 views
Custom field in menu item
I am trying to get a custom field type into the menu. I want this to be a dropdown which I poulate with some php code.
Where the arrow points in want my dropdown field.
So I created in /components/...
2
votes
1answer
212 views
My site's form or captcha stopped working after upgrading to Joomla 3.9.15
After upgrading to Joomla 3.9.15, my site / extension / custom form captcha stopped working. I get "Please complete the CAPTCHA" or "invalid-input-response" or something like "Invalid Captcha". What ...
0
votes
1answer
48 views
Menu item “tagged list”: How to disable link on image and title?
How can I disable linked titles and the link on the image in a menu item tagged list?
I am running Joomla 3.9.14.
1
vote
0answers
63 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
1answer
49 views
Why general match and exact match not functioning properly in smart search?
I use the Joomla smart search on my site (com_finder). I have an article with the term not connected in it.
When I search for the term not connected I get 0 results.
When I search for the word ...
0
votes
1answer
158 views
Issues with cookie bot on Joomla 3x and jQuery
I am trying to install a cookie library on a site. We are getting jQuery is not defined from the cookie library. Presumably because it is being loaded before the jQuery library. The jQuery library is ...
3
votes
0answers
48 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.
...
2
votes
2answers
679 views
Modification of the generated Joomla head (<jdoc:include type=“head” />)
I try to modify the generated <head> of a Joomla website 3.9.13.
Unfortunately I faced on the famous <jdoc:include type="head" />
How can I modify it?
I could not find any reference if ...
1
vote
1answer
86 views
onAfterRender plugin only triggers on backend
I have created a system plugin for onAfterRender event however I'm unable to make it execute. I'm on Joomla 3.9
Here's the sample code of the plugin
<?xml version="1.0" encoding="utf-8"?>
...
1
vote
1answer
48 views
How to add a field to com_content in the backend?
I'm confused about this. I want to add a field to the com_content core component that needs to show up under the "Title" field in the administrator backend when you edit an article and of course to be ...
3
votes
2answers
43 views
Advanced Module Manager Assignments
Using Joomla 3.9.11 and AMM 2.7.1
I have a blog with the url www.example.com/news
I need to display some modules on the right hand side of this page, but only on that exact URL.
If the URL ...
1
vote
0answers
36 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 ...
0
votes
1answer
33 views
What kind of extension should I use in order to build a back-end GUI to edit parts of the theme?
I'm a Web Developer who has recently begun using Joomla. I've written a custom theme using php, html and css etc but would like to create a way for someone with absolutely no programming experience to ...
3
votes
1answer
61 views
What are the code changes for the Security patch vulnerability in 3.9.9
I am a total beginner in Joomla.
I found that the security patch for the following vulnerability was fixed in 3.9.9:
Filter attribute in subform fields allows remote code execution
But I am not ...
3
votes
0answers
75 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
105 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, ...
0
votes
0answers
44 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 ...
2
votes
2answers
67 views
Remove textfilter partially for <link> and <meta> not working
I want to add <meta> and <link> tags in the source code from TinyMCE to add schema.org declarations.
Tiny MCE is set to use the filter from Joomla.
The Joomla textfilter is set to "No ...
2
votes
1answer
52 views
How can you hide Joomla admin password while inputting the characters?
I have followed the advice at autocomplete disable in joomla administrator.
How can I hide the password characters while I am typing without losing the functionality provided by Zollie?
0
votes
1answer
68 views
Admin Info Mail on registration isn't send anymore
I have setup a Joomla website with registration confirmation through admin.
Global setting for mail sending - set to yes
The user is set to get system mails
Info mail to admin on registration - set ...
0
votes
1answer
154 views
No longer able to access the User object in Joomla 3.9.3
I built a small website using Joomla 3.4.0./ Wampserver 2.4 on Windows 8.1 Pro.
Now I've upgraded the computer to Windows 10 Pro and Wamp 3.1.7 (64 bit). I've rebuilt the website with latest version ...
0
votes
1answer
50 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 ...
2
votes
1answer
226 views
Login Form Module redirects not working
Quite new to Joomla and have a problem with Login Form Redirects
I’m using Joomla 3.9.4 / PHP 7.1.9 / Apache / mysql 5.7.22-22
I have a Landing Page using one Gantry/Helium template, all other pages ...
1
vote
0answers
34 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
2answers
350 views
Problem changing tooltip css in Joomla 3
I'm trying to change the css properties of the tooltip css in Joomla 3.9.
That is, when you hover over a text-label and a description appears right to it. I can't find the corresponding css class, not ...