All Questions

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

PDF file upload only works in JCE (Joomla 3.10.6)

I'm puzzled by why I can only upload PDFs from within the editor when I use JCE. The site I'm working on is using YOOtheme Pro and if I try to add a PDF as a link in a gallery element it "...
user avatar
  • 73
1 vote
0 answers
56 views

Help: Joomla routing and pass-through redirects

I have a little project integrating a 3rd party application, which seems pretty easy and straight forward for the most part. However, it requires some internal Routing to be set in place, in order to ...
user avatar
0 votes
0 answers
17 views

display fields of a subform in an article (override) [joomla 4.1]

I want to display the rendering of fields in an article overload Can you help me? My fields : name / type / id Url / url / 33 Type of site / list / 34 date / calendar / 40 note / text / 41 Sites and ...
user avatar
  • 21
2 votes
0 answers
37 views

Authenticate Http request

I'm trying to POST from one controller method to another with the Http class. $http = new Http(); $url = Uri::base().'index.php?option=com_mycontroller&task=my_method'; $response = $http->post($...
user avatar
  • 131
1 vote
1 answer
32 views

Joomla mysql query - group_contact

I have mysql query: // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(true); $formId = 21; $query = "select * from #...
user avatar
  • 73
1 vote
2 answers
31 views

Forwarding to the item page after the creation of the item via front end editing

I wrote a small joomla 4 component and made it possible to create a new item in the frontend. After creating a new item, Joomla core components usually redirects to a list view. But I want to redirect ...
user avatar
  • 113
0 votes
1 answer
37 views

Joomla ignores css changes after URL rewrite was activated

I recently installed Joomla 4.1 on my server and since I activated URL rewriting, my changes in some CSS files of the Cassiopeia Template are ignored. I tried deactivating the URL Rewrite, but it does ...
user avatar
1 vote
1 answer
32 views

Call to undefined method Joomla\CMS\Mail\MailTemplate::ClearAddresses()

In my extensions updated for Joomla! 4.0 i use the method ClearAddresses(). In Joomla! 3.x the Joomla\CMS\Mail\Mail extended phpmailer class now in Joomla! 4.x the Joomla\CMS\Component\ComponentHelper\...
user avatar
1 vote
1 answer
31 views

Yootheme 404 page to show in the main template layout

I've been tasked with making the error.php file look exactly like the rest of the client's site. I have attempted to create this using code from the main template's index.php file but get lots of ...
user avatar
  • 73
2 votes
1 answer
58 views

Is showing a Joomla API token in JS a security risk?

I have created a couple of web services under Joomla 4 that are simple enough calls to the same website to refresh a couple of fields when something else changes. In my JS code I have the 'X-Joomla-...
user avatar
  • 2,275
1 vote
1 answer
46 views

com_ajax to plugin / or plugin field

I have this customfield plugin where the user can select a folder in a popup, the call should be ajax based. The form-"field" including AJAX call etc. works already in some of my modules ...
user avatar
  • 483
1 vote
0 answers
19 views

Error: Table 's' was not locked with LOCK TABLES at $table->store()

I'm trying to load an existing table (not using primary key) and then storing it, but get this error: Error: Table 's' was not locked with LOCK TABLES: Unknown column 'alias' in 'field list' My code:...
user avatar
0 votes
1 answer
44 views

Missing article in the admin panel

I posted a recent article on the website, one of the users logged in the admin panel logged in and tried to edit the article accidentally the article disappeared and I can't get it. I have searched ...
user avatar
0 votes
0 answers
18 views

Predefined List form field type php class location / registration

I'm trying to set up a Predefined List form field type as per the docs here https://docs.joomla.org/Predefined_List_form_field_type I have the XML <field name="_card_expiry_year" type=&...
user avatar
  • 131
0 votes
1 answer
53 views

Custom plugin doesn't even seem to load on Joomla 4

As a sort of newbie developer with php/Joomla, I created a content plugin for Joomla 3 which pretty much did what I wanted and expected... I then decided to migrate it to Joomla 4 following the very ...
user avatar
  • 21
1 vote
1 answer
58 views

How to create a Joomla 4 Quickstart package

What are the key points of creating a Joomla 4 quickstart package? It seems that the way we used to do it for Joomla 3 does not work. We were creating a Joomla 3 quickstart following these steps: ...
user avatar
  • 21
1 vote
0 answers
30 views

Adsense Ads Not Loading on Joomla Logged In Pages

I run a website which has Adsense ads served on all pages (in the footer for example) and these ads load absolutely fine on all pages of my website. I'm currently building a tool/feature for users and ...
user avatar
1 vote
2 answers
56 views

Folders inside src/Controller/ folder

I know that you can add a controller into the src/Controller/ folder directly, and Joomla automatically recognizes it as a controller class, and you can route to it using either ?controller=...
user avatar
1 vote
1 answer
275 views

Trouble linking external css file with Dompdf library

I'm trying to create a Joomla system plugin enabling a user to generate a pdf based on a template. I'm using the Dompdf library. I managed to create a PDF, but linking to an external css file isn't ...
user avatar
  • 21
2 votes
1 answer
33 views

Reducing frequency of the "Joomla! update available" mails to once per day or once per week

Is there a way to reduce the frequency of the automatic "Joomla! Update available" mails? I do not want to disable the plugin, because I want to be notified about updates. But multiple mails ...
user avatar
  • 175
1 vote
0 answers
14 views

Building J4 fails in github workflow (tarball data for joomla-a11y-checker corrupted)

Upon a few days i was building Joomla 4 in an Github Workflow and after done continued doing other stuff. Now the build process fails and i dont understand whats going wrong. Important: The build ...
user avatar
  • 101
1 vote
0 answers
17 views

Language file not loaded into extension directory

In my extension a language file which aren't loaded from the directory : /components/com_exten/language/en-GB/en-GB.com_exten.controllers.ini. In the Joomla! debug there are no parse error on this ...
user avatar
0 votes
0 answers
28 views

Internal Server Error on Send Test Mail

Im using Joomla 4.1.0 When i try to send a test mail, from Global Configuration - Server - Mail, i get the following error message. "An error has occurred while fetching the JSON data: HTTP 500 ...
user avatar
  • 1
0 votes
2 answers
40 views

How to show 'Register New User' for all guests and something else for registered users?

I want to build a simple site with Joomla 4. The webpage should only handle these few things: For guests (not logged in users): Display an article with some text and the 'login mask' inside the ...
user avatar
  • 101
1 vote
0 answers
14 views

How to get an associated language version of a menu item by modifying the URL in Joomla?

I have a page https://example.com/terms-and-conditions in my Joomla, which has the same page also in other languages, properly associated and translated, along with menu items (English has the menu ...
user avatar
  • 133
2 votes
2 answers
69 views

Custom multiselect field not working in J4

In my Joomla 3 component, i have a custom field that is a select list with multiple=true. The values of such an select list are binary handled like 1,2,4,8,16. When storing, the values are getting ...
user avatar
  • 101
2 votes
1 answer
100 views

How to get Joomla article association?

How can I get the associated articles programmatically in my custom component function? I have my custom component and I am creating a new article for a multilingual site, so I need to associate ...
user avatar
0 votes
1 answer
48 views

Decode json strings from a database table column

