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

Overriding Joomla 3.0 components. Possible to override model and controller too? Not just views?

I understand the ability to overide core views in Joomla using overides, but how about the models and controllers? I would like the ability to add a field to the core user registration form, but Joomla pulls all the fields from an xml located in the…
cclark413
  • 425
  • 3
  • 13
0
votes
2 answers

Joomla 3 custom plugin installation: add a folder with images from zip to images folder

My custom plugin needs add a folder with images in "images" folder of joomla. Is this possible and if yes how can i tell my install script to take this folder and copy it in images path?
0
votes
1 answer

change a GET method URL to SEO URL in Joomla 3 component

I want to send a parameter form a module to a component in Joomla 3 (it's a date to show its articles). So I send the date by GET Method like this: list…
user3307827
  • 556
  • 1
  • 7
  • 20
0
votes
2 answers

Bind Javascript event to JOOMLA MCE editor

Any Expert may please respond Till now what I dig out about JOOMLA editor is that it belongs to tiny MCE It uses iframe with contenteditable body tag. Now what i am trying to do is to attach keyup event to body of iframe. But unsuccessful. What I…
arslan
  • 565
  • 1
  • 7
  • 25
0
votes
1 answer

How to set parameters in menu Item Joomla Component

Following is my code.
Umar Bukhari
  • 91
  • 1
  • 6
0
votes
1 answer

Using opendir with PHP Pages Component for Joomla 1.5

I have a website running on Joomla! 1.5 (can't upgrade because of template issue). On this site, I have a page where members can find some important files, needed for the membership in our club. I arranged these files in some folders, all using the…
BlueCacti
  • 9,729
  • 3
  • 20
  • 24
0
votes
1 answer

Getting values from form into table (joomla)

I am learning Joomla! and I am building my first component. My problem is now that I have a form that needs to store data in the db. All is working right up until that point. The table that my form is using is not getting any values. So all that is…
Jim
  • 995
  • 2
  • 11
  • 28
0
votes
0 answers

Joomla component how to avoid refilling the password field

protected function postSaveHook(JModel &$model, $validData = array()) { // Get a handle to the Joomla! application object $application = JFactory::getApplication(); $date = date('Y-m-d H:i:s'); if($validData['date_created'] ==…
user3016968
  • 99
  • 1
  • 4
  • 10
0
votes
1 answer

Component install in Joomal2.5 - JInstaller: :Install: Cannot find XML setup file

I am newbie to Joomla! I am trying to install simple hello world component into my local site by referring this site. But the warning is coming as below: JInstaller: :Install: Cannot find XML setup file JInstaller: :Install: Cannot find XML setup…
Dhasneem
  • 4,037
  • 4
  • 33
  • 47
0
votes
1 answer

Joomla3 component add additional registration fields

I am currently creating a shop-like component for Joomla 3. For this component, I will need some additional user-fields (Address) for the processing of the order. My question is as follows: What would in your opinion be the best way to achieve…
Xavjer
  • 8,838
  • 2
  • 22
  • 42
0
votes
0 answers

Front end editing in custom joomla module

i want to write a module which shows a menu for a restaurant. I don't want that my customer needs to do anything in the backend. If the User is logged in, every Menu point should have an edit button. If it's clicked, a little div pops up where the…
0
votes
0 answers

How to link multiple tables in Joomla 2.5 Component?

I am trying to create a component which uses 3 tables in the database. I want to link the first table with the second one, then second with third. To be more precise, consider this : Category: id, name Sub category: id, category_id, name Sub sub…
0
votes
1 answer

Joomla - Newly added usre register field value is not in the getUser()

I've added new field call user_type to the users table in joomla 2.5 user component. And updated 'libraries\joomla\user\user.php' file and .xml file for the new filed. When I register with new filed it will work fine and update the new database…
Miuranga
  • 2,463
  • 10
  • 51
  • 81
0
votes
0 answers

custom component: retrieve filter in view object

In my custom component... I display a list of countries as links and an extra-link called "dogs" once a country is clicked, a list of persons in that country is displayed (view: persons), by adding a filter country in the model. if "dogs" is…
michi
  • 6,565
  • 4
  • 33
  • 56
0
votes
1 answer

Joomla postSaveHook set jform

Im busy with an image moving function so im overriding some controller functions, and unfortuantly i required the items id for the image name so i changed form save() to postSaveHook() as i was not able to get the item id in save() but now im facing…
user1278673