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
2answers
231 views

Installer Script - Copying files from installer temporary directory to joomla site

I am creating a Joomla package that will install some plugins and some image files together. I want to copy the images from the package to the Joomla site using an installer script. How do I find the ...
1
vote
1answer
294 views

How to change JoomShopping URLs?

I have added several JoomShopping categories with respective pages. However, they have long URLs: http://ysadba.kiev.ua/component/jshopping/CATEGORY/PRODUCT.html?Itemid=0 I'd like them to look like ...
2
votes
3answers
1k views

Language files in a plugin

I'm writing a plugin that needs some translatable strings at runtime, but I'm having trouble getting my language file to be picked up. I've got the following: /language/en-GB/en-GB....
1
vote
2answers
366 views

Use plugin code in overrides content template

Im trying to make a page which uses plugin code of Simple Image Gallery to load the images in that are uploaded with the article. This is the code you need to use in SIG: {gallery}myphotos{/gallery} ...
1
vote
2answers
381 views

Add extra fields to article

I'm trying to create a simple plugin that adds 4 textfields to the article options. But I'm not getting it to work. This is my plugin structure: extrafields.xml extrafields.php These are the ...
2
votes
1answer
590 views

User Plugin onUserAfterLogin

I am writing a custom user plugin to write the session id and user id on a txtfile(This will be in turn used for some of my perl systems) after the user logins on Joomla. So far i have managed to ...
0
votes
2answers
209 views

Store data from URL in Joomla website database

I just came through a scenario regarding joomla website. The scenario is: Data in URL is passed to Joomla website and from the URL Joomla must store the data into the database. Is this possible in ...
2
votes
1answer
37 views

When a Component/Plugin was updated

Is there a way to check when a component/plugin was updated? I have a problem with my Joomla installation and I updated a component/plugin soon, but cannot remember which and when..
0
votes
1answer
405 views

Using a JQuery function in a module?

I have customised a small text rotator using Jquery which I wish to use to rotate phones numbers in a module.It can be found here: http://jsfiddle.net/tovic/xaqgn/ I have tried embedding the function ...
2
votes
1answer
503 views

How to use Github as an auto-update deployment server for Joomla 3.x extension

I have gone through the two closest topics I could find here, but the auto-update extension still does not work. I have created a 3rd party extension called paystack, that works with the Jeema SMS ...
3
votes
1answer
956 views

Trigger event for specific plugin only

Is it possible to trigger a event for specific plugin? I can load a specific plugin $loaded = JPluginHelper::importPlugin('my_component', 'my_plugin_1'); But when I trigger an event, all the ...
3
votes
1answer
136 views

Joomla does not find my plugin update

I made my first plugin and want to setup an update site as well. My joomla does not find the update (after pressing clean cache of course). The update server is found and it load my xml. My manifest ...
2
votes
1answer
1k views

Get Title from ID

In a plugin I need to get the Title (from Article or Menu or Modules) from a given ID. I am using the following code and it's working but I would like to know if it is correct doing this way or is a ...
1
vote
1answer
194 views

Need Extension Suggestions for Multi-Restaurant Ordering Website

Hello Can anyone suggest me which extension should i use? i want to create a Multi Restaurants food ordering website eg: https://eatoye.pk for Joomla!
4
votes
2answers
1k views

How to add any text/script before </body>

Is there any content plugin that let me to put any text/code/script before closing </body> tag? If there is no such plugin, is there any documentation about how to create that kind of plugin?
1
vote
1answer
89 views

Add languages to GeSHi plugin

I'm using GeSHi plugin for writing code in my Joomla site. It works, but there's some language that are not supported (powershell, SQL) that I need. In the GeSHi homepage I've seen that they've ...
1
vote
1answer
753 views

Dynamic fields in module parameters

I have created a Joomla module that renders a set of headlines in a widget, with links to the main item. It loads these headlines from either a Joomla category or an RSS feed, and is extensible so I ...
2
votes
1answer
28 views

