3 votes

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

In your manifest .xml file for your extension(s) you can specify the <updateservers> element that provides a link to your own website that contains a .xml file that has details about your ...
Irata's user avatar
  • 3,822
3 votes
Accepted

New Way to use Toolbar::getInstance('toolbar')

Yes, just use the old way using getInstance for now. I came across this when I was updating the Joomla MVC tutorial component to Joomla4 and wrote up the issue here. The reason is that all the other ...
Robbie Jackson's user avatar
3 votes

How to truncate category description?

Joomla provides a string truncating function of its own that provides more options and extra processing than the substr of PHP. Details of the function can be found in ..\libraries\src\HTML\Helpers\...
Irata's user avatar
  • 3,822
2 votes
Accepted

API Routes with more than one parameter in Joomla 4/5

There is an error in router documentation. Capture group brackets are actually added automatically. So you shouldn't use them in your patterns: ['nr' => '\d+', 'id' => '\d+']
Sharky's user avatar
  • 11.1k
2 votes
Accepted

Missing Guided Tours - Joomla 5

The Guided Tours functionality needs: Plugin: System - Guided Tours Plugin (type: system, element: guidedtours) Admin Module: Guided Tours (module type: Guided Tours) Could you check if you have ...
pe7er's user avatar
  • 2,023
2 votes
Accepted

Guided Tours - in custom component

Found it. I needed to enter a step to click on the tab heading to direct the focus over to the new tab. So in my situation the target for this intermediary step was target=button[aria-controls=...
Glenn Arkell's user avatar
2 votes

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

My understanding is I don't believe it will 'stop working'. The new structure is guideline or preferred structure that brings Joomla inline with other frameworks. You can have whatever structure you ...
Irata's user avatar
  • 3,822
2 votes

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

File / Folder Structure src / - Field / -- [FieldName]Field.php Namespacing In the XML: <namespace path="src">[COMPANY]\Module\ModuleName</namespace> Then you need to add the ...
Marco's user avatar
  • 617
1 vote

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

According to information from volunteers over at the Joomla Mattermost community, the most up-to-date information is the one found in code comments. I received this link to Joomla's code that ...
mavrosxristoforos's user avatar
1 vote

Line Breaks in Joomla 5 language fles

This B/C break has been introduced as part of security fix in 5.0.1 and 4.4.1. It is possible to fix the vulnerability without introducing this break. A patch has been submitted to mitigate the issue. ...
Sharky's user avatar
  • 11.1k
1 vote
Accepted

How to truncate category description?

You can use substr PHP function for that : https://www.php.net/manual/fr/function.substr.php <div class="com-content-category-blog__description category-desc"> <?php $str ...
Seb's user avatar
  • 79
1 vote

Using Text::sprintf with Text::script

There is no built-in function in Joomla and JS has no equivalent of sprintf(). You have to write your own. It may be impractical to try mimic PHP in JS so instead you could write a simplified version ...
Sharky's user avatar
  • 11.1k
1 vote
Accepted

Visual Hint on ordering by custom column in backend

This is an example from a View of mine where the HTMLView class gets the List Order and Direction values $this->listOrder = $this->escape($this->state->get('list.ordering')); $this->...
Irata's user avatar
  • 3,822
1 vote

Export as Excel with PHPSpreadsheet as download how to keep Joomla Messages?

You could change the logic of your processing in the Model so that the spreadsheet is only presented if there is data retrieved to be displayed, in which case Closing the Application would make sense. ...
Irata's user avatar
  • 3,822
1 vote
Accepted

Updater XML script on server targetplatform for joomla 4.3/4.4/5.0

After to have re-checked it works by doing that : <targetplatform name="joomla" version="4.(3|4)|5.0"/>
user3533235's user avatar
1 vote

Updater XML script on server targetplatform for joomla 4.3/4.4/5.0

Try this one ^(4\.([3-9]|10)|5\.([0-9]|10))\b Feel free to change the range of supported versions.
Dmitrijs Rekuns's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible