Skip to main content

Questions tagged [plugin]

A plugin is a kind of Joomla! extension. Plugins provide functions which are associated with trigger events.

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

This: I can't find any info about it whatsoever: It has no description. 0 references about it in found Joomla documentation. There's nothing like that related to reCAPTCHA either. What does it do?
Destroy666's user avatar
0 votes
2 answers
124 views

I am developing a console plugin because I need some tasks to run in cron job. All the tasks in the plugin work fine, but one is fails with the error “Session is not active”. These are the lines of ...
luX0r's user avatar
  • 341
0 votes
1 answer
83 views

In my plugin settings page I need to handle the onchange event on a List Form Field to get the selected value and use it to load an image in the page. The best way I see is creating a Custom Form ...
luX0r's user avatar
  • 341
1 vote
1 answer
71 views

I am developing an extension that consists of two plugins. In plugin two I need to use the constants defined in the language files of plugin one. The plugins are named the same, but two is a content ...
luX0r's user avatar
  • 341
0 votes
1 answer
59 views

I am trying the File custom field in my user plugin. https://manual.joomla.org/docs/general-concepts/forms-fields/standard-fields/file/ It is correctly rendered in the form, makes me select the file, ...
luX0r's user avatar
  • 341
1 vote
1 answer
76 views

In my provider.php I have this: function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $config = (array) PluginHelper::...
luX0r's user avatar
  • 341
0 votes
1 answer
77 views

I am developing a plugin and I need a Custom Field that consists of my personal HTML and a textarea. I know that I could add the textarea by writing the HTML, but I wanted to know if there was an ...
luX0r's user avatar
  • 341
0 votes
1 answer
215 views

I needed a set of custom user fields that writes into a custom table. I copied the default User-Profile plugin in Joomla v5.1.2 and made the necessary code changes to create my custom plugin profile6. ...
Matteru's user avatar
  • 21
0 votes
0 answers
46 views

I have a weird and strange bug. When I try to use JRoute to prettify my url from Virtuemart it doesn't do anything. Does anyone know how I can fix it? I read somewhere about using the frontend of the ...
Kuubs's user avatar
  • 347
0 votes
1 answer
98 views

I developed a plugin that displays several records from DB for the user. It is working fine, but now I'm trying to implement check-boxes and Actions menu like Joomla 4 has on the Users-Manage screen. ...
Terry's user avatar
  • 101
0 votes
0 answers
114 views

I'm very new at this and it's my first attempt developing a plugin for Joomla. I'm currently using J5, and I'm trying to develop a custom authentication plugin. At the end of the code I'm using: $...
Andino's user avatar
  • 13
0 votes
0 answers
64 views

I'm a programmer. I want to show my codes and scripts inside a joomla (4) article, something like below: This image has taken from this site. As it can be seen, line numbers are supported which is ...
Babak.Abad's user avatar
1 vote
2 answers
122 views

I'm calling the following query to retrieve records and the primary table data elements are all included, but the JOIN elements of data are not included. Any suggestions what I'm missing? private ...
Glenn Arkell's user avatar
0 votes
1 answer
88 views

It's probably a duplicate. Anyhow, I am writing a J5 content plugin using onContentPrepare event. It turns out, that this plugin is called several times before the page is sent to the browser. I want ...
Plamen's user avatar
  • 755
0 votes
1 answer
87 views

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
  • 705
0 votes
1 answer
91 views

I am kinda new to this whole website thing. Definatly dont have much experiance in coding ect, but I have created a whole website with a nicepage paid subscription. I downloaded Joomla and XAMPP. I ...
Shelby's user avatar
  • 1
0 votes
3 answers
176 views

Simply put, I'm using a plugin that I'd like to host on a different server from the one my site is on. I'd like to point joomla to the plugin content stored on that other server, not in the plugin ...
Gorchestopher H's user avatar
0 votes
2 answers
103 views