I have a column in my database that essentially creates an array and I am essentially trying to explode it but I cannot figure out how to get it to work. Its also going into SQL with { characters ...
user avatar
  • 69
1 vote
2 answers
219 views

How can I reference JFactory within a PHP class?

In Joomla 3: I'm writing a class to represent a semi-complex data structure. In that class, some methods need to access the app, dbo, document and user objects from JFactory. Here's a snippet of the ...
user avatar
0 votes
1 answer
28 views

Zentools compatible version

I want to use zentools. Currently im working with joomla 4.1.0 . So, I was wondering, Is there a version of zentools that is compatible with joomla 4.1.0 ??
user avatar
  • 1
3 votes
2 answers
69 views

How to set/change default article category in Joomla 3.10?

When I create a new article, there is a default category of "Uncategorised". Is there any way to set a different default article category instead of the native default "Uncategorised&...
user avatar
2 votes
2 answers
106 views

JRoute don't make a SEF Url from the article link

When I use Route method to convert a normal url in a SEF url it doesn't work if the article is not a menu item. I don't understand if it's a normal behavior or if I'm doing something wrong. There is ...
user avatar
2 votes
2 answers
28 views

How to find what is dependent on a particular library?

I have a library installed that I'm reluctant to remove because I don't know what is dependent on it. How can I find that out?
user avatar
  • 267
0 votes
1 answer
180 views

ERROR 0 - Object of class stdClass could not be converted to string

The code where the error occurs is: $css .= 'height:'.$gallery_height.'px;'; $css = ''; if($gallery_height){ $css .= $addon_id .' .sppb-gallery-parallax:after {'; $css .= 'height:'.$...
user avatar
2 votes
1 answer
195 views

language file naming conventions

Under Joomla 4 the language files for the core extension are no longer prefixed with the language code, e.g. en-GB.com_banners, however when I look in the manifest folders the files are defined with a ...
user avatar
  • 2,275
2 votes
2 answers
175 views

TinyMCE in Joomla 4: <custom-element> without automatically added <p>

Can someone please tell me how it becomes possible in TinyMCE that a custom HTML element e.g. <my-custom-element>text...</my-custom-element> when saving the article is NOT always forcibly ...
user avatar
2 votes
2 answers
99 views

Component/module for registering to get document

I'm looking for a way to have users register their email and then get sent a document, like you often see on sites offering white papers. I've looked at many of the download extensions on the JED but ...
user avatar
  • 267
0 votes
0 answers
22 views

In extensions, make the schema update SQL conditional

In the xml install file for an extension for Joomla! 4.0, there are these lines that make the SQL update : <update> <schemas> <schemapath type="mysql">sql/...
user avatar
0 votes
1 answer
26 views

Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server sort buffer size

I have an error showing in Joomla v3.10.5, while accessing the modules under extensions Out of sort memory, consider increasing server sort buffer size Out of sort memory, consider increasing server ...
user avatar
  • 1
2 votes
2 answers
178 views

SQL syntax error in query with subquery using JDatabase

I'm coding my first Joomla! 4 component. There are two tables for the component: pfx_list, and pfx_member_to_list. Table pfx_list hash primary key id, and table pfx_member_to_list has foreign key ...
user avatar
  • 175
3 votes
1 answer
36 views

Count the number of articles tagged with the same tag

On my Joomla website, I'd like to count all the articles by tag. I found this thread about how to count the number of articles by category : How to Show number of published articles? I tried to find ...
user avatar
1 vote
0 answers
77 views

Joomla 3.9 CORS error

I'm trying to allow CORS on my website but I can't get it to work. I've seen many posts about this, from updating .htacces, httpd.conf, meta tags, and php headers, but nothing worked. I always get a ...
user avatar
  • 11
1 vote
0 answers
14 views

media:content tag missing from Joomla RSS Feed

I am using mailchimp to send newsletters. Everything works fine apart from the fact that my RSS feed generated by Joomla does not contain the media:content tag, hence mailchimp doesn't show the images ...
user avatar
  • 11
1 vote
1 answer
33 views

nginx php-fpm server works on simple php website but throws php fatal error on Akeeaba or fresh joomla install

Simple php websites work on my nginx + php-fpm server. But If I do fresh full Joomla or Akeeba kickstart I get "PHP Fatal error: Uncaught Error: Call to undefined method". Also if restart ...
user avatar
1 vote
2 answers
25 views

Joomla 3 - How to find if logged in user is registered?

I have the following code: <?php if ($user->id >= 1): // logged in ?> This checks to see if the user is logged in, but not which group the user belongs to. I'm trying to show content only ...
user avatar
  • 31
1 vote
1 answer
39 views

getMailer gives "Failed to start application" exception, how do I fix it?

Attention! While searching for a solution I have found that the hosting service blocked mails, I'm not sure this is a valid question anymore, don't reply untile further notice. The issue Quoting from ...
user avatar
1 vote
1 answer
69 views

Change the default articles list ordering overriding the model

I need to change the default ordering of the articles list in the administrator Articles page. To do this I probably would have to edit the populateState() method in administrator/components/...
user avatar
1 vote
0 answers
15 views

Article layout override in J!4

I'm starting to worry about updating my Joomla! 3 to Joomla! 4 (4.0.6 at the time of posting this). In Joomla!, 3 I used a lot the functionality that allows to create article layout overrides by ...
user avatar
1 vote
1 answer
20 views

Omit previously imported articles by comparing existing articles aliases with generated aliases

I am needing to compare the generated articles aliases of items imported from an external news API against those that are already stored in the com_content database to ensure that duplicates are ...
user avatar
1 vote
0 answers
19 views

Removing the Category ID from article Url

Joomla 3.7(?) to 3.10.5 Legacy router issue fix So, our site articles' urls needed the category id to be removed (only, not the article id, as removing both causes a 404). Here is the solution that ...
user avatar

15 30 50 per page