Skip to main content

Questions tagged [joomla-4.x]

For questions regarding version 4.x of the Joomla! Content Management System.

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

Joomla 4 / 5 - Custom Field Plugin

I'm trying to update my Ajax based FolderList Fields Plugin (to select a Folder) for Joomla 4/5. All looks fine but the field does not get rendered correctly in the Article Fields Section - it looks ...
Marco's user avatar
  • 665
0 votes
2 answers
25 views

Cannot login to Joomla website's backend

I cannot login to my website's administrator panel even after following all the methods mentioned in https://docs.joomla.org/How_do_you_recover_or_reset_your_admin_password%3F. Please help me solve ...
Mohamed1308's user avatar
0 votes
1 answer
24 views

Joomla Custom Field Type Plugin No Translateable Label

In my Project I create a Custom Field Type Plugin (my own Customfield Type) - I'm using the new Structure with namespaces but on the "Field Selection" There is no translateable label. Its ...
Marco's user avatar
  • 665
0 votes
1 answer
13 views

No extensions or any other important things in Joomla 4.4.3 System Dashboard

I really need to get extensions, so maybe I could use code & add google maps to my Joomla website. Also if I add google maps "iframe" link, it just disappears when I save my project. I ...
Mikk2006's user avatar
0 votes
0 answers
24 views

plgVmOnDisplayProductFEVM3 not triggering

I am trying to port some of my old plugins to latest VM, Joomla 4 and I have difficulties with couple of vmcustom plugins. The short version is, that the code I used to insert my needed code, namely ...
Székely Dénes's user avatar
0 votes
0 answers
24 views

Modal Popup to use Menu template

I have a modal button on my component list page which displays details of the record in a popup modal window. My problem is I want the modal popup to use the same template set in the menu item for ...
Glenn Arkell's user avatar
0 votes
0 answers
104 views

Cannot set up Cron Task for Smart Search in Joomla 4 - Alternative

I am trying to create a cron task for the search index in Joomla 4. The PHP file is also called, but an error occurs. I created the cron tasks according to these instructions: https://docs.joomla.org/...
Gratia-Mira's user avatar
0 votes
1 answer
21 views

Generated <a> links to wrong URL