I created a plugin to send published articles data to external service class plgSystemVacancypub extends JPlugin { public function onContentAfterSave($context, $article, $isNew) { // Get ...
user3774771's user avatar
0 votes
1 answer
104 views

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
373 views

I have a custom plugin in a custom plugin group (maidan): <?xml version="1.0" encoding="utf-8"?> <extension version="3.1" type="plugin" group="...
maidan's user avatar
  • 463
0 votes
0 answers
173 views

I am trying to create a custom Joomla 4 task scheduler by creating plugin, which runs the custom task code. I created the test plugin name plg_abc_def, but I don’t know how to link it with the Task ...
TMisiunas's user avatar
0 votes
2 answers
369 views

I have a System Plugin to filter Joomla 4 Category Blog Articles by Custom Fields. The Plugin basically overrides the core content ArticlesModel by loading it in the onAfterRoute Event like this: ...
cappu's user avatar
  • 169
0 votes
3 answers
177 views

So when doing this i can import a Plugin and run an event on it: PluginHelper::importPlugin('mygroup', 'myplugin'); Factory::getApplication()->triggerEvent('onMyEvent', ['some' => 'stuff']); If ...
maidan's user avatar
  • 463
0 votes
2 answers
453 views

I have a Joomla 4 plugin that uses a ServiceProvider which basically works fine. It's just that I can't access the plugin's configuration parameters. namespace <Domain>\Plugin\System\Replacer\...
cappu's user avatar
  • 169
1 vote
1 answer
250 views

I would like to find the documentation for the Jooma 4 application object giving subclasses and methods, etc. I have looked hard on the Joomla.org website, but can't find it there. (It seems difficult ...
Bruce Button's user avatar
0 votes
1 answer
279 views

I would like to create a plugin to load a specified template style for each article on Joomla 4. The basic idea is as follows: Use a custom field in the article to specify the desired template style ...
Bruce Button's user avatar
0 votes
2 answers
243 views

I'm looking to display my system plugin options in a custom layout. So i checked something like options for article blog layout: But these use a custom layout that renders the options with a form-...
maidan's user avatar
  • 463
0 votes
1 answer
82 views

I have written a Joomla 4 plugin (trigger: onAfterRoute) that changes the layout of the article edit based on the category. This works when creating a new article with a pre-selected category, but ...
user1621015's user avatar
1 vote
0 answers
33 views

A question about the joomla plugin Logman Notify. (https://www.joomlatools.com/extensions/logman/documentation/plugins/notify-plugin) The Notify plugin can send activity notifications to a selected ...
TheoS's user avatar
  • 11
2 votes
0 answers
99 views

I made a small plugin, which uses a repeatable subform param element. It doesn't really matter what the plugin does: <config> <fields name="params"> <fieldset name=...
maidan's user avatar
  • 463
1 vote
1 answer
161 views

I have a plugin which needs to change its parameter configuration depending on some conditions upon configuring in backend. The plugin using the SubscriberInterface because it is listening to some ...
maidan's user avatar
  • 463
1 vote
1 answer
67 views

I have some options to configure a plugin of mine. These options contain one subform field, that can be repeated. The purpose of the field is to match names of one type to ones of another type. The ...
maidan's user avatar
  • 463
0 votes
1 answer
181 views

I am working on a system plugin which uses its own custom field. The plugin has an XML looking like this: <config> <fields name="params" addfieldprefix="Joomla\Plugin\...
maidan's user avatar
  • 463
1 vote
2 answers
222 views

Background: I'm writing a component where you can add items to a cart. When the user isn't logged in, it uses a token to identify them, stored as a cookie. The cookie is stored in a view's controller. ...
Obscerno's user avatar
  • 203
3 votes
2 answers
407 views

We have a custom login plugin which extends the CMSPlugin. I am trying to register the Class of the plugin inside a module but the following scenarios occur. Case 1 JLoader::register('...
anthi_p's user avatar
  • 77
3 votes
1 answer
109 views

We have a special situation where we include Joomla from within Yii 2, which worked fine with Joomla 3, but Joomla 4.2 is so far giving us some problems. The latest issue is: Error: Class "Joomla\...
Olle Härstedt's user avatar
1 vote
2 answers
304 views

I have created a "custom" authentication plugin and inside of it there is a function (onAjaxMyfunction) that is called from a module through com_ajax. The call "url" looks like ...
anthi_p's user avatar
  • 77
0 votes
1 answer
160 views

I need to create a "login using steam button" for a website using Joomla, from my research I can gather up that using OAuth no longer works for Steam, so I'll have to create a custom ...
gabriel0369's user avatar
2 votes
2 answers
491 views

This question looks pretty easy (and probably it is), but I am stuck with the following scenario: I'm using XAMPP and have several Joomla installations in subfolders such as \joomla3, \joomla4, etc. I ...
Plamen's user avatar
  • 755
2 votes
1 answer
243 views

I need a Joomla 4 Plugin to overwrite a marker in Custom Fields of type text or textarea with the article's title. I added a onPrepareContent() method where I have access to the articles title as well ...
cappu's user avatar
  • 169
0 votes
0 answers
34 views

I am new to the Joomla world and I have to face a difficult problem. I have to make sure that immediately after logging in to the user, a modal popup with a select box is proposed. The content of the ...
Muflo's user avatar
  • 1
0 votes
0 answers
207 views

I need to use the emoji picker plugin from editor to add emojis in a textarea field. Is it possible? It's for my chat component: https://extensions.joomla.org/extension/communication/chat/tabapapo/
JonatasCF's user avatar
1 vote
1 answer
81 views

I wrote several plugins and for each one exists a relative configuration form loaded by the onContentPrepareForm event using the $form->loadFile() method Now each time I use this technique, Joomla ...
Gino's user avatar
  • 11
0 votes
1 answer
103 views

Is there a plugin in joomla that controls the display or hiding of another field based on the specified field similar to the XML showon attribute, or similar to the conditional logic in the WordPress ...
user avatar
2 votes
0 answers
75 views

I have written some moderately complicated software for my Joomla site and want to improve on my code base in coming releases. To this end I am writing some unit tests however it's hard to run the ...
Huw Evans's user avatar
  • 371
2 votes
1 answer
255 views

I built a Joomla plugin for a task and I scheduled that task to run every 5 minutes. While monitoring the task it seems it is only running when I am logged into the administrator back end if the site....
Brandon's user avatar
  • 79
1 vote
1 answer
198 views

A mate and I are doing an internship at university, and the project we are working on is a small Joomla 4.1 website. Our supervisors asked us to override the mechanics of content insertion so that an ...
Vincenzo Oliva's user avatar
0 votes
1 answer
203 views

I'm trying to override a Joomla method (toggleTables in the Indexer class of the com_finder) using a plugin, but it doesn't work. Where am I going wrong? use Joomla\CMS\Plugin\CMSPlugin; use Joomla\...
Nintendomi's user avatar
2 votes
1 answer
365 views

Is there documentation for the new Scheduled Tasks Infrastructure in Joomla 4.1 (https://github.com/joomla/joomla-cms/pull/35143)? I just created a test task for setting the site offline. I scheduled ...
agi's user avatar
  • 323
1 vote
1 answer
463 views

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 ...
Marco's user avatar
  • 705

1
2 3 4 5
9