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

Joomla component include php library, not working

i'm trying to include a php library into my component front-end, however, when i try to declare a object, it shows error: class not found. here is some code: (in model) require_once(JPATH_COMPONENT_SITE.'/assets/php/phplibrary.php'); $myclass =…
user3508896
  • 45
  • 1
  • 8
0
votes
2 answers

Joomla component include JavaScript, pop error

I'm new in Joomla, I have try to build my Joomla component, however, when I try to include Jquery ptTimeSelect library into front end it shows javascript error Uncaught TypeError: Cannot read property '_doCheckMouseClick' of undefined I did a…
0
votes
1 answer

cant call getModel from controller

I'm developing a component for Joomla 3.x and I'm having a problem with JControllerLegacy getModel. When I try to call it from within my controller.php in the dispaly function of the class CasehandlerController it breaks execution with no erorrs,…
FroboZ
  • 437
  • 1
  • 6
  • 17
0
votes
1 answer

How to use location.path with angularjs rather than $http.get

Hi I am working on a angularjs app. This is actually embedded in to joomla. The URL that caters the json responses keeps changing based on the menu item clicked. For…
Jai
  • 97
  • 2
  • 14
0
votes
1 answer

How can override the view files of the componenet in joomla

I using the ARI Quiz lite for online quiz. i need to orverride view of quiz listing, but i dont know how to do this. I tried to override listing file /components/com_ariquizlite/view/quiz_list.html.php to…
Raj Mohan
  • 543
  • 9
  • 25
0
votes
2 answers

Need to create an module to display datas of component in joomla

I am an newbie to Joomla. I have created an new component with help of this http://joomlacomponentcreator.codelydia.com/ website. Now i need to get the values from component and display it in fronted with help of module. Similar to banner…
Sangeetha Mani
  • 71
  • 1
  • 1
  • 5
0
votes
1 answer

Joomla - Error during store data in Joomla component

I am extending one Joomla component for Joomla 3. I can retrieve data but during storing data I am facing this problem: Table budget not supported. File not found. My table name: vaccount_budget . My model: budget.php class VaccountModelBudget…
user3850712
  • 123
  • 10
0
votes
1 answer

Joomla insert elements in articles with component

I need to insert a URL/button in every article but I need to do this from a specific component, without modifying the existing Joomla components. I need somehow to override the content output and append the necessary elements. Is this possible?
dchivu
  • 11
  • 3
0
votes
1 answer

Custom Joomla 3 Button task not executing in my controller

I am trying to upload an external list of "groups" to add to my custom Joomla 3 component. I have created a CSV file and written a few functions that I hope will do it. I have created a custom button to start the task in my "groups" view. When I…
Lee Wiggins
  • 351
  • 3
  • 11
0
votes
1 answer

how to add a remove button to file upload in joomla?

i'm new in coding joomla components i'm coding my first component at all and starting my knowledge from 0 in PHP in my component i have 4 file uploaders (3 for images/pdf/etc.. and 1 for videos) and i would like to add a button to remove the file in…
0
votes
1 answer

Joomla k2 template override

I want to create template override for k2 item view.... I have a little problem (little, I think)  I want to put extra fields next to the item image.. (in item view).. I trying it but not working properly.. If any one know how to do it help me. See…
0
votes
1 answer

Joomla: get items modified on setState method

I have a component on two websites. When an user insert, update or delete an item in the first website, the same action must be performed on the second website. I made that using the postSaveHook() method: when an action is performed in the first…
FlavioEscobar
  • 839
  • 1
  • 12
  • 19
0
votes
1 answer

Add CSS in Joomla after template CSS or before head close tag

I developed a component for joomla 3.2 and I am adding a CSS file. my_component/views/my_view/tmpl/default.php: $document = JFactory::getDocument(); $document->addStyleSheet("components/my_component/static/css/my_css.css"); It works, it is loaded…
Mikel
  • 5,902
  • 5
  • 34
  • 49
0
votes
1 answer

Joomla 3 component: create Menu/menu items during installation

Is there a build in way to create a menu/menu items (FRONT-END!) during installation of a component? This is not about the .xml file in the tmpl folder!. What I'm after is to have a Joomla 3 menu (plus menu items to my views) ready to use after I…
Andreas
  • 681
  • 1
  • 8
  • 16
0
votes
0 answers

How should I adjust function call when moving from view to controller?

My understanding is that when building an MVC component for joomla we should keep the custom functions in the controller PHP file for that view. I was quickly building up a view on a component and have the following function working in the view to…
codacopia
  • 2,369
  • 9
  • 39
  • 58