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
5 votes
2 answers
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->...
Dan's user avatar
  • 889
3 votes
2 answers
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?
jalbasri's user avatar
  • 155
1 vote
2 answers
1k 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 ...
jalbasri's user avatar
  • 155
0 votes
1 answer
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 ...
user2694476's user avatar
1 vote
2 answers
1k 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 '...
Mr. B's user avatar
  • 121
0 votes
2 answers
565 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 (...
Tom's user avatar
  • 811
3 votes
1 answer
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 ...
Sivakanesh's user avatar
2 votes
3 answers
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 ...
rowanwins's user avatar
  • 163
9 votes
1 answer
476 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. https://i.stack.imgur.com/nlycx.jpg Now I have this AJAX call ...
Patric Gustafsson's user avatar
5 votes
2 answers
3k 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 ...
toomanyairmiles's user avatar
1 vote
1 answer
447 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 ...
Dan's user avatar
  • 889
5 votes
2 answers
2k 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, &...
Dan's user avatar
  • 889
2 votes
2 answers
188 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, ...
jackJoe's user avatar
  • 865
7 votes
4 answers
2k 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 ...
Durgesh Chaudhary's user avatar

1
5 6 7 8
9