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
3 votes
1 answer
74 views

How to to create a multi-layered form system

I am new to Joomla and I am trying to create a form system whose questions will change depending on what was previously answered. The idea is to store this data into a database and allow other users ...
Lord Relix's user avatar
5 votes
2 answers
2k 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?
webchun's user avatar
  • 2,418
1 vote
1 answer
98 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 ...
Jepessen's user avatar
  • 273
1 vote
1 answer
1k 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 ...
Simba's user avatar
  • 610
2 votes
1 answer
32 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"> ...
Umberto's user avatar
  • 23
4 votes
2 answers
380 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() { ...
n.h.'s user avatar
  • 871
1 vote
0 answers
33 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 ...
poproar's user avatar
  • 333
1 vote
2 answers
26 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 ...
K Fisher's user avatar
1 vote
2 answers
295 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 ...
kjkentner's user avatar
1 vote
2 answers
33 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 ...
Coder 477's user avatar
  • 111
1 vote
1 answer
752 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-...
pixx's user avatar
  • 130
2 votes
1 answer
404 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 ...
Eduard Valentin's user avatar
1 vote
2 answers
740 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 ...
kjkentner's user avatar
0 votes
1 answer
49 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 ...
Bilal's user avatar
  • 103
1 vote
1 answer
743 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 ...
Eduard Valentin's user avatar
0 votes
1 answer
71 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 ...
Chase's user avatar
  • 137
1 vote
1 answer
139 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 ...
Gabriel91's user avatar
  • 223
0 votes
1 answer
447 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/...
Amirali Panjwani's user avatar
1 vote
3 answers
920 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-...
Ingo Spörl's user avatar
1 vote
1 answer
75 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 ...
IseNgaRt's user avatar
  • 689
2 votes
2 answers
277 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 ...
user3154108's user avatar
1 vote
1 answer
372 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 ...
Frostbourn's user avatar
0 votes
1 answer
78 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(...
Thomas.D's user avatar
1 vote
0 answers
330 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 ...
Gruber's user avatar
  • 302
2 votes
1 answer
105 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
user3477054's user avatar
4 votes
1 answer
464 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> ...
Gruber's user avatar
  • 302
7 votes
2 answers
4k 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 ...
sifu's user avatar
  • 1,105
0 votes
1 answer
1k 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 ...
N.Fury's user avatar
  • 13
2 votes
2 answers
167 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 ...
sifu's user avatar
  • 1,105
0 votes
1 answer
86 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: ...
Mobuogwu Eugene's user avatar
1 vote
2 answers
191 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 ...
Vahid Najafi's user avatar
2 votes
1 answer
719 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 ...
user avatar
4 votes
2 answers
611 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 ...
Jason Pate's user avatar
1 vote
1 answer
39 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 ...
Harish Ojha's user avatar
2 votes
1 answer
625 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 ...
user168983's user avatar
0 votes
1 answer
108 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 ...
shenkwen's user avatar
  • 1,389
3 votes
1 answer
197 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 ...
user3477054's user avatar
3 votes
2 answers
473 views

Simple Joomla plugin doesn't work

I'm new to Joomla. The first time I create a plugin. I am trying to create a new plugin, but it does not work. Events did not react. Joomla version 3.4.8. PHP 5.6 My Code plgcontenttitlere.php ...
Javlon Tulkinov's user avatar
2 votes
1 answer
674 views

com_ajax and JFactory::getUser()

I'm using com_ajax for requests, and I've run into a problem. I'm trying to determine if the user making an AJAX request is logged in. When I call JFactory::getUser(), it's returning a guest user, ID=...
George Sexton's user avatar
0 votes
1 answer
850 views

How do I create an Editor Add-In?

I've searched around, but I can't find how to do this. I'd like to add an extension to the wysiwig editor in Joomla. I'm writing a calendar plugin, and I'd like to have a dialog that would help the ...
George Sexton's user avatar
2 votes
2 answers
153 views

How to tweak a plugin so it will load below the author?

I use an override of com_content/views/article/tmpl/default.php to display the author name below the article text: <div itemprop="articleBody"> <?php echo $this->item->text;?> <?...
MagTun's user avatar
  • 976
0 votes
1 answer
854 views

VM - custom payment plugin and payment methods do not work

I can't make my VM payment plugin to work at joomla v3.5.0 and virtuemart v3.0.12. I've install a custom payment plugin. Initially it worked, yet the same time other payment methods (when invoked) ...
Igor Savinkin's user avatar
1 vote
0 answers
43 views

How can I make the Botscout feature work in the EasyCalcCheck+ security plugin?

I'm using EasyCalcCheck+ to beef up security on a Joomla site. In general it works well, adding a random math question to contact forms and registration. ECC+ also has options that enable ...
boot13's user avatar
  • 131
4 votes
1 answer
579 views

Article custom fields for one category

With the help of this and this I made a plugin to add a custom fields to the article component. It works fine but I would like to make these custom fields mandatory and only for a specific article ...
web-tiki's user avatar
  • 1,373
2 votes
1 answer
73 views

First Attempt PHP Plugin

New to php and plugin building. I am a front end guy but need to learn templates building in Joomla. I have a small one working that gives you the ability to insert and change some text in the ...
Dawdre's user avatar
  • 23
0 votes
2 answers
466 views

Share article and with short url / short link

If you share a youtube video, youtube automatically create a shortlink that you can send manually, or via a variaty of different social media plattforms. See screenshot: I've searched for a joomla ...
Ratnanil's user avatar
  • 103
5 votes
1 answer
131 views

onFinderCategoryChangeState event for com_finder in Joomla never fires

I am implementing a plugin for jdownloads to be used in the component smart search. To implement this plugin I have to use the event onFinderCategoryChangeState to actualize the state to the download ...
miguelbgouveia's user avatar
1 vote
0 answers
58 views

How to use handler: 'string' in joomla modals

Im looking for some examples of how to use {handler: 'string' ...} for joomla modals, as used in editors-xtd buttons plugins $button->options = '{handler: 'iframe' ......}'; but I want to use: $...
Martin's user avatar
  • 11
2 votes
2 answers
80 views

When I save an article, URLs are modified to include hostname

I've inherited a Joomla site. I've noticed that some articles contain URLs like this: <a href="http://testdomain.test/rest_of_url">example</a> This site gets copied from our staging ...
Flimm's user avatar
  • 481
2 votes
2 answers
2k views

How do I remove and/or change the 'name' field in the registration form so that I can ask for first and last name separately?

I've developed a plugin that allows me to create a custom user profile. It works and I'm able to add/remove fields as necessary. The issue I'm facing is: How do I remove and/or change the 'name' ...
nimble's user avatar
  • 418

1
3 4
5
6 7
9