Questions tagged [component]

Components are the main functional units of Joomla!; they can be seen as mini-applications. An easy analogy would be that Joomla! is the operating system and the components are desktop applications.

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 views

Set Joomla cookie via cURL from external website

I'm trying to set up a cookie in Joomla from an external website using cURL. The process flow is as below: User does an action in external.com external.com cURL a URL in joomla.com joomla.com sets ...
Kabal's user avatar
  • 1
1 vote
1 answer
31 views

Install component via FTP, copy component from one installation to another

I have a weird and unfortunate situation. I use a certain component which the creator of it retires due to stage four cancer. This means that I cannot download the component anymore, but I do have the ...
Kuubs's user avatar
  • 345
2 votes
1 answer
753 views

Joomla 3.9.19 get the constants from global configuration in component display function

I have created a component and need to get a constant value in the component administrator and list the item according to it. I have tried different ways to get the constant value in the display() ...
Adam-KER's user avatar
1 vote
1 answer
84 views

How to set the username hyperlink to open the user's EasySocial Profile in Fabrik?

Now I am using Fabrik and EasySocial. Here is the table of Fabrik and the Label name "ADDED BY" is user name from Joomla User. When I click on username, it takes me to edit the record, but ...
Saovry Sok's user avatar
1 vote
1 answer
106 views

Sharing a MVC resources library between two components

Lets say my component is called dumbo. It contains all kind of MVC stuff and works well. Now i have a second component that is called jumbo. I need both components to share some models, controllers ...
Mike's user avatar
  • 341
0 votes
1 answer
637 views

How to get the category name by id in custom component view

I have a custom component where I have a category field in a view (backend). That gives me the category id in the front-end. Now I want to know how I could fetch the category name from this catid. I ...
TLWebdesignNL's user avatar
-2 votes
1 answer
38 views

SchuWeb Sitemap error: non-numeric value encountered

I'm trying Schuweb Sitemap (3.1) on two Joomla sites (3.9.21). I'm getting the same error on both sites: Erreur d’analyse XML : données incompréhensibles après l’élément de document Emplacement : ...
Gareth's user avatar
  • 1
0 votes
0 answers
94 views

Joomla - PHP session in joomla disappears

I am programming a little component and module in Joomla. My component and module reads a variable from the php session (this variable is set before for external php script). External php script: ...
mreig's user avatar
  • 1
2 votes
1 answer
118 views

How to migrate old J prefix classes to new Joomla classes

I am trying to migrating old classes names to the new ones available on classmap.php However after renaming the classes I am having these errors: Class 'Text' not found //JText works Class '...
Exprove's user avatar
  • 123
2 votes
1 answer
82 views

Is it possible to create a component "addon"?

I've created a component for handling a multitude of things for my clients, but I frequently get feedback that certain sections aren't needed or that additional sections are desired. The first ...
Chaosxmk's user avatar
  • 318
1 vote
0 answers
105 views

How do I upload images to a specific folder (Component Backend)

I would like to know how I upload files to a specific folder through Joomla Administrator Panel (My Component Backend). I know how to do it in the site part following along with this tutorial: https:/...
Thiago Guimarães's user avatar
2 votes
0 answers
125 views

How to get an AJAX call in component's administrator side

I added a component to my site and it accesses my DB via an AJAX call. In my 'tmpl' folder, I have a 'default.php' file which makes an AJAX call that is received by view.json.php just outside that ...
LaioZatt's user avatar
2 votes
0 answers
29 views

Using the SQL `Delimiter` statement in component update

For the next version of my component I need split some data into different tables, which requires some rather more complex SQL than I would usually use. The problem is that there doesn't seem to be a ...
glenatron's user avatar
  • 239
0 votes
0 answers
65 views

Adding a module from a component

I have a component that I want to use to add a module automatically. This needs to be achieved in the administrator area. My idea is to have a button in one of the component views. That component ...
user1616338's user avatar
1 vote
1 answer
110 views

Error saving an edit in a custom component `table_users` was not locked with LOCK TABLES

I'm getting an error when trying to save edits in my custom component. I have another edit.php that works well. I identified that the problem lies in the table file, specifically in the function ...
Thiago Guimarães's user avatar
0 votes
1 answer
149 views

How to override "Select an option" header for SQL and list fields

In my custom component, inside the forms, I have several list fields. Some are normal list fields, others are sql fields. All of these show "Select an option" as a header. I can't find the way to ...
TVBZ's user avatar
  • 213
0 votes
1 answer
147 views

How to group Component sidebar menu, or add headings?

