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
3
votes
1answer
202 views

Install Joomla component without manifest file

I have taken over a joomla project from another consulting company, and I have made several improvements and changes to one of the components. Now my client is asking me to migrate this component to a ...
1
vote
0answers
41 views

How does com_contact caching work when it has a form token?

I've been looking into conservative caching recently and felt I'd got my head around it. However, when I added it to a site, I was surprised to see that the core component com_content caches forms. ...
2
votes
0answers
53 views

Clear component toolbar task

I've added a custom toolbar button to export the items from a custom component as a CSV. The CSV is getting exported correctly but my custom task is then being triggered when navigating the ...
1
vote
0answers
505 views

Using CodeMirror editor in custom component

I am trying to use CodeMirror as the editor for a field inside a component I am developing. I have specified the editor as codemirror in the form.xml file but I get a javascript error on the page: ...
1
vote
1answer
64 views

Weird chars in the beginning of SEF url

I'm developing router to my custom component. Almost everything is working ok. But with one url I have problem. It seems to be build properly by build method: dodaj-zdjecia/addphotos.html But after ...
1
vote
2answers
26 views

Slideshow component where some elements exist across mulitiple slides?

Ive been searching the last week or so for a joomla based slideshow like component which supports elements remaining in situ between some slides. Ideally on subsequent slides these elements would ...
1
vote
1answer
62 views

adding bills after payment to user profile - hikashop

I'm using hikashop for selling products in my website. I want to add user's bill to his profile after he completes the payment, so that he can have a summary of all his payment in his profile. How can ...
0
votes
1answer
82 views

How to add multiple models to a JView?

I try to save data in multiple table from one view in joomla but two tables field names are same. So that's create error. please guide me step by step.
1
vote
1answer
79 views

Strange url in crawl of com_users

While trying to move site to 3.6.2 I was prehand crawling in url through Xenu efore making it live However - found some strange url been crawled by xenu - almost more than 300 url like this http://...
0
votes
1answer
235 views

how to set global alias for a joomla component

can any body tell me how to make a global alias for a joomla! component i want to completely get rid of joomla! components name (k2, virtuemart , etc..) localhost/component/k2/item/243-3 i created a ...
1
vote
2answers
34 views

Module coming on all pages

I have a module for slideshow in landing page. And I have some links in landing page. When I click on those links. The target page coming with module. And I have not assigned the module on target ...
0
votes
1answer
1k views

HTTP ERROR 500 when loading com_cache

Recently, my joomla's website has been showing 500 server error every time I open the cache manager as described below: In Browser's Console: Failed to load resource: the server responded with a ...
0
votes
1answer
162 views

Always force limitstart=0 for component's paginated lists when revisiting the list

I am facing problem with Joomla listing. When I log-in into Joomla admin panel and use pagination for listing, if I click and visit the 3rd page of the paginated data of the 3rd page, then go to ...
1
vote
1answer
244 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 ...
2
votes
1answer
238 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 ...
1
vote
1answer
406 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 ...
3
votes
2answers
423 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 ...
0
votes
1answer
182 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 ...
2
votes
1answer
244 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 ...
1
vote
0answers
87 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 ...
0
votes
2answers
53 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 ...
2
votes
1answer
260 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 ...
0
votes
1answer
98 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() ...
0
votes
1answer
416 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.
3
votes
1answer
775 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 ...
7
votes
2answers
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 ...
1
vote
1answer
136 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 ...
2
votes
1answer
408 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.
1
vote
0answers
43 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 ...
0
votes
2answers
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:...
0
votes
2answers
2k 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 ...
0
votes
1answer
125 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 ...
3
votes
1answer
98 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 ...
0
votes
1answer
69 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?
1
vote
2answers
466 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 ...
2
votes
1answer
380 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 ...
1
vote
1answer
64 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)...
3
votes
2answers
434 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 ...
1
vote
2answers
865 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 ...
1
vote
1answer
134 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 ...
3
votes
3answers
131 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 ...
0
votes
2answers
492 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 ...
0
votes
1answer
623 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" /&...
2
votes
1answer
280 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 ...
1
vote
3answers
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.
1
vote
1answer
297 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 ...
1
vote
1answer
774 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 /...
0
votes
1answer
204 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?
1
vote
2answers
75 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 ...
2
votes
2answers
707 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, ...

1 2 3
4
5
10