We’re rewarding the question askers & reputations are being recalculated! Read more.

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
102 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
83 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
261 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
962 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
593 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
157 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
397 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
707 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
552 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
295 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
324 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
74 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
95 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
201 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
227 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
355 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
123 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
75 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
168 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
236 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
629 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
767 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
104 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
713 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
258 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
573 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
121 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
vote
1answer
71 views

Plugin config checkbox, setting default=true breaks it

In a plugin config xml file, the following creates a config checkbox fine: <field name="post_allowed" type="checkbox" default="0" description="Post Allowed" label="Post Allowed" /> ...
1
vote
1answer
401 views

Joomla Plugin With Helper File

Is there a conventional way of making a helper file to a Joomla Plugin? Like class names (helper or plgNameHelper) and the way of calling it? class Helper { public static function test() { ...
1
vote
1answer
431 views

How to change virtuemart cart values?

I am using Joomla 2.5 version. And I am using Virtuemart component for my website. I have to check that if user is a VIP user then, deduct 10% amount from default virtuemart cart prices. How can ...
1
vote
1answer
93 views

System plugin development

I am planning the development of a joomla system plugin and I need an advice on how to implement it. This plugin will be triggered in 4 or 5 events, like onBeforeRender, onAfterRender ... For a ...
5
votes
1answer
544 views

Joomla plugins are not working even when they are enabled

I installed some Joomla plugins but they are not working at all. I checked the plugin states and found that they were enabled. I even added some code to the plugins to check whether they were getting ...
3
votes
2answers
2k views

How to display Microsoft Office files (word and excel),pdf and video?

How can I display Microsoft Office files (word and excel),pdf and video files in a page? Do you know any plugin? I use RSForm where I show the submitted details once users submitted them;part of it ...
1
vote
1answer
461 views

Config field of plugin is not showing Joomla 3.3

I create a custom shipping plugin for Virtuemart-3 . it installed successfully. but its config fields are not showing. Here are my fedex.xml file <?xml version="1.0" encoding="UTF-8" ?> &...
0
votes
2answers
136 views

Notify user from unsaved data

How can I notify user about unsaved plugin parameters? I have a plugin with a large number of settings and I would like to notify the user if he had made any changes to those settings but didn't save ...
1
vote
1answer
417 views

Add a custom button to plugin

I need to add a custom button to the toolbar inside of a system plugin, near 'save', 'save & close' and 'close' buttons. How can I achieve it?
1
vote
1answer
488 views

k2 plugin not fired by any event

here you are my xml <?xml version="1.0" encoding="utf-8"?> <extension version="3.0" type="plugin" group="k2" method="upgrade"> <name>com_related_news_programme</name> <...
1
vote
1answer
434 views

How to enable email cloaking for my email address that is shown in rsform?

I have a contact us form built using the RSForm Pro component. At the top of the form I have a brief intro-text, using the RSForm freetext field, where I have my email address for those that don't ...
2
votes
1answer
104 views

Is triggering an event in a list view bad for performance?

As a component developer I can see how useful is to include events to call plugins so other people can extend you component without hacking your core files. However I am always concerned about this “...
1
vote
1answer
2k views

Dynamically add fields to component's menu edit form

I am looking to add parameters to the edit-view of my component's menu editor on the fly instead of statically defining them as you normally would (as described : https://docs.joomla.org/J3.x:...
2
votes
4answers
1k views

Blank page after attempting to install extension

I'm getting a blank page when attempting to install AutoTweetNG on Joomla 2.5. I've already checked the post_max_size and upload_max_filesize variables in the php.ini, which are set to 20M and 60M ...
1
vote
2answers
686 views

How to load plugin to a specific page

I've created a plugin, that has administrator fields that will setup things to be shown on the site page. I was wondering if is there a way to load this plugin to a page as it's done with a module. ...
0
votes
1answer
386 views

Joomla 3 template plugin is not working

I am new to Joomla plugin development and I am trying to build a basic Hello World plugin. What I want is for the text "Hello World" to appear in the front-end after the article title. I am running ...
0
votes
4answers
2k views

About jquery and $document->addScriptDeclaration($js) by developing a plugin

I seem to be having an issue when using jQuery in my plugin, which results in a blank page. When I delete the last line $document->addScriptDeclaration($js);, the site display but the code doesn't ...