In my custom component, I have a sidebar with several entries. These are added using JHtmlSidebar::addEntry(...), as described in Joomla Documentation. Most of these sidebar menu items will rarely be ...
TVBZ's user avatar
  • 213
0 votes
1 answer
159 views

Add text and link to fieldset in config.xml

In my custom component, I have some component configs in the standard config.xml file. There are multiple fieldsets (tabs), each one has its own description. I would like to add a line of text below ...
TVBZ's user avatar
  • 213
0 votes
1 answer
162 views

How to add js library on component installation

I have component which needs a slider. I`ve chosed carousel but how to add it in the frontend part of the component on installation ? Tried to put it in the administrator part but the scripts can't be ...
Toma Tomov's user avatar
3 votes
1 answer
77 views

Backing Up Live Site Using Akeeba

Joomla 3.9.15 I have been using Akeeba to backup my sites and it's very good. I've recently installed in on quite a busy site, users are regularly logging in and out of the front and back end, and ...
jonboy's user avatar
  • 3,543
0 votes
0 answers
108 views

How to override default.php for config.xml

I have component which has config.xml. It is render with the com_config/view/component/tmpl/default.php. I need to override this file in my component and create my custom layout. Red all the articles ...
Toma Tomov's user avatar
2 votes
1 answer
82 views

Joomla adds / to empty href and src attribute

I have a mustache template and the output via php is: <a href="{{link}}"><img src="{{image}}" title="{{name}}" alt="{{name}}"></a> but Joomla renders my output to: <a href="/{{...
Lovntola's user avatar
  • 344
0 votes
1 answer
164 views

Optional fields in renderFieldset

I'm updating a component of mine to use the renderFieldset method and remove some unnecessary code in the form template files. However, some of my fields show / hide based on other preferences in the ...
user101289's user avatar
  • 1,109
1 vote
1 answer
49 views

Akeeba Kickstart Restore Site and Restrict Access

I use Akeeba Backup and Akeeba Kickstart to restore my sites and it's great. I normally backup and transfer the .jpa files then extract manually, not via the transfer wizard. During the restoration ...
jonboy's user avatar
  • 3,543
3 votes
0 answers
190 views

Document Manager Recommendations

I'm looking for some recommendations for a document manager that's compatible with Joomla 3+. Seems to be a pretty popular question throughout the Joomla community. In the past I've always used Phoca ...
jonboy's user avatar
  • 3,543
1 vote
1 answer
134 views

Is there a way to remove component media files on update?

In my Joomla component I have a bunch of Javascript files in media that change on update ( basically a compiled Angular app ) and because of the way the system is structured, I need to only have the ...
glenatron's user avatar
  • 239
2 votes
1 answer
189 views

Transfer Custom Code to Module / Plugin / Component

Joomla 3.9.12 I've been using Sourcerer in order to place custom code throughout my site, it's working well so far. I've created a custom html module, within this I have added PHP, JS, HTML and CSS. ...
jonboy's user avatar
  • 3,543
0 votes
2 answers
47 views

How to tell if the file can be overridden?

How do we alter the output of a Plugin that is installed in a Component (Example: "ABC" plugin installed in a Component "ABCD")? I understand that the core files can't be overridden. But how do we ...
user2976317's user avatar
2 votes
1 answer
418 views

What is the reason pagination of records its not working?

Following the Developing an MVC Component / Basic backend guide, I can't make the pagination to work, following the instructions this is the code I have, the records are listed properly and the ...
user615274's user avatar
1 vote
1 answer
44 views

Add custom code to the controller from com_weblinks

I want to add analytics tracking code before the component com_weblinks jumps to an external site with task=weblink.go. The problem is the jump is in the controller.php file. An override for this ...
Lovntola's user avatar
  • 344
1 vote
0 answers
31 views

Failed deleting sourcerer_php - Joomla 3.x

I randomly get a warning notice on the front end of my Joomla! website and I really can't understand why. Failed deleting sourcerer_php_d72bnbv27u4bfkdpa01347flf8gfkl I checked my tmp folder on ...
KingUthil's user avatar
1 vote
0 answers
129 views

How to get SEF URL from JRoute when layout set in menu item

I've set up my component which has one view and several layouts. For each layout I've added a views/myview/tmpl/layoutname.xml file which sets the layout via a hidden variable, like so: <field ...
Dom's user avatar
  • 512
0 votes
0 answers
40 views

Jomres Country code and flag not corresponding

Country codes and flags do not correspond. Where can I change the country codes? I checked the mod-language (language switcher), but didn't find all the flags and countries. Is there another folder ...
nanar's user avatar
  • 1
0 votes
1 answer
564 views

Joomla 404 component not found (custom component)

I am trying to create a custom component in my Joomla backend, so I created this xml file: <?xml version="1.0" encoding="utf-8"?> <extension type="component" version="3.8.1" method="upgrade"&...
twan's user avatar
  • 129
2 votes
2 answers
240 views

How to hide <jdoc:include type="component" /> on the home page?

I am working with a unique template index.php file and want to remove the <jdoc:include type="component" /> because I don't want to display the empty space on the home page.
Ana Beatriz Dominguez Organero's user avatar
4 votes
1 answer
569 views

Joomla and Eventbrite Integration

I am looking for a way to integrate Eventbrite with Joomla. I want to show a list of upcoming events that I have created. There are a number of default widgets available with Eventbrite (copy / paste ...
jonboy's user avatar
  • 3,543
0 votes
1 answer
52 views

Remove tag association when deleting an item in own component

I followed the MVC Tutorial from Joomla as close as possible to create my own component. I included Joomlas Tags system within my component using the Observer technique in the JTable class class ...
Yosh's user avatar
  • 13
0 votes
1 answer
92 views

Accessing path to tmp directory in my component

How can I access in a custom component the full path to tmp directory configured in the Joomla configuration? I have changed the tmp directory to be outside of the Joomla! installation.
Maverik Minett's user avatar
0 votes
1 answer
52 views

How to write a complex installer script for a component?

I would like to ask the user some questions in a dialog way during installation of my component. As far as I know, this could be done in the preflight method. But I am not sure how to do user ...
Yosh's user avatar
  • 13
2 votes
2 answers
218 views

How to configure Eclipse Project for Joomla Component Development

I like to develop a fresh Joomla Component for Joomla 3.x in Eclipse and created therefore a simple PHP project. The problem I have is now how to setup the correct "include path", so that the basic ...
megloff's user avatar
  • 121
3 votes
3 answers
1k views

How to execute an ajax script to update form fields in an .xml file rendered by Akeeba FOF?

I would like to populate the "Owner" select option list by SELECTing the owner column from the #__gscrm_accounts table WHERE the gscrm_account_id (primary key) is the selected "Person or Business" ...
mickmackusa's user avatar
  • 4,761
-1 votes
1 answer
124 views

Simple plugin to check folder contents on component update

I'm wanting to make a very simple plugin. All it needs to do is On installation of the plugin, copy a folder to a particular component's library folder. When a particular component library is ...
Healyhatman's user avatar
1 vote
2 answers
653 views

How to set noindex on components

Anyone who can tell me how I can disable the component users to provide search engines the noindex, means: <meta name=robots content="noindex" /> for example in all Joomla instances, the URL /...
laendle's user avatar
  • 181
0 votes
1 answer
424 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
user9530's user avatar
0 votes
3 answers
477 views

How to add a CLI file to the /CLI directory as part of a component install

I have a component that needs a CLI file for use with cron. Is there a proper way to use the components manifest file to specify that the component includes a CLI file and that CLI file should be ...
Dom's user avatar
  • 512
2 votes
1 answer
183 views

Adding Additional Fields to Admin Component

I'm using Joomla 3.9.1 and SP Simple Portfolio v1.6 I would like to add some additional fields to the SP Simple Portfolio component. Image of current fields (taken from Google); How can I add ...
jonboy's user avatar
  • 3,543
2 votes
1 answer
67 views

Why are methods randomly placed in models as well as controllers in Joomla

I am quite new in Joomla. I have now understood the components, modules, templates thing and can also build modules and simple components. But the one thing that has always confused me in Joomla is ...
Kush's user avatar
  • 123
2 votes
2 answers
11k views

Simple AJAX call to a component giving 403 (Forbidden) error

Disclaimer: I'm pretty new to Joomla and web-development, so I probably am making a dumb beginner mistake. So far I've worked through much of the MVC tutorial in the Joomla documentation, and I've ...
William's user avatar
  • 299
1 vote
2 answers
412 views

How to hide grey 'button bar' in administrator component view

Is it possible to hide the grey bar where buttons would normally go in an administrator view of a custom component? The grey bar shown below: I have no buttons to show, so don't want it to take up ...
codinghands's user avatar
  • 2,295
2 votes
1 answer
68 views

MVC what stage sets a task if none provided

I am trying to understand Joomla's MVC logic. please help me figure out the processing of the task Unedited code from a Joomla package has the front end article edit form with the task field, but its ...
IberoMedia's user avatar

1
2
3 4 5
11