All Questions

Filter by
Sorted by
Tagged with
40
votes
6answers
30k 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?
33
votes
9answers
1k views

How to secure a new Joomla installation?

What are the actions that one should take after a new Joomla installation in order to keep it secure? Both on shared hosting servers and dedicated ones.
31
votes
4answers
4k views

Method for creating a subquery using JDatabase

At http://docs.joomla.org/Selecting_data_using_JDatabase, there isn't a documented method for writing a subquery using JDatabase. https://gist.github.com/gunjanpatel/8663333 exemplifies one way of ...
28
votes
2answers
648 views

What are the differences between the Joomla! CMS, the Joomla! Platform and the Joomla! Framework?

Many of us have come to understand Joomla! to refer to a specific software we use, yet there are 3 different types of software available from Joomla! These are: 1) The Joomla! CMS; 2) The Joomla! ...
26
votes
10answers
3k views

What tools can I use to help assist me with Joomla development?

I'm new to Joomla development and I would like to know what tools and/or software can assist me in in developing both the backend and frontend of a Joomla site. This would also include any future ...
26
votes
3answers
11k views

What's the proper way to get the entire $_POST?

In Joomla! 2.5.x I could simply run JRequest::get('post'); but seeing as JRequest is deprecated in Joomla! 3.x I should use JInput. At them moment this is the code I'm using to get the entire $_POST: ...
25
votes
8answers
16k views

Recommended practices regarding Joomla file/directory permissions and ownership on linux systems?

In the past I’ve often run into trouble with permissions and ownership of Joomla files/directories on linux systems. Problems included Not being able to transfer files to the server using programs ...
24
votes
4answers
36k views

Get the current Joomla URL

The following code works in Joomla 1.6, but it throws up a Strict Standards error in 3.x: Strict Standards: Only variables should be assigned by reference //Get the full URL for sharing ...
22
votes
3answers
770 views

Do 'disabled' extensions slow down Joomla! site performance?

If I have extensions "installed but disabled" in my extension manager (as opposed to "completely uninstalled"), do these disabled extensions slow down web site performance for web site visitors? If ...
22
votes
1answer
7k views

How to save Custom Fields in Core components

I'm trying to add a single, simple field to each #__content item, and I've very carefully followed the tutorial at Adding Custom Fields to Core Components, substituting "content" for "contact". I now ...
21
votes
5answers
39k views

How do I override the CSS styles in my template?

When using a free/commercial Joomla template from Template Club X/Y/Z, what is the best way to include my own CSS styles?
21
votes
1answer
12k views

How to combine ANDs and ORs in the WHERE clause using a Query Object?

Given the desired SQL below, where Cond1 and Cond2 must be met OR Cond3 must be met for selection, what is the correct way to use getQuery() to achieve it? Desired SQL: Condition1 and Condition2 ...
20
votes
4answers
13k views

Joomla 3.x extension development tutorial for a beginner developer

I worked extensively in Joomla 1.0.15 version and developed multiple extensions. Also, I continued my developed in Joomla 1.5.x But, my developed discontinued after this release. Now, I want to start ...
20
votes
4answers
5k views

How to override core classes?

Sometimes there is a need to override core classes to get more functionality or to make some core functions work in another way. Is there any way how to override core classes? If it is possible then ...
20
votes
3answers
7k views

Whats the correct way for exception handling?

In Joomla core I find still many calls like this: // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); ...
19
votes
6answers
17k views

How to detect if user is Super User?