I generate a link in a module as follows: $user->contactAddress = str_replace("//", "/", trim(JUri::base() . $params->get('defaultContactAddress') . '?' . $params->get('...
alve89's user avatar
  • 113
0 votes
1 answer
45 views

DB error using updateObject or Store after upgrading to Joomla 4

I am a component developer and now I am migrating my component to Joomla 4.x. In Joomla 3.x I could do code like: $row= new stdClass(); $row->id = "2"; $row->user_id = ""; $...
Piero Marsilio's user avatar
0 votes
0 answers
17 views

Joomla component detail view error: 404 Could not load the item

I have a table named edu2f_jobs_jobs. This table is received here: public function getTable($type = 'Job', $prefix = 'Administrator', $config = array()) { return parent::getTable($type, $prefix, $...
Jelle's user avatar
  • 1
0 votes
1 answer
42 views

How to add a helper class to a component in Joomla 4?

I'm quite new to Joomla. I have a component with multiple different models and views, but a few of them use the same functions. Right now I have those functions copied in every model file, but I'd ...
very_curious's user avatar
1 vote
0 answers
22 views

Smart Search translation

In Joomla 4.4.2 the Smart Search component translation doesn't work for any other language then english but it happens only for 6 translations: COM_FINDER_ADVANCED_TIPS_AND; ...
Mario Carta Serra's user avatar
0 votes
1 answer
12 views

BUG com_installer not always displaying update script output

[original post - I have now established it is a bug] A strange quirk. Using Joomla 5 my install script for a component is designed to show some information to the user after update. It renders the ...
RogerCO's user avatar
  • 61
0 votes
1 answer
42 views

Creating site routes from Administrator client

I am in the process of migrating a large Joomla component from v3.x (with lots of legacy code from 1.5+!) to Joomla 5 at present. One item I have stumbled upon is how best to bootstrap the component's ...
John Rix's user avatar
  • 551
0 votes
0 answers
35 views

Check context of plugins to avoid to be loaded everywhere in Joomla!

In my component i have some plugins (like this one https://github.com/Kunena/Kunena-Forum/blob/K6.2/src/plugins/plg_kunena_comprofiler/comprofiler.php), when there are enabled they cause issues with ...
user3533235's user avatar
1 vote
1 answer
32 views

Add Tags Feature to Custom Component

Knows someone a good guide on how to implement the TAGS feature into a Custom J4/5 Component? I have this information from Astrid's Book on how to develop J4 Components but it looks not fully correct ...
Marco's user avatar
  • 665
0 votes
1 answer
66 views

Send Test Mail fails on J4.4.2: "Could not execute: /usr/sbin/sendmail", similar problem with phpmail

I have 3 sites on Ionos hosts running Joomla 4.4.2, almost up to date. The Global Config page "Send Test Mail" works fine with sendmail or php mail options on two of the sites. The third ...
Martin Ewing's user avatar
0 votes
1 answer
37 views

Joomla 4 / 5 Module Layouts naming

When using the following field in my module xml: <field name="layout" type="modulelayout" label="...
Marco's user avatar
  • 665
0 votes
0 answers
7 views

Joomla 4 / 5 Module Layouts naming [duplicate]

When using the following field in my module xml: <field name="layout" type="modulelayout" label="...
Marco's user avatar
  • 665
1 vote
1 answer
27 views

How can I prevent dropdown.min.js from loading on the front end of my website?

dropdown.min.js is conflicting with the way I have my menu set up in my Joomla 4 website, but I can't disable it entirely because the back end of the website needs it. How can I keep it enabled for ...
Kris Hunt's user avatar
  • 156
0 votes
1 answer
71 views

Problem with dropdown menu in Joomla 4 site

I'm having a problem with the dropdown menu in my Joomla 4 site. I think there's some sort of Javascript conflict that's causing it, and I'm hoping someone smarter than me can help pinpoint it. The ...
Kris Hunt's user avatar
  • 156
0 votes
1 answer
13 views

Tag page with blog layout

I want to create a menu item for a tag that shows the articles as in category blog layout. After, I would like to insert tags in the article info block. Is it possible in joomla 4 and 5? If yes, how ...
Deilas's user avatar
  • 1
0 votes
0 answers
16 views

upgrading to joomla 4 error jcontrollwer not found

I'm attempting to upgade my joomla instillation to 4, but I have been having an error An error has occurred. 0 Class "JController" not found I don't know what to do? Any help
stuwer's user avatar
  • 1
0 votes
0 answers
38 views

Upgrade Error 'preflight finished with "false" result'

I was upgrading my site today from Joomla 4.3.4 to 4.4.2. I'm using PHP 8.1.27 I downloaded the official zip upgrade package from here https://downloads.joomla.org/cms/joomla4/4-4-2 and uploaded ...
jonboy's user avatar
  • 3,603
1 vote
0 answers
37 views

Login programmtacially in Joomla 4 (without user password)

I'm trying to create a script to login in Joomla 4 programmatically and without the users' password. The users' authentication is done via an external site and if successful the user will be ...
Hertus's user avatar
  • 11
0 votes
0 answers
57 views

Include php file in Joomla 4 article

I created a font.php file that is used to preview fonts and I try to include it in a joomla 4 article, but it always returns error 500. -Include some simple php file in joomla article works. -Include ...
Midhat's user avatar
  • 109
0 votes
1 answer
30 views

Custom Form Field Type in Module Settings not got rendered (J4)

For my Project i need to render a custom form field based on the ListField I try to use the "new" conventions for J4 and later using namespacing etc. this is the relevant part of my xml: ... ...
Marco's user avatar
  • 665
0 votes
0 answers
17 views

Problem setting image info when creating an article via the J4 REST API

I’ve been using the J4 REST API for a while to create articles from form data through the Webhook feature of the Convert Forms extension. It works great for both standard article fields and for ...
Jeff Gilmore's user avatar
0 votes
0 answers
17 views

Duplicate Open Graph and Twitter Share metatags with Joomla5, Flexicontent

I'm currently working on a website running Joomla version 5.0.2 and utilizing Flexicontent (version 4.2.1) to manage its content. For the creation of social share buttons for each item, I'm using the ...
Vishal Patel's user avatar
1 vote
2 answers
56 views

Best way to save timestamp for new or modified records in custom component

In my custom component I have two database tables for items in my component with the standard 'created' and 'modified' datetime columns to contain timestamps when those items are created or modified. ...
Grant Hood's user avatar
0 votes
1 answer
52 views

Tagged Weblinks appearing in a Compact List linking to items on external site require two clicks to get to items. - Version 4.4.2 -

At the url below there is a tag at the top left called "Big Picture Pubs". It leads to a table showing a compact list of tagged weblinks. https://www.victoriasforestryheritage.o ... cture....
Richard's user avatar
1 vote
2 answers
62 views

For how long will legacy component MVC structure work in Joomla?

Legacy component MVC structure: com_foo |- controllers | |- foo.php |- helpers | |- foo.php |- models | |- forms | | |- foo.xml | |- foo.php |- views | |- foo | | |- tmpl | | | |- default....
mavrosxristoforos's user avatar
0 votes
1 answer
35 views

how can i override method save plugin joomla 4

I have custom plugin and I want to do something when my plugin save in admin panel of Joomla 4 . How can I override save method in plugin ?
سبحان مقیسه's user avatar
1 vote
2 answers
57 views

Component middleware for handling URLs

I have a component com_something that I am developing. Whenever a user goes to any view in this component (i.e. when the URL starts with index.php?option=com_something), I want to check the URL for a ...
toblerone_country's user avatar
0 votes
1 answer
12 views

Subquery error when using 3rd Normal form - 500 Operand should contain 1 column(s)

I'm fighting to get the following structure to work. I have three tables: players, player_teams, teams I used the conclusion I've found here for one of my questions: Join one to many with helper table ...
Marco's user avatar
  • 665
0 votes
0 answers
32 views

Joomla back end is unstyled

I have an odd problem. I have a Joomla 4 website whose back end won't load the CSS/JS. I've tried deleting my browser cache, rebooting, etc. I was doing some things in MAMP earlier today while working ...
Kris Hunt's user avatar
  • 156
0 votes
2 answers
47 views

Store Custom Subform Field Value in DB

Note This is a follow up question upon Create Custom Form via SimpleXMLElement The first issue has been solved, the subform gets rendered, here is my CustomField Code: use Joomla\CMS\Factory; use ...
Marco's user avatar
  • 665
0 votes
2 answers
68 views

Create Custom Form via SimpleXMLElement

I need to create a custom form which generates an input / text field foreach position that is stored in the database. My Code for this field so far: private function buildSubForm(array $positions) ...
Marco's user avatar
  • 665
2 votes
1 answer
31 views

Custom Module not on the JED how to show compatibility information?

We developed multiple extensions for our clients, but none of them are published on the JED. We also do not want to publish to the JED since they are custom extensions. All our extensions always show ...
purple11111's user avatar
1 vote
1 answer
47 views

Line Breaks in Joomla 5 language fles

It seems that a fresh install of J5.0.1 does not allow line breaks in the text value part in a component language file. Is this correct? In previous versions you could break long text strings over ...
RogerCO's user avatar
  • 61
0 votes
1 answer
61 views

Problem inserting Joomla 4/5 Custom Field in Text Article-simple syntax solution?

Use Case: I maintain a simple site for a small orchestra. Originally written in Joomla 2010, updated to Joomla 3 in 2016 and now updating to Joomla 4/5. Each concert, the items, conductor, soloists ...
DerekE's user avatar
  • 1
1 vote
0 answers
39 views

Show Arabic/Persian number if choice this number in Joomla

After changing the site language to Farsi/Arabic, I still see the numbers in English on my site. My font is completely Farsi, but the numbers are displayed in English. Please advise that I have to do ...
Ali Zangeneh's user avatar
1 vote
1 answer
123 views

Search by date in Article Manager Administrator

Is there a way to search by date in the Article Manager Administrator? You can search using the text input, but it doesn't allow you to search for dates, only ID, AUTHOR, CONTENT, or a free text. I ...
jackJoe's user avatar
  • 865
0 votes
1 answer
25 views

Article options overridden by global settings

I would like to control the display of fields like author, modified date, etc. on a per-article basis in addition to the global options. However, even when I set the options in the article, they do ...
Bruce Button's user avatar
0 votes
0 answers
45 views

Multi-factor Authentication is not enabled issue

I'm facing challenges enabling Multi-factor Authentication (MFA) Code by Email for frontend users in Joomla. Despite following the necessary steps and configurations, I encounter persistent issues. ...
Sam.'s user avatar
  • 15
0 votes
2 answers
48 views

Getting ID of newly created model doesn't work

I'm on Joomla 4.3 I'm creating a component and a plugin that are meant to work together. The component has a model, and new instances of the model can be saved via the admin interface, but can also be ...
Stu's user avatar
  • 1
1 vote
1 answer
60 views

Multiple Access Levels to an Article

We have a case in which we have created more than 30 user groups and we need more than 50 access levels for different articles or menus. I have estructured my ACL like this. Groups like: Group1 ...
Juanjo's user avatar
  • 11
0 votes
0 answers
18 views

How long will classmap.php be supported [duplicate]

We are migrating to Joomla 4 and have a lot of code dependent on the 'J' classes that are presently aliased by classmap.php; I see that it is still present in Joomla 5 Will this aliasing continue to ...
user1104799's user avatar
0 votes
0 answers
18 views

Custom Component - Cannot switch category after implementing Custom fields

Another weird issue in one of my comppnents i did not understand. I have implemented custom categories by using com_component.teams and com_component.locations - Additionally. it works all fine until ...
Marco's user avatar
  • 665
1 vote
1 answer
154 views

Joomla 4 and 5 support for legacy classes and methods

I am transferring custom code to joomla 4. Are the legacy classes such as JFactory supported and if so for how long? Where can I find documentation on this?
user1104799's user avatar

1
2 3 4 5
11