Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin]

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

6
votes
1answer
87 views

onFinderCategoryChangeState event for com_finder in Joomla never fires

I am implementing a plugin for jdownloads to be used in the component smart search. To implement this plugin I have to use the event onFinderCategoryChangeState to actualize the state to the download ...
4
votes
1answer
316 views

How to customize user registration in Joomla 3.7?

Now that Joomla 3.7 supports custom fields, can anyone point me to documentation or a YouTube video that outlines how to customize user registration? I assume that additional work is also required to ...
4
votes
1answer
260 views

Core Component Layout Override with Plugin

Within a plugin I need to add and populate (data is available inside my plugin) a column to com_menus&view=menus view in administration. my_plugin.php ... public function onAfterInitialise() { ...
2
votes
1answer
41 views

How properly save foreign characters in plug-in config parameters

I am developing a Joomla! authentication plugin and have a standard Joomla! install (J3.9.1) with PHP 7.2 and MySQL 5.6.29. My plugin has config parameters that are accessible via the backend. One of ...
1
vote
1answer
453 views

Subform inside modal

I am using subform form field type inside my plugin parameters (I am reusing a form in several places of my plugin parameters, with success). What I really need to manage is to use each subform ...
1
vote
1answer
124 views

Redirect on extension plugin with onExtensionBeforeInstall

i've created an extension plugin and i'am having issue to redirect on the trigger onExtensionBeforeInstall Here is my code : class plgExtensionExample extends JPlugin{ function ...
1
vote
1answer
180 views

Need to Change the Default URL on Mobile Joomla

As you can probably see in my previous queestions, I'm new to Joomla with less than a year's worth of experience. I'm looking to start building out Mobile pages - but a previous developer left me in a ...
0
votes
1answer
21 views

Use the “sql” form field type in extension xml only if the table exists

I developed a plugin for Joomla!, and I have the below sql parameter field in my sampleplugin.xml <field name="cb_fields" type="sql" label="Select CB fields" query="SELECT name ...
0
votes
1answer
44 views

Own field type in subform, using with content plugin

for curiosity: I'm using this method to add fields to the standard articles: https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin/de I have to use this, since the fields-...
0
votes
1answer
27 views

Installing Language Filter and Language Code system plugins

I have a Joomla website (which I didn't install myself) that seems to be lacking the system plugins "Language Filter" and "Language Code". It seems like it wasn't installed as a multi-language site in ...
0
votes
1answer
100 views

Joomla plugin - get parameters from syntax

based on the this tutorial https://docs.joomla.org/J3.x:Creating_a_content_plugin I managed to write my first content plugin with this helper.php code $regex_cat = '/{reillorama:(.*?)}/i'; ...
0
votes
1answer
97 views

Can't get ARK editor to replace Tiny Editor

I have Joomla 3.5 on Windows pro 7. I went and downloaded Ark Editor. Extention Manager says it is successfully installed. Go to global configurations to activate, but is not showning in drop down ...
0
votes
1answer
546 views

VM - custom payment plugin and payment methods do not work

I can't make my VM payment plugin to work at joomla v3.5.0 and virtuemart v3.0.12. I've install a custom payment plugin. Initially it worked, yet the same time other payment methods (when invoked) ...
-1
votes
1answer
217 views

Joomla 2.5 - fulltext in category blog layout

i modified blog_item.php to display fulltext in category blog layout. Works fine, but the content plugins are not rendered. They are rendered fine in introtext. Can anyone help me with the right code ...
1
vote
0answers
14 views

Desktop application for macOS to generate components, plugins and modules

I would like to know if there's a desktop application to easy generate components, plugins and modules for Joomla. I have tested this two generators: https://www.npmjs.com/package/generator-joomla3 ...
1
vote
0answers
227 views

How to dynamically add extra input fields in k2 item form

Problem I'm currently working on a form which has to implement a way to create a schedule for a single day. It should use a time for when an event starts, and a description about the events. The ...
1
vote
0answers
21 views

One to many contact history

I am wanting to add a history for the contacts component, essentially a history of them being contacted with a few other fields. I looked at seblod and it seems like a lot of overhead. I have written ...
1
vote
0answers
167 views

Why use ob_start and eval instead of using a simple include in this Joomla Plugin?

I was looking at the code of a Plugin for Joomla! CMS for a functionality I need: the possibility to run custom PHP scripts when a Joomla! Plugin/Events is fired. I wanted to learn the mechanism used ...
1
vote
0answers
22 views

How can I make the Botscout feature work in the EasyCalcCheck+ security plugin?

I'm using EasyCalcCheck+ to beef up security on a Joomla site. In general it works well, adding a random math question to contact forms and registration. ECC+ also has options that enable ...
1
vote
0answers
102 views

Plugin conflict troubleshooting

Joomla 3.4.8. T3 Joomlart JA University Template I have been experiencing some conflicts certain plugins I have installed on my site, two in particular - only one of them seems to work at a time. ...
1
vote
0answers
38 views

How to use handler: 'string' in joomla modals

Im looking for some examples of how to use {handler: 'string' ...} for joomla modals, as used in editors-xtd buttons plugins $button->options = '{handler: 'iframe' ......}'; but I want to use: $...
1
vote
0answers
423 views

reCaptcha 1.0 works but 2.0 won't?

I'm on Joomla 3.4.3, PHP 5.4.40 and using reCaptcha for the contact form. Whenever I use reCaptcha 1.0 everything works as intended. If I use reCaptcha 2.0 it's like this: I fill the contact form, ...
1
vote
0answers
207 views

Closing multiple modals in a Joomla Plugin

I am trying to call an image popup box for a flexicontent plugin in J3.4.1. The problem is - the insert & cancel don't seem to close the modal. Code: <div class="pull-right"> <button ...
1
vote
0answers
121 views

Facebook like poke button

I'm new to writing Joomla plugins so bear with me. I wanted to create a poke like feature for the Joomla 1.5 Community Builder. When I click on the poke-button of a user, I want this user and only ...
0
votes
0answers
19 views

Plugin beling loaded in articles but also categories where it should not be

I'm not sure if I should ask this here, being that it's someone else's (free) code, but here goes in case I can. (j3.8.8) The following code is part of a plugin which displays joomla vote data in ...
0
votes
0answers
14 views

Get Status Code in Plugin (onAfterRender)

I have written a simple StaticCache Plugin, which saves $this->app->getBody() as a HTML file and redirects to this file via .htaccess. My Problem now is that it caches the 404 site as index....
0
votes
0answers
38 views

Plugins update failed

I'm newbie to Joomla. I would like to update plugins on my localhost before I upgrade Joomla core, but don't know how to fix these errors/warnings/messages:- Invalid extension update Update path does ...
0
votes
0answers
50 views

Custom Joomla plugin to catch specific database queries

Is it possible to make a plugin which will get triggered by specific database events in Joomla? I need to watch the $this->getTable() request in Joomla. For eg: $table = $this->getTable(); if (...
0
votes
0answers
68 views

Plugin “Hello World!” for User onUserAuthorisation

I am trying to create a plugin to make some database queries from the event onUserAuthorisation. Right now I am just trying to set up a "Hello World" style plugin, because I am not sure yet that my ...
0
votes
0answers
38 views

Assign to user group based on radio button checked during registration?

This is my first question after searching and trying to find an answer as to how to auto-assign a new registrant to a specific group based on the value checked on one or more radio button options. ...
0
votes
0answers
36 views

Disabling Google+ voting icon

I have created my website by using Joomla 3.5. How can I remove Google+ icon and its plugin or component from Joomla. Picture shown below illustrates my problem:
0
votes
0answers
81 views

Load plugin parameters outside plugin itself

I am using the following code to access a plugin parameters outside plugin itself. $plugin = JPluginHelper::getPlugin('my_plugin_type', 'my_plugin'); $pluginParams = new JRegistry($plugin->params);...
0
votes
0answers
119 views

Simple joomla k2 plugin not working

Just I started to make a plugin for Joomla k2, but somehow it does not work or I did something wrong. Plugin files: plg_k2_imagecrw.xml <?xml version="1.0" encoding="utf-8"?> <extension ...
0
votes
0answers
111 views

Extension to create a custom configuration file

I am looking for an extension (if available OR if I can make it) to create a custom configuration file (the same way as configuration.php with a user interface). Is there any extension which will let ...
0
votes
0answers
113 views

Problem with a Joomla Plugin

I have a problem about a the Issuu Smart Look Plugin of Joomla. The plugin is this: http://extensions.joomla.org/extension/issuu-smart-look This plugin is a button of my menu and when i push this ...
0
votes
0answers
93 views

Joomla file upload in a plugin

Am creating a file upload in a user profile type plugin below is my code i use on onUserAfterSave which helps me save the custom fields , all fields are working except the file upload , kindly help ! ...
0
votes
0answers
999 views

Joomla plugin search not working

I upgraded my Joomla site from 1.5 to 2.5 and a few weeks ago to 3.4. I realised that my search didn't work. It returned a white blank page. I struggled over some articles on the web that a broken ...
0
votes
0answers
92 views

Joomla 1.5 creating or editing back end user

I have a website in joomla , the problem is that when i am creating new back end user (administrator/super user) from joomla user manager it makes an entry in the users table after that it deleted it ...