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

Is there a way to have multiple component level ACL rules display and save using com_config?

As always I'm tinkering around in my IDE. Today's challenge is to set up view level ACL rules for each of the various managers (list/form views) in my test management component. First I added the ...
0
votes
2answers
237 views

Call to undefined method access manager controller.php joomla

I have installed an Extension Manager Installation was successful but after clicking that Component it shows me this error Fatal error: Call to undefined method accessmanagerController::...
1
vote
1answer
3k views

What is the proper way to set the route to a menu item from within a component?

So I'm working on my a new component and I want to be able to route to a menu item when access is denied for a certain action. I created a menu_id field in my table and I'm using the menuitem form ...
1
vote
2answers
380 views

Using Joomla within Wordpress

I use Wordpress for my site but I want to use a shopping cart extension that is designed for Joomla. I know there are other plugins for Wordpress but I have to use this Joomla extension. Does anyone ...
-2
votes
1answer
2k views

Joomla Component Tool Bar Buttons Not Working

I'm building a Joomla component and trying to use Joomla toolbars, problem is the buttons are not working properly, at least the publish and unpublish buttons are not (edit) - when I use the publish ...
2
votes
3answers
5k views

Jomsocial or Community Builder?

I'm going to make a small social network and I do not have any experience in this issue. Which is better to use, JomSocial or Community Builder? Which one is more secure? Please give me your reasons. ...
2
votes
1answer
940 views

Module get items from specific component category

I am developing a slideshow extension for Joomla 3.x. The extension consist of a component in which you can create categories and create slides. When creating slides, you assign each one to a category....
2
votes
1answer
456 views

Separate Password Changing Form for the Joomla Front-end users?

I want to know is it possible to remove the password changing fields from the Core Joomla profile editor? I want to make a separate page for Password Changing stuff for the front-end users?
0
votes
1answer
519 views

Multiple task with one

I am looking for a way to build multiple task with 1 layout/view for example: administrator/index.php?option=com_component&task=form.one administrator/index.php?option=com_component&task=...
3
votes
2answers
666 views

Joomla Modal Field Redirect

I have created a upload modal field to upload content into the images directory and it all works perfectly fine, except the redirect after the upload. This is the upload Form in the modal window: &...
6
votes
2answers
6k views

What's the purpose of $this->get('Item') in Joomla view.html.php example file?

I refer to the code below, presented in Developing a MVC Component - Front End Function Example: class HelloWorldViewUpdHelloWorld extends JView { // Overwriting JView display method function ...
1
vote
2answers
1k views

Joomla save function with ajax update

I would like to call a controller function and after that I would like to update my view with an ajax call. Therefore I call my controller function from an ajax script using this url: url: "index....
4
votes
1answer
2k views

How to code the form submission for a joomla component in an efficient way?

I'm new to Joomla and I'm developing a component which includes the creation and submission of a form. The form submission example at http://docs.joomla.org/Developing_a_Model-View-...
7
votes
1answer
3k views

How to create a repeatable xml form field feature?

I am building a custom component and all is good. I thought I would have a go at the new 3.2 repeatable xml form field feature. Although I have it working I don't quite know how to save the data. It ...
2
votes
3answers
2k views

Script using JMail not sending the email

I have a component that I built to make calculations. I would like to allow the person to email their results to themselves. I have tried to create a mail function in the controller of the default.php ...
7
votes
1answer
3k views

Pagination confusion - Pagination uses start, PopulateState uses limitstart?

I'm a bit confused. When I look at the link created by pagination in the front end, I see a query parameter called start included in the individual page number links and Start and End links. ...
10
votes
3answers
1k views

Prevent error message from showing SQL

In my table I have created an index on 'col1' to prevent duplicate entries which works well but the resulting error message displayed to a user when they attempt to add a duplicate entry seems to to ...
7
votes
2answers
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 ...
2
votes
1answer
41 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 ...
3
votes
1answer
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('...
3
votes
4answers
935 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', ...
1
vote
2answers
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 '...
2
votes
2answers
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 ...
10
votes
1answer
411 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 ...
5
votes
2answers
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....
7
votes
1answer
243 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 ...
0
votes
1answer
252 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 ...
1
vote
1answer
225 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?
7
votes
1answer
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....
7
votes
1answer
343 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 ...
10
votes
2answers
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 ...
2
votes
1answer
894 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-...
2
votes
3answers
289 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'); ...
2
votes
3answers
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)
2
votes
2answers
150 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 ...
12
votes
3answers
3k 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 ...
11
votes
9answers
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 ...
6
votes
2answers
905 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 ...
4
votes
3answers
388 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?
6
votes
2answers
431 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 ...
5
votes
2answers
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. ...
9
votes
2answers
5k 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 ...
40
votes
6answers
33k 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?
7
votes
1answer
951 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.
12
votes
6answers
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 ...

1
6 7 8 9
10