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
1 answer
265 views

Dynamic component SQL parameter type

I'm looking to add a Component field which will display a list of Joomla users who have a relationship with current the Component item. Below is some sample XML where by I would like [current ...
Sean Dooley's user avatar
2 votes
1 answer
295 views

when calling "JRequest::get('FilterForm')" result is empty

When calling the method $this->filterForm = JRequest::getVar('FilterForm');, I get an empty result. But checking the com_banners component on the same system shows a result. What can I do to get ...
DreiBaer's user avatar
1 vote
1 answer
500 views

How to override an administrator template file that's included on the frontend?

A component is using include to load an administrator form in the front-end so users can fill it out and submit content. I'd like to override that form, but it doesn't appear to be possible from my ...
Obscerno's user avatar
  • 191
3 votes
2 answers
449 views

Joomla 3 helloworld component category

After i follow the Joomla "Developing an MVC Component" document until step 15- "Adding ACL" everything works. Then I tried add a new view "category", but it did not work. Here is my code: In admin ...
Anthony's user avatar
  • 131
0 votes
1 answer
218 views

Restricted direct access creates problems passing references between files

Context (Long Story Short): I am using a PHP script and the $_POST variable to handle certain ajax POST requests from a view template. It needs access to database connector classes which can be ...
Patrick Noble's user avatar
2 votes
1 answer
263 views

Where to prevent field value change in custom component form record?

Where is the best place in Joomla MVC (server-side) to forbid users from changing a value in a pre-existing form record? In JTable check / bind/ JModel prepareTable, or elsewhere? For context, I have ...
codinghands's user avatar
  • 2,295
1 vote
0 answers
91 views

How to implement nested submenus in the administrative sidebar?

I'm using JHtmlSidebar::addEntry() to build a menu in the sidebar. However, I need a better way to organize the menu items in there. I don't see a way to easily create a nested menu structure. I'm ...
nimble's user avatar
  • 418
0 votes
2 answers
54 views

Creating joomla vendor panel

I am new in Joomla component development I am trying to create multi vendor site like bookmyshow. And I am confused what should I do. Should I add some fields in #__users table like isVendor ...
Jatin Raikwar's user avatar
2 votes
1 answer
297 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
codinghands's user avatar
  • 2,295
0 votes
1 answer
126 views

How to sort a fabricated column in my view that I've stitched together with data from multiple columns?