Create plugin to edit category form

i'm trying to edit joomla's category form with a plugin following this guide https://docs.joomla.org/Creating_a_profile_plugin xml file <extension version="3.1" type="plugin" group="category"> ...
4
votes
2answers
298 views

Core Component Layout Override with Plugin

Within a plugin I need to add and populate (data is available inside my plugin) a column to com_menus&view=menus view in administration. my_plugin.php ... public function onAfterInitialise() { ...
1
vote
0answers
25 views

One to many contact history

I am wanting to add a history for the contacts component, essentially a history of them being contacted with a few other fields. I looked at seblod and it seems like a lot of overhead. I have written ...
1
vote
2answers
25 views

Slideshow component where some elements exist across mulitiple slides?

Ive been searching the last week or so for a joomla based slideshow like component which supports elements remaining in situ between some slides. Ideally on subsequent slides these elements would ...
1
vote
1answer
228 views

Need to Change the Default URL on Mobile Joomla

As you can probably see in my previous queestions, I'm new to Joomla with less than a year's worth of experience. I'm looking to start building out Mobile pages - but a previous developer left me in a ...
1
vote
2answers
28 views

FB adverts plugin on Joomla

Is there any plugin for adding FB adverts code on joomla similar to Google anlytics plugins, so that it can be enabled on every page at a time. To put it more simple is there some plugin which can ...
1
vote
1answer
606 views

Joomla 3.6 File upload file to article

i am using the technique to add custom fields to articles described here: https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin Everything is working well, except for file-...
2
votes
1answer
333 views

Plugin - LLFJ - Lazy Loading for Joomla loads all the images at once

I have a problem with LLFJ Plugin,It loads all my images at once,It's not lazy loading them at all.I installed it, I tried with jQuery and mootools but same thing.Also I tried other lazy loading ...
1
vote
2answers
474 views

Add <script> tag before </body> on only certain pages?

I am fairly new to Joomla (using for less than a year) and I need to find a way to place a script tag before the tag in joomla. This is for marketing (call tracking) purposes. I have seen some ...
0
votes
1answer
45 views

Plugin generate a CV page

Is there any plugin that gives the admin the right to create an user and the system generate a page contains the fields : photo, informations about the user etc (like a CV page), and this informations ...
1
vote
1answer
583 views

Joomla 3x ,articles anywhere plugin ,not loading my article inside a module

I'm new to Joomla,so I got this problem: I have Articles Anywhere and Modules Anywhere plugins instaled and I have a module for the Home page. In this module I try to load another module and in the ...
0
votes
1answer
64 views

Custom Article plugin loses functionality after article creation

I have created a plugin that adds a radio selection and text fields to back-end Article creation (and I thought edit as well) but the functionality behind those custom inputs only fires on creation. I ...
1
vote
1answer
133 views

Joomla 3.6.2 - wbAMP Plugin not take author from k2 article [closed]

i have plugin wbAMP for Accelerate Mobile Pages of Google. But i have a problem about this plugin. wbAMP is 1.4 version, and when i start this plugin and I check with google developer operation i see ...
0
votes
1answer
337 views

Please correct the path for Joomla Javascript Async and Defer plugin

Hello i want to Defer parsing of JavaScript of the following link in joomla by using Javascript Async and Defer plugin. http://www.domain.com/media/plg_jchoptimize/assets/gz/1/0/...
1
vote
3answers
725 views

After update to 3.6.2 no intall plugins are visible even not in “discover”

I wanted to reinstall the plugins via the "discover" button, but they do not appear there at all. Do you have any suggestions how I can reinstall the install-plugins manually without the discover-...
1
vote
1answer
63 views

jQuery UI issue with jQueryEasy plugin

Hello I have an old Joomla 2.5 site. I use the jQueryEasy for optimization and if I dont I get some random mootools error. My issue is : I want to use the draggable() method of jQuery UI. It seems ...
2
votes
2answers
188 views

Set module assignment at menu creation

I have a component which creates content pages for custom entities. I have an xml which allows to set those pages as menu items of that entity type. I have 1 module that I always want to display on ...
1
vote
1answer
267 views

Call content plugin in Joomla! component

I want to display social share plugin in MediaStore component but my skills are not high enough to make it work. Can somebody give me some clues on how to do this? This is how I tried to call the ...
0
votes
1answer
75 views

Auto redirect after vote

how to add auto redirect URL after voting ? its possible? here is the code public function vote(){ $app = JFactory::getApplication(); $params = $app->getParams(); $vote=$params->get(...
1
vote
0answers
210 views

Why use ob_start and eval instead of using a simple include in this Joomla Plugin?

I was looking at the code of a Plugin for Joomla! CMS for a functionality I need: the possibility to run custom PHP scripts when a Joomla! Plugin/Events is fired. I wanted to learn the mechanism used ...
2
votes
1answer
85 views

Set plugin order when installing

During plugin installation, is it possible to set it to be always the last one in its group? Thanks
4
votes
1answer
289 views

Is there an event like “OnAfterCompileHead”?

As per title, is there already an event that can work like a sort of OnAfterCompileHead? Maybe onAfterDispatch, onAfterRender or onBeforeRender? I need to change some meta tags in the <head> ...
6
votes
2answers
2k views

How to call a model method from a system plugin?

I have a component ('com_foo') which has a model called 'foobar'. The class declaration is like this: class FooModelbar extends JModelItem This class has a public method called getFooBar(). I also ...
0
votes
1answer
768 views

How to render content plugin into a module

I'm porting a code from a template override of com_content category blog_item into a module. Everything is all right done, except for one thing I'm struggling with. I have this code from com_content ...
2
votes
2answers
90 views

Content Plugin 'loads' multiple times on Category Page

I have a plugin where I am trying to instantiate a new class but every time the plugin was enabled, the page kept dying saying the object already exists. Upon investigating, I found out that it only ...
0
votes
1answer
68 views

My challenges,Joomla Administrator www.melhevconcept.com/administrator [closed]

My challenges>>>> JAuthentication: :authenticate: Failed to load plugin: plgauthenticationcookie JAuthentication: :authenticate: Failed to load plugin: ...
1
vote
2answers
110 views

Extending joomla registeration with a plugin

I have found a plugin that extends joomla's core registration by adding a new field named User group selector. There is a trigger method in this plugin named onUserAfterSave that save the custom field ...
2
votes
1answer
423 views

How Can I Set The <title> Tag Using The Sourcerer Extension?

I'm trying to build a Joomla article to display a photo the user selects. I'm using the Regular Labs Sourcerer plugin to place the required PHP code into my article. I want to set various tags within ...
4
votes
2answers
445 views

Joomla Plugin to fire onUserLogin

All, I have a simple plugin which does fire on login. I have the same plugin working in 2.5 but in my joomla 3.5 I cannot get it work get the username. This does work on Joomla 2.5 Here it is. Any ...
1
vote
1answer
36 views

Joomla3 Loading two diffrent plugin for two diffrent user group in their profile page

I have two profile plugin (core profile and newly created profile5), How can I load these two plugin with two diffrent user group. (For Register type user load core profile and for Editor load ...
2
votes
1answer
437 views

Use of $_SERVER variables in custom plugin

In my Joomla application, I have functionality where I use server variables, like request_uri and query parameters for parsing url string. This function is used in many modules. So, I wanted to ...
0
votes
1answer
87 views

K2:How to run a certain task every time an item is saved

I am using k2 to buildg my Joomla 3.5 site. My k2 items are basically youtube videos, every youtube video has a URL pattern for its preview image and I want it to be the item's image. But I don't want ...
3
votes
1answer
122 views

Media field use local or remote file

I have looked all around for the use of the media field, and I see that is to load local files only. I need to use it to load not only local but also remote images. I notice that if I put a URL to ...