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
2 votes
1 answer
25 views

How to force an administration field be filled-in or plugin won't be enabled?

I have a Joomla plugin I wrote. There is a field for the Joomla Administrator to fill-in, it can't be left blank and there is no good default value to put in there. How can I force it that the plugin ...
Edward_178118's user avatar
1 vote
2 answers
459 views

How do I pass the field value for a plugin into the myplugin.php itself?

I have a simple Joomla plugin I wrote and added a field to the .xml manifest: <config> <fields name="params"> <fieldset name="basic"> <field ...
Edward_178118's user avatar
2 votes
1 answer
116 views

Parse code for plugin call in $row->text of Joomla article?

I'm writing a Joomla plugin where I want it to look through the Joomla Articles (and modules) for this: {myplugin} partno=12345678 {/myplugin} and change {myplugin} partno=12345678 {/myplugin} to a ...
Edward_178118's user avatar
0 votes
0 answers
177 views

Plugin "Hello World!" for User onUserAuthorisation

I am trying to create a plugin to make some database queries from the event onUserAuthorisation. Right now I am just trying to set up a "Hello World" style plugin, because I am not sure yet that my ...
jeffery_the_wind's user avatar
0 votes
2 answers
262 views

article view - com_content not triggering content plugins when article is split

I've created a template override for the article view where the intro and the full text are invoked separately. So, instead of <div itemprop="articleBody"> <?php echo $this->item-...
manchine's user avatar
2 votes
1 answer
568 views

Creating a Component menu item via a Plugin

I've been reading over Joomla development documentation for awhile, but haven't picked up as much as I would like. What I'm trying to accomplish seems very simple on the surface, but navigating the ...
Brandon's user avatar
  • 21
1 vote
0 answers
17 views

Desktop application for macOS to generate components, plugins and modules

I would like to know if there's a desktop application to easy generate components, plugins and modules for Joomla. I have tested this two generators: https://www.npmjs.com/package/generator-joomla3 ...
troyKoutei's user avatar
3 votes
1 answer
563 views

Subform inside modal

I am using subform form field type inside my plugin parameters (I am reusing a form in several places of my plugin parameters, with success). What I really need to manage is to use each subform ...
n.h.'s user avatar
  • 871
0 votes
2 answers
39 views

Joomla learning extension

I am looking for an independent platform, or an "extension" for joomla, that has or allows to develop the following characteristics: Role 'Student' - This has a personal page where you will be ...
Carlos Filipe Sousa Pinho's user avatar
1 vote
1 answer
232 views

Second dropdown changes after selecting first dropdown in Joomla XML

I am creating these dropdown lists in XML for plugin: category multi-select dropdown, subcategory multi-select dropdown (All data comes from database table) I want when I select the first category ...
Rakesh Singh's user avatar
5 votes
2 answers
541 views

How to customize user registration in Joomla 3.7?

Now that Joomla 3.7 supports custom fields, can anyone point me to documentation or a YouTube video that outlines how to customize user registration? I assume that additional work is also required to ...
nimble's user avatar
  • 418
1 vote
1 answer
108 views

How to control the execution order of the same event?

I would like to know if it's possible to control the order of the execution of the same event in several plugins. For example, I have the event event1 in 2 plugins, and I want the plugin1 execute the ...
remi leclercq's user avatar
1 vote
0 answers
432 views

How to dynamically add extra input fields in k2 item form

Problem I'm currently working on a form which has to implement a way to create a schedule for a single day. It should use a time for when an event starts, and a description about the events. The ...
T.P's user avatar
  • 11
2 votes
1 answer
88 views

Retrieve JCH CSS file from outside Joomla?

JCH outputs the combined and compressed CSS file as: /media/plg_jchoptimize/assets/gz/1/0/21258391ff538dceaca26d18cb55cb1b.css Since this is a randomly generated link every time JCH refreshes the ...
Michael Yaeger's user avatar
1 vote
1 answer
50 views

onAfterModuleList not triggered in Home or in Wrapper menu type?

I got a plugin that uses the onAfterModuleList event, it works fine on most menu types. But it doesn't seem to be triggered in neither home or wrapper menu types. Event though there are modules ...
edger's user avatar
  • 23
1 vote
1 answer
237 views

Redirect on extension plugin with onExtensionBeforeInstall