I have a view that displays a list of data from a table (I'm targeting Joomla! 3.5+). However, I fabricated a column that stitches data together after some manipulation. I do this in the getItems() ...
nimble's user avatar
  • 418
0 votes
1 answer
441 views

How to get sidebar in joomla admin [duplicate]

I am new to joomla. I am trying to develop component. How can I have sidebar in Joomla admin component. Please help me solve this.
Jatin Raikwar's user avatar
3 votes
1 answer
887 views

Joomla error on Phoca Gallery

I'm using Joomla 3.5.1 . Recently I install phoca gallery on my joomla. It does not work and unfortunately I can not uninstall it from extensions or plugin menu. When I click on extension-management ...
Babak.Abad's user avatar
7 votes
2 answers
4k views

How to call a model method from a system plugin?

I have a component ('com_foo') which has a model called 'foobar'. The class declaration is like this: class FooModelbar extends JModelItem This class has a public method called getFooBar(). I also ...
sifu's user avatar
  • 1,105
1 vote
1 answer
145 views

Menu Request variable not working

I have added a request variable in the menu for my component but it is not working. Following are 2 ways by which I tried: Request Variable: Check the image attached for the output. Value saves in ...
Liz.'s user avatar
  • 1,375
2 votes
1 answer
461 views

Purpose of metadata.xml

Can somebody explain what is the purpose of metadata.xml in components files? For example /components/com_content/metadata.xml As it almost has no content and I've never seen this in use.
Alexandr's user avatar
  • 1,130
1 vote
0 answers
45 views

Are there any file download components for joomla that are MVC and Bootstrap?

I've tried pretty much every free file download component I could find, all of them are flawed to the point where I dont see them as the answer for my site. I would like something that is coded with ...
wobbles's user avatar
  • 215
0 votes
2 answers
89 views

Upgrading a Joomla! 2.5 component to Joomla! 3 - JToolbar in Administrator doesn't work

I am attempting to upgrade an old (custom) component for Joomla! 2.5 to 3.0, and I've been having issues with a few things, mainly JToolbar. When I click on any button, I get this in my error console:...
Mark's user avatar
  • 199
0 votes
2 answers
3k views

Invalid JSON response in JCE File Browser

Since I updated the JCE editor to the 2.5.16 version I've been unable to upload files via the File Browser. It always popup an alert window displaying: The server returned an invalid JSON response ...
Rash's user avatar
  • 1
0 votes
1 answer
135 views

Joomla component development - how to organize?

I am trying to write simple component for Joomla 3 to show catalogue and products. I did made my model catalogue and it works ok - it shows list of all products with pagination, but I also want to ...
LMCho's user avatar
  • 1
3 votes
1 answer
107 views

Inject HTML overrides in admin Template

I would like to create some html overrides for a given Admin Template (isis). So I could throw in all the code into the template's directory, but I guess an update will wipe out all my changes, so ...
philipp's user avatar
  • 377
0 votes
1 answer
70 views

How to develop only a back-end Joomla! component?

I am developing a back-end Joomla! component, but after it is installed, I see an empty folder in the site part. How I can instruct Joomla! not to create the folder in the site part?
El cero's user avatar
  • 221
1 vote
2 answers
629 views

Calculate end date based on start date and duration

My goal is to calculate and show end date based on my start date by date picker and doprdown to choose number of weeks. I have Jquery datetimepicker http://xdsoft.net/jqplugins/datetimepicker/ to ...
allogos's user avatar
  • 83
2 votes
1 answer
480 views

Is it possible to insert a view of a component into an article or into the template without using plugins or iframes?

Is it possible to display a view of a component without iframe and plugin? (That is to say, if possible with a few lines of PHP and maybe SQL queries?) To be more clear: I'd like to do it directly in ...
Alex's user avatar
  • 121
1 vote
1 answer
75 views

What is the proper way to handle models that use other models in MVC?

I'm developing my first component and I'm not sure how to best handle models that use other models from a design and implementation standpoint. For instance, I have a contact model (person or business)...
nimble's user avatar
  • 418
3 votes
2 answers
449 views

How to Create a Joomla!-based Online Course

I'm creating a website on the Joomla! 3.5 platform (This is so I can tie in directly to another Joomla! site user database.) that is a simple 5-section training course used to train a company's ...
Michael Yaeger's user avatar
1 vote
2 answers
870 views

Where can I find a good tutorial and/or example for creating front-end forms in custom components?

I'm building my first component for Joomla 3.x (I don't need support for 2.x). I've created my models (and unit tested them). I'm now ready to create the views. To start I just want to create a simple ...
nimble's user avatar
  • 418
1 vote
1 answer
163 views

which exception should be thrown when sanity checks fail?

Which SPL exception should be thrown when sanity checks fail? For example, if the check() function fails when saving data with JTable or a parameter check fails? I'd prefer to use something more ...
nimble's user avatar
  • 418
3 votes
3 answers
140 views

Is there a file that defines error messages?

I would like to catch some exceptions to inspect the error code and determine if I should re-throw it with a more user friendly message. This would probably be most beneficial with MySQL errors. Is ...
nimble's user avatar
  • 418
0 votes
2 answers
535 views

Joomla 3.4.8 Component SQL Update Not Working

As the title says I'm using joomla 3.4.8 I'm trying to customize the system component "com_content" what I want to do is to add an another columns on the '#__content" table in the database but the ...
Voj's user avatar
  • 65
0 votes
1 answer
684 views

How to get articles categories in config.xml - Categories / SQL form field type?

With this given category field I want to show the article categories. <field name="import_category" type="category"label="test" description="test" extension="com_test" /&...
Parvvee's user avatar
2 votes
1 answer
301 views

How to use look-up tables in a custom component?

I'm trying to develop my first component in Joomla 3.x. I'm new to the MVC paradigm and learning the basics of Joomla development. To start, I'm trying to develop a simple component to add and ...
nimble's user avatar
  • 418
1 vote
3 answers
2k views

how to show article preview in admin panel?

I created a new article. I want to this article preview show only for admin not other user.How to do this? I used plugin "add menu" for this but that plugin not show my problem.
user8228's user avatar
1 vote
1 answer
317 views

Virtuemart 3.0, Distinct prices for different languages

I'm with an problem, that I want to put in VirtueMart 3 with two type of coins(cash) each one goes to one distinct language, for example: English (en-GB): Dollar Portuguese (pt-BR): Real When a ...
Hiago Silvério's user avatar
1 vote
1 answer
911 views

How to change SEF urls to remove item view from url?

