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
2
votes
4 answers

execute sql query in joomla

Hi everyone I did a component for back-end in joomla 2.5, but I have problem to execute the sql query, my variable is empty so it don´t show me nothing. I have other file and documents, but here the important for my question. first in my…
user852610
  • 2,205
  • 7
  • 36
  • 46
2
votes
1 answer

uplodify not working in joomla 2.5

I developing one gallery-component in joomla2.5 using uplodify I have used the following code in view of my_component $session = & JFactory::getSession(); $document = &JFactory::getDocument(); …
Hardik Raval
  • 1,948
  • 16
  • 29
2
votes
1 answer

Component Pagination for Joomla 2.5

I am writing a new component for Joomla 2.5 and I am having problems wrapping my head around paginiation on the frontend(user site). I have looked at the core component (com_content) to see how they do it and I am still unable to replicate the same.…
2
votes
2 answers

Register Joomla 2.5 component manually in the database

How can I register Joomla 2.5 components manually in the database? because table structure is different than 1.5 version. In 1.5 components can be added to jos_components table. Now, it seems prefix_extensions table. Can anybody tell what are the…
Shaolin
  • 2,541
  • 4
  • 30
  • 41
2
votes
2 answers

invoke a view-method from a controller task joomla

I am trying to create Joomla2.5 component via MVC. I want to direct controller to mydisplay() method defined in view.xml.php from task=jump in entry point. Thanks. /ROOT/components/com_api/views/api/view.xml.php
nuthan
  • 465
  • 2
  • 5
  • 19
1
vote
2 answers

Tutorial code is not working any more in Joomla 2.5

I followed a tutorial from the Joomla developer wiki (http://docs.joomla.org/Developers#Developing_a_Model-View-Controller_.28MVC.29_Component_2) to create a Joomla component. It all worked fine in Joomla 1.7, but when I upgraded to Joomla 2.5 the…
Peter Fortuin
  • 5,041
  • 8
  • 41
  • 69
1
vote
1 answer

Output Joomla subform

OK, I have tried the info from another suggestion on stackexchange, but I seem to be missing something. I have a subform in an admin view for a component I am working on (they were previously repeatable fields). Admin works perfect, but I am having…
1
vote
1 answer

how to change content of template postion by a component in joomla

what i need is, when component run,component change content of position. for example when url is: index.php?option=com_test , content of position 'left' = test and when url is: index.php?option=com_users, position show default data by modules. i…
MJH
  • 653
  • 2
  • 14
  • 36
1
vote
2 answers

Call to a member function publish()

i have created a joomla component and when i click on publish and unpublish button in admin then i am getting such error. Fatal error: Call to a member function publish() on boolean in ...\libraries\legacy\controller\admin.php on line 209 Please…
1
vote
2 answers

How to display an php object using jquery

I'm developing a joomla component and i'm using AJAX on my view for fetching database table content by sending get request to controller and then by creating a data object of model i called the a function in my model which in turn returns a JSON…
shivam gupta
  • 337
  • 2
  • 4
  • 18
1
vote
3 answers

How to create router for a component in joomla?

How to create router file for a component of joomla. I am using Sef url in particular
kailash Chandra
  • 279
  • 5
  • 13
1
vote
1 answer

How to add link to user registration inside toobar in admin joomla 3 custom component

Im trying to write component admin side and i need to add user creation. Dont want to duplicate existing codes just add a link. I know how to add a task but not a simple link to that toolbar. Thx for help.
1
vote
0 answers

Joomla3.x component curl JHttpTransportCurl

I'm developing a component require to use a management software api, which is using curl to accessing the data in that software. However, it seems joomla restrict the curl access, because the api working fine without the joomla. When in joomla it…
user3508896
  • 45
  • 1
  • 8
1
vote
2 answers

Artio Booking is not compatible with Joomla 3.3.6

errors in Artio Booking with Joomla 3.3.6 Fatal error: Declaration of TableReservation::bind() must be compatible with JTableInterface::bind($src, $ignore = Array) Fatal error: Declaration of TableSubject::store() must be compatible with…
mohit
  • 1,878
  • 1
  • 16
  • 27
1
vote
1 answer

Joomla MVC Component - Updating Database Record With File Upload

So I find this a little weird because the DB field was updating without much effort on my part, until I started writing in file upload functionality. Now the database doesn't seem to be updating, but the file upload is working. Everything seemed to…
dustin
  • 23
  • 5
1 2
3
12 13