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

Pass parameters from view to model in joomla

In a joomla custom made component there are multiple posts on a page, and every post contains multiple comment, so in view i want to call comments by post id. please suggest a good method to make it working.
Zaheen Sayyed
  • 38
  • 1
  • 7
1
vote
1 answer

Joomla component development (version 3.3.3)

I have a component that I'm building in joomla that I want to render information from ONLY when the component is the calling agent. Example: I have a url http://domain.com/index.php?option=com_mycomp&view=myaccount from within there I want to have a…
Chad Caldwell
  • 274
  • 2
  • 12
1
vote
1 answer

Where to find documentation for form field types?

I'm getting frustrated with my own inability to find a source of information regarding what options / attributes are to be used when defining the XML file for a form in a component. The file I'm talking about might be located in…
Sloan Thrasher
  • 4,953
  • 3
  • 22
  • 40
1
vote
2 answers

joomla how to call back end function in form action at module

this is my file structure in my modules: /module/com_somthing
NeetaSoni
  • 11
  • 2
1
vote
1 answer

joomla3.2 - blank error when saving item with tags - self-developed component

I am developing a joomla3.2 component. In order to use tags, I have added the JTableObserverTags to my JTable, like so: class FoodAndDeliveryTableItem extends JTable { public function __construct(&$db) { …
Dimdum
  • 322
  • 2
  • 15
1
vote
1 answer

URL SEO-friendly JOOMLA

I'm using the K2 component for a site in joomla. When I click on an item created with K2 becomes the URL: "my_domain/component/k2/title_article". how do I do not see "/component/k2/"? In the global settings of joomla "Enable SEF URLs" and "Rewrite…
1
vote
1 answer

How to create custom User Group programmatically in Joomla 3.x?

I am writing a custom Component in Joomla 3.x. At a certain point of the component I need to create a Custom User Group under 'Registered' group in Joomla. After searching the web a lot, I found no solution of this problem.
Tareq
  • 1,999
  • 2
  • 28
  • 57
1
vote
1 answer

Joomla 3.2 - Load Component View from Specific Menu Item ID inside Another Component

I'm trying to get my head around Joomla 3.2's new framework and develop a capability/feature in a custom component (lets call it com_custom) that can load com_content's category blog view within com_custom's view, using the category blog's menu item…
Jamin
  • 11
  • 1
1
vote
1 answer

jNews installation giving database error in Joomla! 3

I have jNews installed in my Joomla! 3 site then I tried to install jNews 8.2.1 which is giving following SQL error: SQL=SELECT `akey` FROM `j17_acajoom_xonfig` After this error occurred, all other option of jNews is working fine EXCEPT…
neshpro9
  • 433
  • 3
  • 17
1
vote
1 answer

how to publish newly created component on front end in joomla 2.5

i had created a new component for first time. its back end functions are all working well. now i want to show that in front end. i created a new menu item and selects this new component but on front end when i clicked on my menu Error 500 with View…
user007
  • 61
  • 1
  • 2
  • 14
1
vote
1 answer

Joomla 3 deleteList remove Images

I am currently overriding Joomla 3's deleteList like so: public function delete(){ if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); $path = JPATH_ROOT; $path = JPath::clean($path. DS ."images". DS ."menu_slider". DS ); …
user1278673
1
vote
1 answer

Joomla 2.5 custom component: filter entries

In a custom component, in the site view, I display a list of countries, each as a link to another page, displaying persons living in that country. This is a link: index.php?option=com_example&view=persons&country=1&Itemid=131 What's missing: When…
michi
  • 6,565
  • 4
  • 33
  • 56
1
vote
2 answers

Can't Change layout in Custom Joomla 3 Component

I'm trying to get my Joomla 3 component to render the layout specified in the url but I can't figure out why it insists on displaying the test.php layout. All relevant code below and the url I'm using is:…
doovers
  • 8,545
  • 10
  • 42
  • 70
1
vote
1 answer

Joomla JFile::upload Issue

I'm developing a Joomla component, which should provide the functionality to upload files. I followed the guidelines from docs.joomla.org, and derived the following function: public function fileupload() { $jinput =…
1
vote
4 answers

K2 Captcha conflicts with core joomla captcha

I have been facing problem with user registration on my Joomla website. I have installed K2 as well. Its basically Captcha recaptcha which is creating problem and i am not able to fix it. I have enabled core joomla captcha recaptcha plugin. When I…
Rida Shahid
  • 386
  • 7
  • 22