I wrote a component and made a router.php by documents in Joomla.org. My problem is that how can I remove item view from URL? For example I have this view -> musicses, now my SEF URL is like this /...
user8215's user avatar
0 votes
1 answer
230 views

Hide a menu item for a joomla component

when creating a menu for a component there shows a selection either for a list to show or an individual page. I need to hide the individual selection of page as menu.. How can I hide this?
aish's user avatar
  • 325
1 vote
2 answers
84 views

Search Results Page error if less than 20 search results

I have a strange bug that I can not seem to wrap my head around. Using the default Joomla Search function, whenever I have either an empty results page (on first load) or less than 20 results for a ...
user2697191's user avatar
2 votes
2 answers
758 views

How to create one page Joomla site? [duplicate]

what is the good way to create one page Joomla site? I just need one or two module for each menu item. So, that would be okay with one page site. I have a thought using external link as menu item, ...
adadion's user avatar
  • 214
6 votes
1 answer
4k views

How to use com_api plugin for REST?

I have installed the com_api component and plugin from the official site for REST calls. I should authenticate user login with a web service at another domain using REST POST. How should I do it? I ...
Rex's user avatar
  • 61
1 vote
1 answer
3k views

How to uninstall akeeba backup components from joomla 3.5?

I tried to remove the Akeeba backup component, but got the following fatal error- Fatal error: Class 'F0fUtilsInstallscript' not found in /home3/asocir/public_html/administrator/components/com_akeeba/...
mehdiMj's user avatar
  • 13
1 vote
2 answers
702 views

how to rename file on upload custom component joomla 3

I recently create a custom component with Component Creator, and I have a form in admin area that uploads file... But I can't upload files with same name it's going to replace the previous file, now ...
Arash Yazdani's user avatar
0 votes
0 answers
290 views

How to limit the number of users displayed in my component using pagination?

I have a component that displays a list of people. I want to limit the number of users displayed using pagination. My view therefore includes : pagination- > getListFooter( ) <? Php echo $ ...
Jocya Oli's user avatar
5 votes
2 answers
241 views

I am getting Error on Sucuri Mallware scan on Joomla for SectionCategoryArticleList component

Site error detected. Details: http://sucuri.net/malware/php-error-fatal-error?v6 Fatal error: Call to a member function get() on a non-object in /home/project/public_html/components/...
Rakhi's user avatar
  • 151
4 votes
1 answer
219 views

How to change styling of Joomla Collapsible Sidebar in Backend?

I have created sidebar for my custom component by using the documentation - How do I apply JHtmlSidebar to add a sidebar to my admin view? I have to add some styling to the Joomla Collapsible ...
Joomler's user avatar
  • 1,801
0 votes
1 answer
609 views

Load menu module manually in component layout

I would like to load my menues manually in the component layouts. Because of some programmend item detail views, there are no menu items for that views. The consequence is, that the menu is not shown ...
Perino's user avatar
  • 667
4 votes
2 answers
874 views

How to properly setup Snipcart inside custom components

I got a custom component which is actually an ajax search form. Someone select some options and when he hit submit button i want to load some products based on the selected criteria. I includes the ...
IseNgaRt's user avatar
  • 689
7 votes
1 answer
8k views

Best way to include helper class in sub-controller : require_once or JLoader

I have created a helper file test.php as following: administrator/components/com_compname/helpers/test.php class TestHelper{ //class methods } In controllers/subcontrollername.php We can use ...
Liz.'s user avatar
  • 1,375
1 vote
0 answers
272 views

Create Custom form field similar to Tag form field type

I want to create a custom field : hobby similar to TAG form field except one thing. I want to create this custom field for my component and therefore want to save the hobby field values or tags in my ...
Liz.'s user avatar
  • 1,375
1 vote
1 answer
369 views

Category List delete button

I have copied /components/com_content/views/category/default_articles.php into my template and the overwrite is working fine. I just don't know the line of code Joomla uses so I can add a Delete ...
Programit's user avatar
  • 113
1 vote
2 answers
183 views

Need component for specific type of catalog with filtering

I'm trying to find existing component to create a catalog with custom search (could be part of component or separate module). I've already tried SobiPro, OS CCK, JU Directory, SpiderCatalog Lite but ...
moped's user avatar
  • 111
1 vote
2 answers
402 views

Extension for blogging with subdomain like joomla.org

I am searching for an extension for blogging. What I want is something like joomla.org with subdomains for each blog, like myblog.joomla.com . I found easyblog, but it doesn't give for each blog a ...
Vahid Najafi's user avatar

1
3 4
5
6 7
11