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
1answer
36 views

How to get Google Analytics using user provided web id? [closed]

I am working on a project similar to filippa.com. In the process of registering a website, the user will input her/his web id, something like XX-XXXX-X. I need to implement a plugin in my item view ...
1
vote
1answer
80 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
56 views

Including Results from API Call in Joomla! Search Results

My organization uses Joomla! for its customer facing site. There is a database that I only have REST API access to. I'm trying to ping that API to include results from it alongside the normal Joomla! ...
0
votes
1answer
27 views

How can I make it pssible for users to login and add their products?

I want to build a form for the users of my website to let them easily add their products in frontend page under the name of their shop. To this end, which plug-in, component, or extension ...
0
votes
2answers
1k views

Multiple primary key defined error when installing Jomestate plugin

I have Joomla 3.8.5 stable version. The code I am tring to execute is: Pastebin SQL code (I am tring to install the JOMESTATE plugin) I get the following error: JInstaller: :Install: Error SQL ...
3
votes
1answer
86 views

onUserAfterLogin popup - Joomla 3.6.4 Plugin

I need to create a plugin that displays a popup when an user makes a log in on my Joomla 3.6.4 website. I know that I need to create a Plugin and trigger the onUserAfterLogin event, but I don't know ...
1
vote
1answer
135 views

Shortcut to insert non breaking space in TinyMCE?

I'm using Joomla and it's integrated TinyMCE editor. I would like to use a shortcut like shift+space or ctrl+shift+space to insert a non breaking space fast and simple instead of to have to click a ...
1
vote
1answer
119 views

Virtuemart payment plugin override

