Stack Exchange Network

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

1
vote
2answers
120 views

How to add simple visitor interaction in joomla 3x?

I have a download page on my website. I would like to know who downloaded the content so I need to put this behind user login. Free registration is required, and by providing details like email they ...
3
votes
1answer
61 views

Handling of Plugin Custom Field Type Data

I have written a custom field type which will allow users to upload a file (CSV). Upon submitting the file, the plugin needs to be able to read through it and then do its own thing (update database ...
0
votes
1answer
98 views

Custom Joomla 3.4 Finder Plugin Not Displaying in Results

I have created a custom finder plugin to reference my custom component content, however, the content indexes as expected but it doesn't show up in the results on the front end. Have I missed a step? ...
3
votes
1answer
122 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 ...
1
vote
1answer
24 views

How to execute custom php/mysql code after a user successfully logs in?

After a user logs in, I want to call a little mysql program. How and where (in what module eg. mod_login) do I place the code?
0
votes
1answer
84 views

Is possibile to hide $article object

I'm developing a content plugin to filter articles according to a field in CB profile. Something like: public function onContentPrepare ($context, &$article, &$params, $limitstart) { ...
1
vote
1answer
133 views

Add category name to Smart Search results?

I want to add the articles category name, when the results show up for "Smart search" plugin. right now it only shows the article name. i tried to use this code, but it didn't work: <?php $title = ...
3
votes
1answer
745 views

Calling plugin code from module

Currently developing a module and a plugin (content) for a project that have some similar code in them (read: code for accessing APIs, organizing data, etc). Any environments that they're installed on ...
0
votes
1answer
116 views

Make a payplan app in joomla

I am developing a custom payment plugin for the PayPlan component. Below is the structure which I made after referring to the URL: https://github.com/readybytes/PayplansCustomApp firstdata(Folder) --...
1
vote
1answer
66 views

Plugin result at module position

Can I display Plugin result in module position. I want to display allvideo plugin in module position. AllVideo associate video with K2 Item.
0
votes
1answer
82 views

Flag based on Language and Two Factor Authentication

In a system plugin I need to have two flags, one to check if there are more than one language in administration and another flag to check if a two factor authentication is needed. Tried the following ...
1
vote
0answers
341 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?
1
vote
1answer
232 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
1k 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
843 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
94 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
919 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
435 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
539 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
339 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
423 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
999 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
100 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
29 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
532 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
311 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
484 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
98 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
219 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
1k 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
844 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
482 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
150 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
384 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
624 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
470 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
265 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
300 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
70 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!
1
vote
1answer
3k 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
92 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
1k 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
190 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
207 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
302 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
117 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
69 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 ...