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
6
votes
1answer
3k 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 ...
1
vote
1answer
2k 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/...
1
vote
2answers
614 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 ...
0
votes
0answers
281 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 $ ...
5
votes
2answers
230 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/...
4
votes
1answer
206 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 ...
0
votes
1answer
558 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 ...
4
votes
2answers
763 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 ...
7
votes
1answer
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 ...
1
vote
0answers
264 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 ...
1
vote
1answer
319 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 ...
1
vote
2answers
173 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 ...
1
vote
2answers
371 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 ...
3
votes
2answers
941 views

com_users login redirect issue

I have a strange issue with my login redirect. It WAS working perfectly, and I'm not sure when it stopped working, but now it leads to a few issues. So I have a Menu item using com_users Login option....
1
vote
1answer
2k views

Joomla 3 Backend Pagination Showing Full Results Instead

I'm creating a new component and have followed the Joomla 3 MVC tutorial (details) but cannot get pagination to work. Interestingly, when I implement the HelloWorld component linked in that tutorial, ...
2
votes
1answer
1k views

Calling category title params from a com_content

I have tried to search on every Joomla site to find a solution but haven't found a proper result yet. I have created this custom module for my page and I need to display the "corrent" category title. ...
4
votes
1answer
65 views

Component Download (from a live site)

I asked a similar question a while back regarding downloading a plugin from a live site - however this question is concerning a component, perhaps the process similar? Quick recap - I downloaded a (...
2
votes
1answer
699 views

How to use backend language file from custom component in frontend

it is boring that lots of code must be created in a Joomla component for backend and also front end. So I would like to use the administrator language file of my custom component for my front end. I ...
1
vote
2answers
353 views

JS loaded from template won't run inside custom component

I created a module position at my template where I load a custom module which is a menu bar. with the next script I change its position to fixed if someone scrolls more than 200px so that the bar ...
2
votes
2answers
1k views

How to get the Joomla Update option to appear on the Components menu?

I've got a site running Joomla 2.5.14 that I want to update. Apparently, there should be an option called "Joomla Update" on the Components menu that I can use to update the site, but it's not there. ...
5
votes
1answer
284 views

Redirecting to component when using SEF

Im trying to perform a redirect to a component's view <form role="form" action="<?php echo JRoute::_('index.php?option=com_rouf&view=front'); ?>"> Because SEF is enabled im getting ...
1
vote
0answers
173 views

Can not install com_cjlib (CoreJoomla Framework Library) [closed]

I have a local XAMPP Joomla! website that I am trying to add CjBlog to, but it needs CoreJoomla Framework Library which keeps giving me "Error Please enter a package folder. Unable to find install ...
6
votes
2answers
957 views

Site Vulnerability Check

With the recent security announcement regarding SQL injection, I was wondering what I could do in order to 'review' my current Joomla sites, and ensure none of them have been compromised. Apart from ...
8
votes
3answers
15k views

How to get menu parameters and itemid in component controller

In my custom component controller I have function save(). At the end it displays message and redirects to url $this->setMessage(JText::_('SOME_TEXT')); $this->setRedirect(JRoute::_('index.php?...
2
votes
2answers
167 views

MVC: Include classes in a component

So, for example, I have 3 classes: Division, Employee, Task. Every task has an employee assigned to it and every employee belongs to a division. Currently I need 4 views: a list of tasks assigned to ...
0
votes
3answers
2k views

Model's $data = $this->getItem(); How this function will work for back-end component?

I am creating one component for Joomla back-end. Here In edit view I have to display the value of an existing record. For that Joomla uses $data = $this->getItem(); calling the getItem function ...
2
votes
2answers
2k views

Show intro image in Category List

I added this line in my custom template to display the image: <?php echo $article->images; ?> And I got this as a result: {"image_intro":"images\/articles\/liang2.jpg","float_intro":""} ...
1
vote
2answers
939 views

I need to change "Continue Reading " to "Read more" How to do?

HI. I need to change "Continue Reading " to "Read more" How to do? *Joomla 3.4.5 Thk.
6
votes
2answers
138 views

Joomla Component Development: Starting Point

So, basically, I've developed an application that gets the data from the database, processes it and then displays it on a webpage and now I need to integrate it with joomla. I've read about MVC ...
13
votes
1answer
4k views

Adding drag-n-drop ordering in component

I've developed a small component based on the Joomla Hello World tutorial, and now I would like to implement the same drag-n-drop reordering that many other Joomla components include: By sorting by ...
2
votes
1answer
108 views

Installing a PHP based sig. banner generator

I have a PHP based signature banner generator (a 'proud X for N years N Months, N days' type of deal) that I need to include in a site served via Joomla, but am a bit confused as to how to do that. ...
1
vote
1answer
578 views

JControllerForm and JControllerAdmin

What is the difference between JControllerForm and JControllerAdmin in joomla component?
0
votes
1answer
709 views

Can't see component in backend menu but can access it via a URL

I have a component called Fabrik installed on my site (running version 3.4.1) which works perfectly. Some months ago we migrated some content and other components across to the site from an older ...
2
votes
1answer
111 views

How to modify a SEF URL including an arbitrary text

I develop a component that has a list view: index.php?option=com_mycomponent&view=listview&catid=1 I have published several menu elements of this component pointing to different categories; ...
1
vote
1answer
2k views

JToolbar not found frontend

I am trying to use add toolbar to my Joomla component site following what it says in https://docs.joomla.org/J3.x:Using_the_JToolBar_class_in_the_frontend. It does say the functionality isn't working....
2
votes
1answer
431 views

Component loads in localhost but gives internal server error on live

I have a simple component with 1 php file that returns data from database. The file is called using JS AJAX from my homepage, and works perfectly when hosted locally. But on deploying it to live ...
5
votes
1answer
2k views

Get all installed Joomla extensions and their version

I'm not really familiar with Joomla, but I need to write a script that is supposed to list all the installed extensions and their version number, if possible. I've already done this for WordPress, ...
3
votes
1answer
283 views

Usage of JLog in a component controller

In my component controller, i have implemented JLog but this issue that i have is that the file log isn't created in directoy /logs. There is the code of the controller that i'am using : class ...
0
votes
1answer
55 views

Inherent components of Joomla

I try to learn one CMS for a new website, and I have some questions about Joomla. What of the items below are not included as an inherent component of Joomla ? 1) Templates 2) Components 3) Social ...
0
votes
1answer
45 views