i've created an extension plugin and i'am having issue to redirect on the trigger onExtensionBeforeInstall Here is my code : class plgExtensionExample extends JPlugin{ function ...
remi leclercq's user avatar
2 votes
2 answers
61 views

How class work without make instance of it in joomla?

In Joomla when we develop an extension we make some class that extends another class like JModule or JPlugin and we have to use the naming convention for name it for example when we make a plugin we ...
hhgh4269's user avatar
1 vote
1 answer
1k views

renderField with fields from custom plugin

I need to expand the functionality of the registration form. Following some tutorials and the sample profile plugin I was able to use the onContentPrepareForm to add the new fields. Now the second ...
chavab_1's user avatar
  • 195
1 vote
2 answers
707 views

Joomla 3.7 change value in database after form button press

I want to do something really simple, but have to use Joomla what makes it probably complicated because I have less experience in Joomla development. I have field with a value (a number) which is ...
Patrick Münster's user avatar
4 votes
1 answer
901 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
Matej's user avatar
  • 123
3 votes
2 answers
328 views

Adding custom fields to core components based on category

I created a plugin to add custom fields to the joomla com_content core. I add the fields to the backend and frontend. Now the new tab is shown on every post but i want to show the tab and the fields ...
public9nf's user avatar
  • 265
0 votes
1 answer
280 views

Translate custom messages

I have a system plugin that will let a user set and display some custom messages to users. As those messages are not available in a language file (are not static strings) how can I be able to allow ...
n.h.'s user avatar
  • 871
0 votes
1 answer
236 views

How to remove rel="nofollow" with Joomla Buffer?

I am developing a plugin to get rid of any rel="nofollow" on HTML links using a buffer, but its not working. I am testing it with a nofollow link on a Custom HTML Module. I thought that "JFactory::...
user1967509's user avatar
1 vote
2 answers
329 views

Joomla plugin - replace placeholders with dynamic content in article text

Based on the this tutorial https://docs.joomla.org/J3.x:Creating_a_content_plugin, I managed to write my first content plugin with this helper.php code: $regex_cat = '/{reillorama:(.*?)}/i'; ...
Peter Reill's user avatar
4 votes
1 answer
835 views

How to save data from subform fieldtype in joomla 3.7 custom field

I made a subform repeatable fieldtype custom field plugin to integrate with the custom field extension in 3.7x, and it works correctly to display the the fields during article submission. However, the ...
Kumar  Sara's user avatar
2 votes
1 answer
4k views

How to show previous/next buttons in my articles?

I'm using helix3. my website is 1PSD.net. how to put a button "next" in bottom my pages?like this picture? I mean, not button "READ MORE". I want multiple pages similar the left ...
yaHosseinDS's user avatar
2 votes
2 answers
325 views

How can I ensure a plugin update is compatible with my current Joomla installation?

I'm new to Joomla, so please forgive me if this is obvious. I have done some searching and I am competent with Wordpress so I'm hoping it's not! I'm currently running 3.4.8 and when updating certain ...
Grant Ab's user avatar
1 vote
1 answer
242 views

Adding fields to user group admin form

I am trying to write a Joomla plugin to add fields to the user group admin form. I have previously written plugins that have added a new tab to the user form. This is possible by having a plugin with ...
Simba's user avatar
  • 610
0 votes
1 answer
147 views

Can't get ARK editor to replace Tiny Editor

I have Joomla 3.5 on Windows pro 7. I went and downloaded Ark Editor. Extention Manager says it is successfully installed. Go to global configurations to activate, but is not showning in drop down ...
Dennis Montgomery's user avatar
2 votes
1 answer
277 views

Is there an event for saving a menu item?

I'm trying to create a plugin that fires when a menu item is saved, but I'm having trouble finding an event to listen to. Sor far I have function onContentAfterSave() { ...
ContextSwitch's user avatar
0 votes
1 answer
312 views

Validate plugin data before saving successfully

I am developing a plugin. I have one textbox. When I give some value in the textbox and click on "Save" button, the value of the textbox should be validated by sending a curl request. If it is not a ...
Karthic Keyan's user avatar
1 vote
1 answer
336 views

JForm::addFormPath to load Template path

I Have a plugin and I have the Following code working fine: if ($this->params->get('thepath') == 'plugins'){ JForm::addFormPath(JPATH_PLUGINS.'/system/add_xml_fields/'); } I ...
Uziel Almeida Oliveira's user avatar
0 votes
3 answers
350 views

How to remove specific articles from blog view using a plugin custom code. Its possible? How?

I would like to prevent some specific articles from being shown on com_content blog view and featured articles view. For example, if the article has a specific ID that I seted on code like "27" he ...
user1967509's user avatar
1 vote
1 answer
56 views

Logout within plugin interfering with other plugins

I have a user plugin which performs some tasks and then logs the user out using $app->logout($userID, []);. This is intentional and part of the plugin's functionality, and works well if no other ...
Simba's user avatar
  • 610
2 votes
1 answer
102 views

Change 'Help' button url inside plugin

Is it possible to change the 'help' button url inside a plugin (that I am developing) to get the documentation from my site? I managed to add not replace, with JToolbarHelper::help()
n.h.'s user avatar
  • 871
1 vote
3 answers
1k views

I need extension to create popup

I'd like some advice. which extension is recommended for anyone needing to open an html page in a pop-up after clicking on an image?
nicovon's user avatar
  • 85
2 votes
2 answers
403 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 ...
Maverik Minett's user avatar
1 vote
1 answer
433 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 ...
Арсен Гоян's user avatar
2 votes
3 answers
3k 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....
Simba's user avatar
  • 610
1 vote
2 answers
449 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} ...
Kuubs's user avatar
  • 345
1 vote
2 answers
470 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 ...
Kuubs's user avatar
  • 345
2 votes
1 answer
1k 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 ...
Teju Desai's user avatar
0 votes
2 answers
234 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 ...
Brijesh Savaliya's user avatar
2 votes
1 answer
38 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..
Teodor Bochev's user avatar
0 votes
1 answer
531 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 ...
Dtorr1981's user avatar
  • 532
3 votes
1 answer
684 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 ...
Daydah's user avatar
  • 133
4 votes
1 answer
1k 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 ...
xavip's user avatar
  • 273
3 votes
2 answers
283 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 ...
Daniel Dekany's user avatar
2 votes
1 answer
2k 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 ...
n.h.'s user avatar
  • 871
1 vote
1 answer
214 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!
Amirali Panjwani's user avatar

1 2 3
4
5
9