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

What is url for calling task in controller for Joomla 4?

This is my ajax query for calling a task in the controller (it works for Joomla 3 but doesn't work for Joomla 4): $.ajax({ type: "POST", url: "index.php?option=com_scrib&...
0
votes
0answers
21 views

An error has occurred. 1062 Duplicate entry '0' for key 'PRIMARY' Return to Control Panel?

I have been trying to add a new post from few days using the EasyBlog component in my Joomla 3.9.24 site, but I am getting anerror after clicking the add new button from the Joolma backend. I can't ...
0
votes
2answers
26 views

Which content is generated first? component or module?

I have a page with modules and components from the same extension. I made some customizations to the component's template file so when the page loads it gets the current user's avatar from some ...
0
votes
1answer
28 views

Interaction between two different components

I am building an online forum with EasyDiscuss. In a social login component, I am able to get user avatars from Facebook/Google. Now I want to save these avatars to EasyDiscuss users. EasyDiscuss has ...
3
votes
1answer
65 views

Techjoomla's API Module

I am trying to write a plugin to use Techjoomla's api component on my Joomla 3 site. Their documentation gives sample code which I am altering to fit my needs. I am trying to make a very basic API ...
1
vote
1answer
20 views

Doesn't find the component id when creating menu items during postflight step when installing a component

I'am working with the last git changes of Joomla 4.0. In my component, i create the menu items during postflight step when installing a component. The issue is that isn't able to find at this step the ...
2
votes
1answer
37 views

Using ProFiles Joomla Web Filemanager - it runs only with administrator rights

I want to use the Joomla component "ProFiles". I want to setup a usergroup which can up/download files. How must iI implement the call to the component - the way I'm doing it is as follows: ...
0
votes
1answer
25 views

Is Joomla a correct choice for a social medium with rankings of products?

I'm thinking about creating a certain website and I'm not sure if Joomla is a tool I could use and would be one of the best choices. I would like to create something like https://www.imdb.com/ , i.e. ...
0
votes
1answer
46 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 ...
1
vote
1answer
28 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 ...
2
votes
1answer
184 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() ...
1
vote
1answer
20 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 ...
1
vote
1answer
72 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 ...
0
votes
1answer
26 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 ...
-2
votes
1answer
31 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 : ...
0
votes
0answers
42 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: ...
2
votes
1answer
50 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 '...
2
votes
1answer
60 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 ...
1
vote
0answers
67 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:/...
2
votes
0answers
36 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 ...
2
votes
0answers
20 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 ...
0
votes
0answers
37 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 ...
0
votes
1answer
46 views

JoomlaBrowser (Codeception Module) Acceptance Test Issue

When trying to write an Acceptance Test doing this: $I->createMenuItem('New Link', 'MyComp', 'MyComp list', 'Main Menu'); I get this: Step Create menu item "New Link","MyComp",...
1
vote
1answer
66 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 ...
0
votes
1answer
69 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 ...
0
votes
1answer
76 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 ...
0
votes
1answer
94 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 ...
0
votes
1answer
61 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 ...
3
votes
1answer
74 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 ...
0
votes
0answers
62 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 ...
2
votes
1answer
57 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="/{{...
0
votes
1answer
64 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 ...
1
vote
1answer
26 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 ...
3
votes
0answers
96 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 ...
1
vote
1answer
53 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 ...
2
votes
1answer
108 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. ...
0
votes
2answers
42 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 ...
2
votes
1answer
223 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 ...
1
vote
1answer
39 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 ...
1
vote
0answers
24 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 ...
1
vote
0answers
89 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 ...
0
votes
0answers
25 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 ...
0
votes
1answer
307 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"&...
2
votes
2answers
143 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.
4
votes
1answer
369 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
76 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.
0
votes
1answer
42 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 ...
2
votes
2answers
158 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 ...
3
votes
3answers
734 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" ...

1
2 3 4 5
10