Questions tagged [joomla-component]

Joomla Components are the main Joomla extensions, which provide vital functionality for every Joomla website. They are usually displayed in the center of the page.

Joomla Components define the most vital parts of Joomla page functionality. While a Joomla site may exist without modules or plugins, it could never work without components.

Some components are hard-coded into Joomla, like com_content, which provides the basic Article functionality, or com_users which provides the interface into managing Joomla users. The com_installer is the component responsible to allow for new extension installations.

If you are inexperienced in developing Joomla extensions, you may start with modules or plugins, before getting into components.

For the more experienced, you can read how a component works, here.
To start creating your own component, you can go here.

182 questions
0
votes
0 answers

XREF table broken when creating PDF file in Joomla component

When importing and modifying a PDF file inside a Joomla component using the FPDF and FPDI libraries, after sending the file to the browser, the PDF viewer claims the XREFS table to be broken. Here's part of what I have:
TomS
  • 467
  • 9
  • 25
0
votes
1 answer

Simple Joomla form without database

When creating my first homebrew Joomla component, things were working pretty fine ... until now. I would like to create a form which lets the user enter some data. After clicking submit, the data is saved in the model. Immediately after that, the…
TomS
  • 467
  • 9
  • 25
0
votes
0 answers

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()' function in 'view.html.php'. I am expecting the…
Adam-KER
  • 67
  • 9
0
votes
0 answers

Joomla - PHP session in joomla disappears

I have a problem, I hope that you can help me: I programing a litle component and module in Joomla. This component and module read a variable of php session (this variable is set before for external php script). External php script: define(…
mreig
  • 177
  • 1
  • 3
  • 11
0
votes
1 answer

Joomla Call another Model and fill data

I am Developing a Joomla Component for Joomla 3.x. The Component is for Accounting and managing Properties. In property view i've made a button where it goes to another view, for uploading a File. I've given the object ID in the URL, but this is a…
0
votes
0 answers

custom form field 'province/state' for dynamic dropdown in Joomla

I am trying to create a custom form field naming as city. On select of country field, city field should populate options of all the provinces listed under the selected country. Just exactly as the Joomla documentation. I am following…
Rajesh
  • 30
  • 7
0
votes
0 answers

Joomla component publish/unpublish option not working in front-end

I have custom created Joomla component on my website, when I trying to unpublish some item of this component, seems that everything is OK, but in the front-end the unpublished item is still visible. My Joomla site is vj3.8.8, but I have the same…
0
votes
1 answer

How to Make Joomla 3x Custom Toolbar Button Work

I am trying to add a couple of custom toolbar buttons to my component, and at the moment the buttons are showing alright but can't get them to work. My main problem is how to pass the id variable from the view layout to the sub-controller to perform…
David Addoteye
  • 1,587
  • 1
  • 19
  • 31
0
votes
1 answer

Where to Place Navigation in Joomla Component Development

I am developing a component 'com_datamanager' with an "Admin Dashboard" using ElaAdmin HTML5 Admin Dashboard Template. I have been able to create a simple component with multiple views without the dashboard template and it works. But now I am stuck…
David Addoteye
  • 1,587
  • 1
  • 19
  • 31
0
votes
1 answer

Undefined property: stdClass::$contactno in C:\..\..\Joomla\administrator\components\com_helloworld\views\helloworlds\tmpl\default.php on line 92

i add a contactno field in helloworld component backend. i add a no. of line code same as a Adding categories. the files loactions: admin/sql/install.mysql.utf8.sql... i add a contactno field admin/models/forms/helloworld.xml... i add a contactno…
Kishor Admane
  • 59
  • 1
  • 11
0
votes
1 answer

Joomla component title

I am not joomla developer. I am using some free component but can't change component admin page title. Can you please help me to change the title of the component? Please see the attached screenshot.d Thanks.
Mahmud Sabuj
  • 3
  • 1
  • 4
0
votes
1 answer

Joomla Component: View: Get values from field

I'm new to Joomla, especially to component development. Anyway, here's my question: site\views\plaingallery\tmpl\default.xml
Erando
  • 811
  • 3
  • 13
  • 27
0
votes
1 answer

ALL SQL-Update-Files will be executed when performing Update

In my update package I have a folder with some SQL-Files. There are all update file stored. install.sql update-00.sql update-01.sql update-02.sql update-03.sql update-04.sql update-05.sql update-06.sql update-07.sql When update from a version 04 to…
DreiBaer
  • 61
  • 1
  • 8
0
votes
1 answer

Joomla 3.x component update config to database

I have just started using Joomla and I've been following the create a Hello World component tutorial. After some major headaches and starting over and over again, i'm finally getting somewhere I now have a working component and in my component…
AdRock
  • 2,959
  • 10
  • 66
  • 106
0
votes
1 answer

Joomla com_users component unable to load some templates

I have modified the users component of Joomla, specifically the file components/com_users/controllers/profile.php and included some custom templates in components/com_users/views/profile/tmpl It is mostly some forms which I am submitting and then…
zaffer
  • 446
  • 2
  • 8