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
1
vote
0answers
367 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?
2
votes
1answer
295 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 ...
4
votes
1answer
2k views

Get all installed Joomla extensions and their version

I'm not really familiar with Joomla, but I need to write a script that is supposed to list all the installed extensions and their version number, if possible. I've already done this for WordPress, ...
3
votes
2answers
969 views

Using com_ajax in a custom plugin to retrieve k2 items from database

I am using rsform pro to show dropdown option values from joomla database. I have 2 dropdown boxes, A list all the category name and its id while B lists all the available k2 items. I have a jquery ...
0
votes
1answer
117 views

Two reversed conditions in one onAfterDispatch() plugin function

In my system plugin, I use the following condition class PlgSystemMyPlugin extends JPlugin { public function onAfterDispatch() { $uri = JFactory::getURI(); $current_url = $uri-...
1
vote
1answer
25 views

How to make a Joomla module installation from a module already installed on another page

I'm working on a new website and I wanted to install a module that I have on another website that I'm administrating (I didn't make that website and the developer who made it, made that module himself)...
5
votes
2answers
1k views

What does $context parameter of content plugin mean?

I've read that $context parameter is: "The context of the content being passed to the plugin - this is the component name and view - or name of module (e.g. com_content.article)" https://docs....
5
votes
2answers
587 views

Apply the same code on PHP to content of component and each module

I have some code on PHP something like: $oldstring = ...; ... $pattern = ...; $newstring = preg_replace_callback($pattern, ... {...}, $oldstring); echo $newstring; I need to apply this code (maybe ...
3
votes
2answers
580 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 ...
2
votes
1answer
487 views

Simple Image Gallery plugin not displaying the images

I am using Simple Image Gallery plugin to preview my images in articles. However , when I add my images in the folder set in the configuration only the {gallery} tag is displayed and not the actual ...
1
vote
0answers
427 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, ...
0
votes
0answers
1k 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 ...
1
vote
1answer
175 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/...
2
votes
1answer
30 views

What are the PluginGroup types that I can use when developing a Joomla plugin?

When developing a plugin, what are the PluginGroup types that I can use in Joomla? For example, if you were to create a search plugin the <PluginGroup> would be Search. I've tried to find a ...
2
votes
1answer
732 views

Can't add Javascript in plugin

I've been trying for the last hour or so to get a single javascript added to the head via my system plugin, and am kind of pulling my hair out as to why it is not showing up. Here's what I've got ...
0
votes
2answers
414 views

Is it possible to disable a plugin/module via template in Joomla 3?

I have a menu with different template assigned. I want to disable the plugin Tabs & Sliders (by JoomlaWorks) in this menu. Can I disable this plugin via template ?
1
vote
2answers
599 views

Add Content Field Data on form submit

I have a plugin that adds a couple extra fields to com_content. I've already sorted out how to add the fields to the frontend editing form, so that they're displayed and saved appropriately, that is ...
2
votes
2answers
106 views

See content form data submitted

is there any way to see the data that's being submitted in a content form? I'm trying to use the onContentBeforeSave plugin event to do some actions based on the content in the form, but I'm not sure ...
1
vote
2answers
84 views

Check extensions vendor

Is there a way to check if in a Joomla! installation there are extensions from a specific vendor? In a plugin that i have i need to apply different procedures if a specific vendor products are present....
6
votes
1answer
282 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 ...
2
votes
3answers
2k views

How to allow media manager open video files

How can select a video file (mp4, ogv, webm ...) in a plugin as parameter? I intend to select a video file in a plugin parameters, tried field type media but videos files are not listed. Using field ...
1
vote
1answer
1k views

Custom fields in com_content does not display when editing article in front end

I created a plugin to add a custom field following this answer. Works fine when I am logged in the backend and edit the article but the tab is not displaying when the article is being edited from the ...
2
votes
1answer
664 views

Is there a module that allows us to show Python code in a Joomla article?

I was searching for a module or plugin or an extension in general that allows me to show Python code with the syntax highlighted. I found 2 extensions, namely Display Code and Flexi Custom Code, but I ...
1
vote
1answer
158 views

Automatically publish plugin after template installation

I want to bundle my template with a plugin, and I want the plugin is automatically published after template installation. I know this is possible with component or plugin installation, but is it ...
1
vote
3answers
399 views

Joomla 3.4.3 get fatal error while opening plugins

While trying to open any plugin from Joomla administration, a blank page with this error message displays: Fatal error: Call to a member function getTable() on a non-object in .../libraries/legacy/...
1
vote
3answers
772 views

Joomla 3 onContentAfterSave not work backend

I want use onContentAfterSave in Joomla backend but it's not working. My code this is: class plgContentTest extends JPlugin { public function onContentAfterSave($context, &$article, $isNew) { ...
4
votes
1answer
591 views

How can include the component view in plugins

I have custom component and plugins and listing some details in table after click on the table i'll go to details page. i want show the one of details in article, so i created a custom plugins and got ...
0
votes
2answers
307 views

Populate field form with array data based on field choice

In a Joomla 3.x plugin I need to populate some plugin parameters with array data based on dropdown field choice value. $presets = array( "preset_A" => array ( "parameter_A" =&...
0
votes
1answer
54 views

Plugin translation package issue

I have made several translation packages to a plugin (Joomla! 3.4.1) that I have. I followed this official documentation https://docs.joomla.org/Creating_language_packs_for_extensions_in_Joomla_2.5. ...
1
vote
2answers
342 views

Permission error after updating plugin

I have installed a plugin "Script Merge" after I edit the configuration for the plugin Joomla throws the following error: You are not permitted to use that link to directly access that page (#820). ...
0
votes
1answer
81 views

J3.x: Is there a way to stop custom authentication plugins from automatically creating local users?

I have searched extensively, but have not found anything useful. Can anyone offer any advice? Thank you!
2
votes
1answer
4k views

How to add meta tags to a page header based on an url parameter?

Hello Joomla community, I'm forced to write a minimum Joomla (3.4.1) plugin that injects custom meta tags based on an URL parameter. It will be used to serve localized Facebook Open Graph stories. ...
0
votes
0answers
96 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 ...
1
vote
2answers
2k views

Free file attachment to editor (alternative of JCE file manager plugin)

As you know, JCE file manager is not free. So, I am after a free plugin or component that can attach files (pdf,doc,zip, ...) to an article, but it must provide easy access from editor, like file ...
0
votes
1answer
204 views

How to add extra tabs inside the banner edit view using a plugin?

I have used the joomla docs to make a hello world plugin and then again the joomla docs to load the plugin within the joomla banners component. I cant seem to load the extra tabs inside the banner ...
1
vote
0answers
232 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 ...
2
votes
1answer
395 views

How plugin can check if meta tag exists?

So, I'm trying to modify a plugin. This plugin sets some meta tags in the head section using addCustomTag (adding <meta property="og:...>, etc.) The problem is that they should be added only ...
0
votes
2answers
130 views

Looping items in category view of component with condition from plugin

If we have some list of items in category view of some component (no matter what component — interesting in general solution) how can we loop only the items with some condition that is given from some ...
2
votes
1answer
76 views

Can all events be usable from any plugin?

In Joomla there are different plugin types/groups - System, Content, etc. Also events are separated. For example onAfterRoute is described as System event. Can I use onAfterRoute from within a Content ...
2
votes
1answer
1k views

Custom profile plugin fields not showing

I've made my own profile plugin based on the tutorials here and here. But they are a little outdated so I had to fill in some gaps. Now, the plugin installs correctly, and if I click on it, I'm able ...
5
votes
1answer
59 views

Can components / non-plugins react to events?

Is it possible for components to react to events - i.e. in some way become an observer to plugin events?
-1
votes
1answer
173 views

joomla sidebar comments module/plugin/component [closed]

I would like to find component/module/plugin (does not matter) for showing comments in sidebar. For example - Phoca guestbook component + phoca guestbook latest entries module component is good ...
3
votes
1answer
243 views

How to create a custom profile plugin

I want to write my own custom profile plugin, but the problem is that the available tutorials (here and here) are a little outdated. Right now I'm looking at the setFieldAttribute(), the last ...
0
votes
1answer
660 views

Got js error “Uncaught TypeError: undefined is not a function” on testing server because of megamenu and YT framework

I am in trouble from few days, suddenly I got js error "Uncaught TypeError: undefined is not a function" and it's point to megamenu initialization code. Few days back I have tried to uninstall the YT ...
0
votes
1answer
830 views

How can I use Joomla oncontentprepare in category blog

I created a custom Joomla plugin and I want to display my custom data on content in category blog. I use oncontentprepare event for display data. But in category blog only show all data on first ...
2
votes
2answers
108 views

How to implement less compiler when saving options

This question is not so specific, but I will ask it anyway. Is it possible (better possible and easy) to use less compiler when saving options for a component or plugin? What I want - many content ...
1
vote
2answers
783 views

Proper way to call/use plugin parameters

I know this could be interpreted as a minor or a newbie question but I would like to improve my code. So, in a best coding practice perspective how to call/use plugin parameters? My two code examples ...
1
vote
2answers
271 views

Change existing xml field name values

I have a system plugin where I need to change some existing field name values in xml manifest file. In a new plugin installation this is not a problem, but if I want to upgrade an older version I will ...
2
votes
1answer
586 views

How to create a “Discount Plugin”

VirtueMart doesn't have a lot of plugins... So, I thought about creating a plugin which shows the percent of the price of the product in ofert. Just making a div with ::after (CSS3) and inserting it ...
2
votes
1answer
122 views

Retrieve a large number of plugin params

In my plugin xml file I have a large number of parameters to retrieve, about 100. Presently, to set a more friendly name to parameters, I am retrieving them like this: public function __construct(&...

1
3 4
5
6 7