As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [component]

Components are the main functional units of Joomla!; they can be seen as mini-applications. An easy analogy would be that Joomla! is the operating system and the components are desktop applications.

Filter by
Sorted by
Tagged with
7 votes
2 answers
4k views

Get full link from menu item field type

I am developing my own slideshow component and module for Joomla. The component is used to select the slides along with captions and links etc. The module shows the slides. In the component, for each ...
DesignSubway's user avatar
2 votes
1 answer
43 views

Using the Joomla Extension manager to support component add ons

Is there some sort of API available to trigger an install through the extension manager? The reason I ask this is allowing a component to install add ons though its administration is handy, but it ...
Jordan Ramstad's user avatar
3 votes
1 answer
3k views

How to get the form of component from module?

I tried to get a component form from my module. I got the model and then tried to get the form, but the result was empty. I tried to define 'JPATH_COMPONENT' and it was useless. define('...
aspirisen's user avatar
  • 183
3 votes
4 answers
1k views

How to retrieve unique values before a parenthesis in JFormFieldList Filter query?

I have a JHtml custom filter populated by a JFormField extended class. It is added in the view with the following code: JHtmlSidebar::addFilter( '- Select Height -', 'filter_height', ...
doovers's user avatar
  • 499
1 vote
2 answers
1k views

Facebook share with intro and link back to site

I'm looking for a way to add a Facebook share button to my Joomla 3.X site that will add the following to Facebook. Article Image Article Title Link back to article url This image shows the '...
Mr. B's user avatar
  • 121
2 votes
2 answers
4k views

Calling model from view error: Fatal error: Call to undefined function

I am just starting with Joomla component development and MVC in general. Im also not incredibly strong in PHP but I am trying to build a component that gets json and displays it as a jQuery accordion ...
John's user avatar
  • 31
10 votes
1 answer
426 views

Adding Tags Functionality To Existing Component

I'm looking to get tags working inside of an extension. I saw this and have gotten the field to appear in the edit view, but of course it doesn't save anywhere. Looking at com_content article tag ...
Milton Bryant's user avatar
5 votes
2 answers
3k views

How does the form submission with views / tasks actually work?

Hi I have a question about Joomla forms. I want to understand how Joomla works internally, especially I'm interested in com_installer component to know how it's working. And I found a form in default....
Bogdan's user avatar
  • 53
7 votes
1 answer
253 views

Joomla! CMS Component with Joomla! Framework?

I'm curious about building CMS components on top of the Joomla! Framework mainly because I would like my components to function as standalone applications. Is this doable without hacks? If not, is ...
Nestor Ledon's user avatar
0 votes
1 answer
255 views

Is there any chance FOF become the default way of do things in Joomla?

Joomla has several MVC classes (model, view, controllers, table etc). Now we have the FOF classes in library that can be used instead the default joomla classes in our components, but I don't see them ...
csbenjamin's user avatar
1 vote
1 answer
231 views

How do I change how many contacts to display?

When I make a menu item for com_contacts > All contacts in a list, I want to show just 5 contacts and use pagination for the rest. Where is the parameter for the # of contacts to be displayed?
user86's user avatar
  • 7
7 votes
1 answer
3k views

How should I use view.raw.php properly

I'm trying to add a custom JToolbar button to my list view that will export the list contents to excel. I created a new task in my list controller to render the raw view class in a file called view....
doovers's user avatar
  • 499
7 votes
1 answer
346 views

Understanding mvc way of component coding for both joomla 2.5 and 3 version

I made a component in joomla 2.5 in mvc way which was not working in joomla 3, later found out it's because in joomla 3 previous mvc classes not working so is controller, view, model classes must be ...
dev-m's user avatar
  • 1,341
10 votes
2 answers
4k views

Adding joomla's default toolbar in a component view page

I am developing a mvc component for both joomla 2.5 and 3.In many components i saw they added joomla's default command buttons like new, edit, publish, trash, options at top of their settings page in ...
dev-m's user avatar
  • 1,341
2 votes
1 answer
938 views

Error when calling getItem method of external model

I'm using a model of other component in my component. I'm following this solution. But, when I try to call the getItem method of the model I get the error "Call to a member function load() on a non-...
csbenjamin's user avatar
2 votes
3 answers
299 views

Correct manner of using View- and Model-Abstracts in Joomla 3+

There are a lot of API changes in Joomla between 2.x and 3.x versions. In development of Joomla 3-components I still use the legacy class abstracts: jimport('joomla.application.component.view'); ...
frthjf's user avatar
  • 135
2 votes
3 answers
1k views

fsockopen(): unable to connect to :80 component installation error

While installing a custom component the following error occur. fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
kumarramalingam's user avatar
2 votes
2 answers
154 views

Hide Components with no admin interface

I have been working on a component for quite some time now, it is meant to be more of link accessible library then a component though (its for form processing). Basically it needs no settings to be ...
Jordan Ramstad's user avatar
12 votes
3 answers
4k views

Best method to check if a component is installed/enabled?

Between joomla 2.5 and 3.x what is the best way to check if another component is installed and/or enabled? There exist a helper class called JComponentHelper but I believe the isEnabled function will ...
Spunkie's user avatar
  • 887
11 votes
9 answers
6k views

How to create page only with modules and no component?

In joomla, I need to link every page to a component view. How can I create a page with no component output on it? Example : On my home page I only want a module output. For this, I can link the home ...
web-tiki's user avatar
  • 1,371
6 votes
2 answers
955 views

Override a component view for a specific menu item

How can I override the component view for a specific menu item? For a global overwrite I can use template/html/com_xxx/. But how can I do it only for a specific menu item? Example : Joomla! has a ...
Fedik's user avatar
  • 644
4 votes
3 answers
396 views

When will the JxxxLegacy classes be deprecated?

Is there any estimated time frame for the validity of JModelLegacy, JControllerLegacy and JViewLegacy? When will the switch to native 3.x ones occur?
ilias's user avatar
  • 725
6 votes
2 answers
458 views

Structure folder of sql files in my component

What folder should I put my sql files in my component for joomla execute them automatically? If in the first version I created a table and in later version I want to change, how should I organize that ...
csbenjamin's user avatar
5 votes
2 answers
1k views

Sitemaps with Xmap on Joomla 2.5: (how) can I improve them?

I have a small personal website, bilingual, say namesurname.joomlafree.it, made with Joomla 2.5 (remote installation). I have created with Xmap two sitemaps, one for italian language, one for english. ...
MattAllegro's user avatar
10 votes
2 answers
6k views

How can I use a model of other component in my component?

I'm building a component and It needs access the #__content table. The component com_content does everything that my component needs to do in that table. How can I import the com_content models into ...
csbenjamin's user avatar
40 votes
6 answers
34k views

What is the proper way to make an AJAX call in component?

I am developing a custom component for Joomla! 3.x and want to make an AJAX call inside it to retrieve some data. What is the proper way to do it?
Dmitrijs Rekuns's user avatar
7 votes
1 answer
973 views

JEvents change "Latest Event"-Module align

Is there a way to change the alignment of the latest events of JEvents to horizontal instead of vertical? Maybe in the div class="jeventslatest"? This should be vertical aligned.
Stefan Sprenger's user avatar
12 votes
7 answers
1k views

Joomla Component Tool or Scaffold?

I have created a couple of plugins for Joomla 3.2 and have recently started on a component to manage apartment rentals. I was wondering if there is a framework out there that had the basic file/folder ...
pathfinder's user avatar

1
7 8 9 10
11