Stack Exchange Network

Stack Exchange network consists of 175 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.

21
votes
1answer
7k views

How to save Custom Fields in Core components

I'm trying to add a single, simple field to each #__content item, and I've very carefully followed the tutorial at Adding Custom Fields to Core Components, substituting "content" for "contact". I now ...
7
votes
1answer
4k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
6
votes
1answer
232 views

Plugin download from live site

Joomla 3.4 Is it possible to download (already installed) plugins from a live website? My scenario is that I downloaded a free plugin a while back, extracted it somewhere on my local pc and can't ...
0
votes
1answer
748 views

Running content plugin on content prepare trigger for com_content attributes text

I created a custom plugin that allows the user to save custom text from a predefined list through editors buttons, in the attributes (attribs). The idea was to give the users an easy way to add a few ...
3
votes
1answer
129 views

Is there any equivalent event to onContentAfterSave for Modules?

Is there a way we can 'listen' to the module save event so that we can use a plugin to do some additional work. I found this question on stack overflow but I am confused as to where dispatcher will be ...
5
votes
2answers
6k views

Available fields in Joomla XML manifest

When developing an extension, what are the form field types I can use in Joomla?
5
votes
3answers
3k views

Change http to https in source code when using SSL

I recently enabled Force_SSL on one of my Joomla sites (by enabling "Force SSL" in Global Configuration), but I run into problems with blocked content (non-SSL content) from both Google fonts and ...
3
votes
2answers
548 views

Adding Custom Fields to Article Component [Not in attribs field]

I am trying to save some additional fields into the Article Content and there has been a few questions like this relating to this issue but all of the solutions seem to point to saving the extra field ...
11
votes
2answers
4k views

Add a custom button to a core backend component

Is it possible to add a custom button (with a custom action, of course) to the JToolbar of a standard Joomla 3 component (com_contents) without modifying the original source code? Background: I need ...
9
votes
1answer
237 views

Plugin event only when Email activation

I am just referring the Joomla User plugin events in the URL https://docs.joomla.org/Plugin/Events/User/en onUserLogin onUserAuthenticate onUserBeforeSave Just wondering which one will help me to do ...
5
votes
2answers
1k views

Should I use JResponse::setBody or onContentPrepare for strings replacements?

I am developing a shortcodes plugin that searches trough Joomla content and creates html outputs from the matched string. Currently I am using this public function onContentPrepare($context, &...
1
vote
1answer
105 views

What Joomla events are triggered when a usergroup is changed?

I've been looking at Joomla 3.x plugin events to determine if a particular event gets triggered when a user's usergroup is changed. Update-specifically I've been trying to detect an event that is ...
5
votes
1answer
410 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 ...
4
votes
2answers
385 views

Joomla Plugin to fire onUserLogin

All, I have a simple plugin which does fire on login. I have the same plugin working in 2.5 but in my joomla 3.5 I cannot get it work get the username. This does work on Joomla 2.5 Here it is. Any ...
3
votes
1answer
368 views

Use of $_SERVER variables in custom plugin

In my Joomla application, I have functionality where I use server variables, like request_uri and query parameters for parsing url string. This function is used in many modules. So, I wanted to ...
3
votes
1answer
1k views

GeSHi shows no syntax colors with Joomla 3.3

I have been using the GeSHi plugin for syntax highlighting on my Joomla 3 installation for few weeks. The highlighting has been working fine. But ever since I upgraded to Joomla 3.3 the highlighting ...
3
votes
1answer
67 views

Is it possible to change system plugin fire order without change order in backend?

I have small issue with one of 3rd party system plugins that fires before my system plugin. We both use onAfterRoute but if that plugin is ordered before mine, my override is not taking place. I ...
3
votes
2answers
2k views

Add custom / extra field to a category

Is there any way you know of to add a custom/extra field to just a single category and not all articles as described here, without using an extension like k2?
3
votes
1answer
2k views

Using JCache to clear a specific plugin's cached data

Is it possible to use JCache to clear the cached data for a specific plugin or all plugins? I am using a plugin to display an image and text on a page and I have to clear the cache manually for any ...
3
votes
1answer
159 views

Alter registration and comment forms

I am deveoping a small plugin that needs to alter the registration and comment forms to add 4 hidden fields that have data inside that I gather from the configuration panel, and when the form is ...
2
votes
1answer
124 views

Content Plugin loadfile loads CONDITIONAL form/data, but does not save the data - why not?

I'm completely baffled! I'm trying to load Custom Fields to a Category as I've successfully done in the past, and explained in this question/answer. It works as expected until I try to load a ...
2
votes
2answers
102 views

How to tweak a plugin so it will load below the author?

I use an override of com_content/views/article/tmpl/default.php to display the author name below the article text: <div itemprop="articleBody"> <?php echo $this->item->text;?> <?...
2
votes
2answers
157 views

Filtering content in a single plugin or many?

Due to some requests by a cliente, I had to filter certain "tags" (between curly brackets, like {invisible}content{/invisible}) via a content plugin. In the last months, the list of tags has grown, ...
1
vote
3answers
35 views

Develop a System Plugin with Sample Data for Options

I'm in the process of developing a system plugin. In the options is a subform-field (repetable), which contains several fields. In the "default" of the subform I can specify a record. a) How can I ...
1
vote
1answer
247 views

Editor-xtd custom button with external Iframe Call

I am developing a custom button to integrate with an external commercial publishing software. My button base works and some how the iframe is called onto my test web site where the external App and ...
1
vote
1answer
109 views

Running content plugins for a custom editor type field in com_content

For our latest Joomla-Projects, I extended the com_content component with custom fields using the following documentation: https://docs.joomla.org/...
1
vote
0answers
346 views

k2 simple image gallery display at module position [closed]

I want to display gallery at module position associated with k2 item. Currently it display at bottom of K2 Item but I want to display it at Module Position "Right" How is it possible?
0
votes
1answer
104 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::...