Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
2
votes
2answers
61 views

Modules and plugin in one package

I have built a plugin that is very similar to a google analytics kind of plugin (but for a third party). Now I have to add a functionality that adds a custom contact form on the sidebar, but I don't ...
2
votes
2answers
1k views

onUserLogin and onUserAfterLogin events don't seem to fire

I am trying to write a simple plugin that runs after the user logs in to the system. I have written content and authentication plugins before with no issues. In this case I have stripped the plugin ...
-2
votes
2answers
159 views

My plugin currently saves data to attribs - can I change this?

I have written a plugin based on the content component. This works well as far as it goes but I would like to create a new field in the content table and use the field instead. I have got as far as ...
1
vote
1answer
1k views

Any “Link Preview” (like the facebook feature) in joomla editor?

I'm writing articles commenting diverse sources from the web (youtube video/news articles, blogs...). To show which article I'm commenting I'm using an image (thumbnail + some text). So my article ...
3
votes
1answer
212 views

How to restrict user registration based on user group

I am wondering if someone can help me. I have developed a plugin that allows me to restrict the number of users registering on the site, but I would like to develop this further by restricting it to a ...
22
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 ...
5
votes
1answer
166 views

Prevent User Deletion with Plugin?

Is it possible to prevent Joomla from deleting users with a user plugin? We need the user profile to be disabled, but never deleted. I've been tinkering with onUserBeforeDelete, but the docs refer ...
3
votes
1answer
342 views

CB 1.9.1 List Manager alternative list manager plugins

I'm using Community Builder (CB) 1.9.1 on Joomla 2.5.20 and find the CB List manager wanting. My intention is to stay with CB especially since 2.0 is on the horizon, but in the meantime,I've been ...
3
votes
1answer
69 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 ...
2
votes
1answer
312 views

Joomla 2.5 SEF and JRequest

(Migrated this question from Stack Overflow) I am working on a client's website which is based on the Joomla 2.5 framework. With SEF turned off (the in built Joomla version) the URL is this http://(...
1
vote
2answers
103 views

How to reposition the notification message generated by CookieMonster plugin

I am using the plugin 'Cookie Monster' by herdboy which generates a cookie notification message displayed as either a div at the top/bottom of your page or as an overlay. The basic plugin options ...
3
votes
4answers
779 views

Dynamic Menu Item Names

I want to create a menu item that will change dynamically its name, based on who is viewing it and his viewing access. To make it more specific, I have created an application in Fabrik. There are ...
6
votes
2answers
9k views

window.addEvent('domready', …) alternative

I use an adapted version of google code prettify on my page which lets me highlight Mathematica code. For the correct injection of the necessary js code, the JPrettify plugin is quite handy. Since ...
5
votes
2answers
1k views

How to get assigned template name in onAfterInitialise?

This seems like a bug and I tested on both 2.5.x and 3.x but there is no way to get assigned template name in onAfterInitialise by using $app = JFactory::getApplication(); $templatename = $app->...
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?
1
vote
2answers
944 views

Only show articles by current user in category view using plugin

Hi I'm trying to write a content plugin that will only show articles written by the currently logged in user in the category view. Using the onContentPrepare and onContentBeforeDisplay triggers I ...
0
votes
1answer
2k views

Why does {mosmap} not show markers?

I am using Joomla plugin "Google Maps" (i.e. plugin_googlemap3). I created a map with markers on Google maps pro and downloaded the kml file. I utilize the {mosmap} call with the kml parameter in the ...
1
vote
2answers
927 views

Facebook share with intro and link back to site

I'm looking for a way to add a Facebook share button to my Joomla 3.X site that will add the following to Facebook. Article Image Article Title Link back to article url This image shows the '...
0
votes
2answers
464 views

onUserAfterSave called twice because of addUserToGroup

The process of registration is taking way too long (22 secs) so I've been profiling the plugin execution to see what is happening. My registration process is something I do with a custom component (...
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 ...
2
votes
3answers
2k views

Plugin development - parse error: syntax error, unexpected 's' (T_STRING)

I'm having a shot at developing my first plugin for Joomla, its just a simple plugin which places some javascript just before the close of the body. The javascript works fine if I place it directly in ...
9
votes
1answer
424 views

Trash Joomla Article in frontend

I'm developing a small plugin for Joomla 3.x that adds a "Trash article" button when you're in Joomlas Frontend. See screenshot below. http://imgur.com/NYLGRdY Now I have this AJAX call that ...
5
votes
2answers
2k views

Unable to install a component via the extension manager

I have a J2.5 install that simply refuses to install a component using the extensions manager. The directories are all writable, the Forum Post Assistant reports that session is writable, tmp path is ...
1
vote
1answer
375 views

Is this the right way to extend Joomla class?

I have been working hard for the past few months on our template framework update. For now everything seems well but I would like to hear from experienced Joomla devs if they see any issues with ...
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, &...
2
votes
2answers
163 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, ...
7
votes
4answers
1k views

Is it possible to get generator tag removed from Joomla sites without interfering core framework?

Is it possible to get the generator tag removed from Joomla sites without interfering with the core framework. I personally feel this is an irritating aspect of the source code and makes websites ...