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

Multiple components on a single page

Is it possible to show multiple components on a single page in joomla? I have 2 menu items, each one shows a different component, i want to show them both on the same page, is it possible?
0
votes
1answer
44 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&...
1
vote
2answers
21 views

Share code between component templates

In a complex component, there will be a number of /views/viewname/tmpl/default.php (or similar) files. It is quite likely that different views will share common features. Duplicating code is generally ...
1
vote
1answer
48 views

How does Joomla 4 decide a component is legacy?

What determines whether Joomla 4 treats something as a legacy component?
2
votes
1answer
67 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
1answer
28 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 for frontend part during postflight step when installing a component. The issue is that isn't able to ...
0
votes
1answer
80 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 ...
2
votes
1answer
260 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
0
votes
1answer
139 views

Restrict user to only edit its own items in zoo

I'm trying to restrict to each user to only edit its own items created in zoo but I can't achieve that. My steps was: Create user group fake group (inherit from public). Create level access fake ...
0
votes
1answer
45 views

Checkin When Moving From One Component Edit Screen to Another

We have built a custom Joomla! component that has multiple sections and edit screens. In many cases, our component pages are related to each other and it makes sense for users to move from one to ...
1
vote
2answers
44 views

Is there a way to FTP a particular component between joomla sites

I've been working with wordpress for so many years, and I've just been tasked with helping someone fix their joomla site. For some reason they didn't want to copy over the whole site to a dev ...
0
votes
1answer
125 views

Admin Component File Upload -> Cannot Get JInput to work

I am struggling to get an admin form file upload to work using JInput. I have tried pretty much every permutation of $input->files->get(''); I can think of with no luck. No matter what I do, it ...
0
votes
1answer
36 views

Trying to add subform field to existing component xml

I've added the following into my components XML file : <field name="activity_name" type="subform" label="Activity" description="" multiple="true&...
0
votes
1answer
211 views

Content History Component Not Found

I have a Joomla installation which is on 3.6.5 and working on upgrading to 3.7. While carrying out a test upgrade on a dev version of the site, I got presented with an error about the contenthistory ...
2
votes
1answer
39 views

Select articles to display in custom component

I have a custom component where I was to be able to select other articles to show in the frontend. I have thought the best way to do this would be through the SQL field. This is good that it gives me ...
2
votes
3answers
132 views

Where to read about Joomla 4 convention for class names

In a few answers on JSE and looking at the Joomla 4 tutorial on building a new component, I have noticed that the convention for class names appears to have changed, dropping the <component_name>...
0
votes
2answers
51 views

Run model function in view file to insert default value into sql

I am new to Joomla and received a half-done component. It is a mostly database-dependent component. The component consists of a SQL file that inserts all the data and is able to display it. I am ...
1
vote
1answer
42 views

Getlistquery Joomla conditional values

So I have a query in the getlistquery method of my model, except that it relies on data in another table, that sometimes is not filled. This gives me an error when that other data is not available. ...
1
vote
2answers
96 views

Best practices for Joomla - Get another model in a view from another controller

I need to get data from another model than the view specific controller/model into the view. But I'm not sure if the way I'm doing it now is correct. I do that via the following way in the view.html....
1
vote
1answer
53 views

JTable, new row doesn't get inserted with table->save method

I'm trying to insert a row with the table->save() method, but the method executes an UPDATE instead. There is no row available, so it needs to be inserted. Does anyone know how to get it inserted? ...
2
votes
1answer
515 views

Use Doctrine 2 ORM in Joomla 3.x when developing a custom component

I'm developing a component in Joomla 3 (I'm quite new to it). Because the database schema of the component is quite big, I think it's logical to use some ORM for DB abstraction, but I can't get up-to-...
1
vote
1answer
244 views

Dynamic component SQL parameter type

I'm looking to add a Component field which will display a list of Joomla users who have a relationship with current the Component item. Below is some sample XML where by I would like [current ...
0
votes
1answer
709 views

Can't see component in backend menu but can access it via a URL

I have a component called Fabrik installed on my site (running version 3.4.1) which works perfectly. Some months ago we migrated some content and other components across to the site from an older ...
-1
votes
1answer
284 views

Why are Fabrik packages not installing in joomla after packaging? [closed]

I just installed fabrik cck, which is good by the way, I then packaged my forms created in the localhost so as to reuse them in the live site. When I try to install, I get a blank page on this ...
0
votes
0answers
38 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
28 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
3answers
388 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 ...
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
71 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
2answers
4k views

Error "Fatal error: Call to a member function getKeyName() on a non-object", but without table?

I write a small component to export data from a shop component, this is my first component, i get the error "Fatal error: Call to a member function getKeyName() on a non-object PATH\legacy\model\admin....
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: ...
21
votes
4answers
14k views

Joomla 3.x extension development tutorial for a beginner developer

I worked extensively in Joomla 1.0.15 version and developed multiple extensions. Also, I continued my developed in Joomla 1.5.x But, my developed discontinued after this release. Now, I want to start ...
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. ...
8
votes
4answers
10k views

Custom Component - Need to verify if user is logged in

I'm developing new MVC custom Joomla component (com_helpdesk) and need to verify if user is logged in to site. If not then it should redirect to the login page with "return" parameter. Could someone ...
2
votes
1answer
267 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() ...
0
votes
1answer
49 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 ...
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 ...
-2
votes
1answer
33 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 : ...
1
vote
1answer
27 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
79 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
51 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
2answers
708 views

How to create one page Joomla site? [duplicate]

what is the good way to create one page Joomla site? I just need one or two module for each menu item. So, that would be okay with one page site. I have a thought using external link as menu item, ...
0
votes
0answers
45 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: ...
9
votes
2answers
5k views

How can I use a model of other component in my component?

I'm building a component and It needs access the #__content table. The component com_content does everything that my component needs to do in that table. How can I import the com_content models into ...
4
votes
1answer
432 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 ...
2
votes
1answer
65 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 '...
0
votes
1answer
337 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 ...
1
vote
0answers
84 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
41 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 ...

1
2 3 4 5
10