To determine whether the visitor is a guest, we use something like this : if ($user->guest) { echo 'Hello, guest!'; } Now, if i want to determine whether the visitor is a registered SuperUser (...
19
votes
2answers
2k views

How to let users delete their account from the frontend?

How can i let my registered users delete their own account from the front-end?
19
votes
2answers
161 views

How do I contribute code to Joomla?

I am aware that the code is managed at https://github.com/joomla/joomla-cms (for the CMS at least) and that I should submit pull requests to suggest that code be added. I'm especially interested in ...
17
votes
5answers
5k views

What is an efficient way to troubleshoot a “white screen of death”

Quite a few times I have been in a position where the front-end of a Joomla website is a blank screen with no content, sometimes known as a "white screen of death". This has occurred after a website ...
17
votes
3answers
11k views

Joomla tmp directory - What is it for and can I delete its content?

My Joomla website currently uses about 100 MB of storage. I checked my folders and found out that the tmp folder is about 30MB and contains a number of files and folders named like "...
16
votes
9answers
10k views

How to improve server response time?

What can I do, other than using a cache plugin like jotcache, to improve the server response time of my website? I have already removed all inactive articles modules, plugins and components, is there ...
16
votes
3answers
812 views

How can I tell if a free template contains malware

I recently came across a site giving away good quality themes for free - but once downloaded it turned out that all the themes contained poorly concealed malware. Thankfully on this occasion my anti-...
16
votes
3answers
7k views

Joomla Registration: Remove unneeded fields

First, I am aware of this question: https://stackoverflow.com/questions/14799733/remove-name-field-from-joomla-registration-form But the link in it's answer is dead, and the file path mentioned ...
15
votes
6answers
6k views

Change Super User account password

I have forgotten my super admin password. How can I reset the super admin account password? I have access to both FTP and phpMyadmin how can I change the Super User account password? My table ...
15
votes
4answers
453 views

Workflow for developing / adjusting templates

Usually I only adjust existing free templates and change colors and fonts. The question is, when I already have my Joomla page online, what is the easiest way to make changes to the template css? ...
15
votes
4answers
29k views

Adding custom CSS styling on some of my pages

I would like to add custom CSS styling to some of my pages to give them a unique style, and override the default template styling. How can I achieve this in Joomla?
15
votes
7answers
9k views

Upgrade from 2.5 to 3.x overview

This is something I have been curious on for some time considering a few things. How well is the "one click" upgrade going to improve prior to the EoL of Joomla! 2.5? Right now we have a very low ...
15
votes
4answers
1k views

Recommended extension / tool to check for core file modifications?

When updating Joomla sites to the latest version I always have a minor panic in case the site I'm upgrading, built in the past by some rogue developer (i.e. me, 6 years ago), happens to feature ...
15
votes
3answers
174 views

Is there a better way to show template's module positions?

Does anyone know a better way to show a template's positions. It seems to me that appending "...?tp=1" to url is rather klunky and sometimes hard to read? Thanks!!
14
votes
9answers
14k views

How can I completely remove Bootstrap from the frontend of Joomla?

Recently, I tried to remove all instances of Bootstrap from the front end of Joomla for debugging purposes. I was using a skeleton template with a relatively new installation of Joomla 3.3. I removed ...
14
votes
9answers
5k views

How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices?

I'm a proponent of Responsive Web Design in conjunction with Adaptive Web Design (i.e. - one design that adjusts display for all devices and provides content based on view port size) as opposed to ...
14
votes
4answers
17k views

Direct logout link

I know I can display the login/logout form with the following link: http://example.com/index.php?option=com_users&view=login But once logged in, this link will redirect the user to a page with a ...
14
votes
4answers
391 views

How to effectively distinguish test and production site?

Sometimes you might need to clone your production site to TEST site. After cloning, they look identical except the URL. Please advise your recommended practice to distinguish front-end and back-end ...
14
votes
4answers
13k views

How to get Itemid by URL and pass it to JRoute

I have a menu item for a specific view in a custom component. Attached to this menu item I have another Template Style selected, not the standard template. Accessing the view via the menu works well, ...
14
votes
4answers
5k views

How to manage multiple Joomla sites and their updates

I have a number of Joomla 3.x sites, which I want to manage centrally, however they are all for different clients, so I cannot share any information between them. What I want to achieve is to ...
13
votes
2answers
2k views

How can I programmatically get the Joomla database prefix using php?

I sometimes access the Joomla DB via external scripts. The problem I have is that if I ever need to change the prefix, I'll need to edit my scripts again too. Is there a way to programmatically ...
13
votes
2answers
1k views

Copyright removal of free template GNU/GPL

Is it illegal to remove the copyright of free templates licensed under GNU/GPL, if the site is just for non-commercial purpose? As an example the copyright below the footer of the site? To get more ...
13
votes
3answers
115 views

Are Download IDs, API and Subscription Keys free to distribute with GPL extensions?

I purchase and use several extensions on an annual subscription basis (and whenever the Extension provider has an unlimited use option - I usually go for that). Many extension providers have a ...
13
votes
2answers
31k views

Where is $this->baseurl defined in joomla?

I asked this question on stackoverflow.com first (question here). In the comments you can read that it would be better if I ask that question here. On my joomla website I'm using echo $this->...
13
votes
1answer
3k 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 ...
12
votes
4answers
20k views

How to display user profile information?

I want to make a custom profile page which will only display the details of the user who has logged into my website. I need to display username name registered email Is it also possible to create ...
12
votes
7answers
2k views

Getting too many (flood) request, how can I block/reduce bot requests to my site?

We are using J3.2.3 on one of our client's website, which is an online casino website. The website is not live yet, as it is in development mode. Today we noticed that the server is too slow, though ...
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 ...
12
votes
6answers
17k views

How can I print out a Joomla query?

Suppose you have constructed a query with Joomla. // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(true); // Select all records from the ...
12
votes
7answers
10k views

How to move my site from subfolder to root?

I have a joomla site and it is installed in a subfolder in my hosting account. So now if I want to access my site I have to type www.mysite.com/joomla. I want to be able to access my site's homepage ...
12
votes
3answers
666 views

What are the key differences between Wordpress and Joomla!'s software architecture and how their core functions are extended?

*NOTE: This is not a 'which is better' question!* Wordpress and Joomla! are both awesome open-source CMSs. What are the key differences 1) in the software architecture between Joomla! and ...
12
votes
2answers
377 views

How do you update a website once it has gone live?

How do you push updates live to templates and modules once you have gone live with the site? We tend to do a few different solutions as we develop on one site and then akeeba backup to push the site ...
12
votes
2answers
992 views

How to test a Joomla 2.5 component

I've asked this question on StackOverflow, and it was suggested that I ask it here. I'm familiar with unit/system/integration testing, and would like to be able to test my Joomla component. Is there ...
12
votes
2answers
666 views

Difference between standard cache options

Joomla! have a 3 different way for caching: "Conservative caching" (in global configuration) "Progressive caching" (in global configuration) plugin "System - Cache" I have the following questions: ...
11
votes
3answers
9k views

How to check what component is being used on current page?

I want to set up my template so it will display different layout depending on what component is being used on current page. How to check for this?

15 30 50 per page