Error on module call

I called a SP Simple Portfolio module from SP Page Builder but it shows this error, but when any other module is called it works fine
2
votes
1answer
2k views

Adding custom fields to com_content category

I have a component which mainly deals with Joomla content articles. I want to add custom fields to Joomla core category. Is there any chance to add custom fields into category through a plugin or ...
2
votes
2answers
460 views

How to remove IDs from SEF URL in Joomla?

I 'm writing a custom component and I already get done the router.php: defined('_JEXEC') or die; function empresaBuildRoute(&$query) //Esta función divide la url y se trae las variables. { $...
0
votes
0answers
125 views

How to use a Toolbar Button without redirect?

I am developing a Joomla Administrator Component. In the Toolbar, I created a Button via JToolBarHelper::custom('administrat.saveIt', 'save.png', 'save.png', 'SOME_TEXT', false); In my controller, ...
2
votes
0answers
665 views

How to access a component variable from a module? [closed]

I want to access a component variable (a simple array) from a module without using session (no persistence across page loads necessary in my case), JRequest/JInput, global, plugin nor model. Is it ...
1
vote
2answers
408 views

AJAX call returning whole website instead of array

I make a AJAX call from my model to the controller and instead of returning just the result of the sql query it returns a whole website (with the content of the result somewhere in the middle). ...
0
votes
2answers
845 views

Fatal error: Allowed memory size of 314572800 bytes exhausted - Admin Tools

I transferred my site to a new server and now I'm getting this error when I click fix permission from Admins Tools (component). I also allocated Memory_limit to 300 but still same issue. Can somebody ...
2
votes
1answer
79 views

Where to process data in MVC

This may be a very basic question but i am new to this and all the tutorials i watched don't work with processing data before displaying. I am working on a Administration Component thet is supposed to ...
2
votes
1answer
595 views

How to redirect to a "part-view" of a view file?

I have a view called Vtour. Inside Vtour I have these files: view.html.php index.php /tmpl/ /tmpl/default.php So default.php is the default view which loads a form that a user can select elements to ...
5
votes
1answer
4k views

Click on custom button opens modal window

I've got some custom buttons in my Joomla component and I want them to open in a modal window like with the batch button in the com_content component. Anyone has got any idea on how to do it? Thank ...
3
votes
1answer
683 views

Making custom template for Joomla - module edit form buttons lack skin/style?

I'm making my own template for joomla 3.x first time around. The problem is that when I click on a module to edit it, and I get the Joomla form for front-end editing, the skin/style is only "half ...

1
3 4
5
6 7
10