I'm trying to override the "vmpayment" plugin. I've changed the layout of the "post_payment.php" file and put the file in the following folder structure: templates/mytemplate/html/...
0
votes
0answers
75 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 (...
1
vote
1answer
31 views

How does plugins return value (boolean) affects other plugin in terms of execution?

How does the return value true or false affects other plugins of the same group? Does it prevent other plugins from executing when returning false?
1
vote
1answer
291 views

Custom fields don't render plugin shortcode

I am using custom fields introduced in Joomla 3.7 as a way to structure articles in my Joomla 3.8.3. installation. One of my custom fields contains shortcode to be rendered by another plugin. But all ...
1
vote
1answer
58 views

search component/plugin in joomla

I am new to joomla! and would like to design a custom search plugin to search through my database. I know that when using the default search, the onContentSearch() function is triggered and "search ...
1
vote
1answer
164 views

Joomla onExtensionAfterSave event

I am developing a component extension to create different forms for insurance. When I create a form in backend and save it by clicking the Save or Save & Close button, I am going to create a ...
2
votes
1answer
20 views

How to force an administration field be filled-in or plugin won't be enabled?

I have a Joomla plugin I wrote. There is a field for the Joomla Administrator to fill-in, it can't be left blank and there is no good default value to put in there. How can I force it that the plugin ...
1
vote
2answers
271 views

How do I pass the field value for a plugin into the myplugin.php itself?

I have a simple Joomla plugin I wrote and added a field to the .xml manifest: <config> <fields name="params"> <fieldset name="basic"> <field ...
2
votes
1answer
78 views

Parse code for plugin call in $row->text of Joomla article?

I'm writing a Joomla plugin where I want it to look through the Joomla Articles (and modules) for this: {myplugin} partno=12345678 {/myplugin} and change {myplugin} partno=12345678 {/myplugin} to a ...
0
votes
0answers
101 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
1answer
159 views

article view - com_content not triggering content plugins when article is split

I've created a template override for the article view where the intro and the full text are invoked separately. So, instead of <div itemprop="articleBody"> <?php echo $this->item-...
2
votes
1answer
375 views

Creating a Component menu item via a Plugin

I've been reading over Joomla development documentation for awhile, but haven't picked up as much as I would like. What I'm trying to accomplish seems very simple on the surface, but navigating the ...
1
vote
0answers
15 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
1answer
489 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 ...
0
votes
2answers
35 views

Joomla learning extension

I am looking for an independent platform, or an "extension" for joomla, that has or allows to develop the following characteristics: Role 'Student' - This has a personal page where you will be ...
1
vote
1answer
182 views

Second dropdown changes after selecting first dropdown in Joomla XML

I am creating these dropdown lists in XML for plugin: category multi-select dropdown, subcategory multi-select dropdown (All data comes from database table) I want when I select the first category ...
4
votes
1answer
422 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 ...
1
vote
1answer
70 views

How to control the execution order of the same event?

I would like to know if it's possible to control the order of the execution of the same event in several plugins. For example, I have the event event1 in 2 plugins, and I want the plugin1 execute the ...
1
vote
0answers
293 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 ...
2
votes
1answer
73 views

Retrieve JCH CSS file from outside Joomla?

JCH outputs the combined and compressed CSS file as: /media/plg_jchoptimize/assets/gz/1/0/21258391ff538dceaca26d18cb55cb1b.css Since this is a randomly generated link every time JCH refreshes the ...
1
vote
1answer
31 views

onAfterModuleList not triggered in Home or in Wrapper menu type?

I got a plugin that uses the onAfterModuleList event, it works fine on most menu types. But it doesn't seem to be triggered in neither home or wrapper menu types. Event though there are modules ...
1
vote
1answer
191 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 ...
2
votes
2answers
42 views

How class work without make instance of it in joomla?

In Joomla when we develop an extension we make some class that extends another class like JModule or JPlugin and we have to use the naming convention for name it for example when we make a plugin we ...
1
vote
1answer
621 views

renderField with fields from custom plugin

I need to expand the functionality of the registration form. Following some tutorials and the sample profile plugin I was able to use the onContentPrepareForm to add the new fields. Now the second ...
1
vote
2answers
507 views

Joomla 3.7 change value in database after form button press

I want to do something really simple, but have to use Joomla what makes it probably complicated because I have less experience in Joomla development. I have field with a value (a number) which is ...
4
votes
1answer
572 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
3
votes
2answers
214 views

Adding custom fields to core components based on category

I created a plugin to add custom fields to the joomla com_content core. I add the fields to the backend and frontend. Now the new tab is shown on every post but i want to show the tab and the fields ...
0
votes
1answer
222 views

Translate custom messages

I have a system plugin that will let a user set and display some custom messages to users. As those messages are not available in a language file (are not static strings) how can I be able to allow ...
0
votes
1answer
131 views

How to remove rel=“nofollow” with Joomla Buffer?

I am developing a plugin to get rid of any rel="nofollow" on HTML links using a buffer, but its not working. I am testing it with a nofollow link on a Custom HTML Module. I thought that "JFactory::...
1
vote
1answer
127 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'; ...
4
votes
1answer
489 views

How to save data from subform fieldtype in joomla 3.7 custom field

I made a subform repeatable fieldtype custom field plugin to integrate with the custom field extension in 3.7x, and it works correctly to display the the fields during article submission. However, the ...
2
votes
1answer
2k views

How to show previous/next buttons in my articles?

I'm using helix3. my website is 1PSD.net. how to put a button "next" in bottom my pages?like this picture? I mean, not button "READ MORE". I want multiple pages similar the left post "Beginners" and ...
2
votes
2answers
206 views

How can I ensure a plugin update is compatible with my current Joomla installation?

I'm new to Joomla, so please forgive me if this is obvious. I have done some searching and I am competent with Wordpress so I'm hoping it's not! I'm currently running 3.4.8 and when updating certain ...
1
vote
1answer
201 views

Adding fields to user group admin form

I am trying to write a Joomla plugin to add fields to the user group admin form. I have previously written plugins that have added a new tab to the user form. This is possible by having a plugin with ...
0
votes
1answer
116 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 ...
2
votes
1answer
216 views

Is there an event for saving a menu item?

I'm trying to create a plugin that fires when a menu item is saved, but I'm having trouble finding an event to listen to. Sor far I have function onContentAfterSave() { ...
0
votes
1answer
215 views

Validate plugin data before saving successfully

I am developing a plugin. I have one textbox. When I give some value in the textbox and click on "Save" button, the value of the textbox should be validated by sending a curl request. If it is not a ...
1
vote
1answer
277 views

JForm::addFormPath to load Template path

I Have a plugin and I have the Following code working fine: if ($this->params->get('thepath') == 'plugins'){ JForm::addFormPath(JPATH_PLUGINS.'/system/add_xml_fields/'); } I ...
0
votes
3answers
215 views

How to remove specific articles from blog view using a plugin custom code. Its possible? How?

I would like to prevent some specific articles from being shown on com_content blog view and featured articles view. For example, if the article has a specific ID that I seted on code like "27" he ...
1
vote
1answer
51 views

Logout within plugin interfering with other plugins

I have a user plugin which performs some tasks and then logs the user out using $app->logout($userID, []);. This is intentional and part of the plugin's functionality, and works well if no other ...
2
votes
1answer
99 views

Change 'Help' button url inside plugin

Is it possible to change the 'help' button url inside a plugin (that I am developing) to get the documentation from my site? I managed to add not replace, with JToolbarHelper::help()
1
vote
3answers
969 views

I need extension to create popup

I'd like some advice. which extension is recommended for anyone needing to open an html page in a pop-up after clicking on an image?
1
vote
2answers
222 views

Installer Script - Copying files from installer temporary directory to joomla site

I am creating a Joomla package that will install some plugins and some image files together. I want to copy the images from the package to the Joomla site using an installer script. How do I find the ...