Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

39
votes
6answers
29k 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?
8
votes
4answers
1k views

How to develop a Joomla module?

I've looked far and wide for a tutorial on this, but can't seem to find anything satisfactory. How do you make a new module for joomla? Right now I'm using custom HTML modules all over my code, and ...
21
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 ...
2
votes
2answers
630 views

Joomla Beginner Tutorials - How to start with Joomla?

A friend told me to use this Joomla to set up my own website. Truth is I have no idea how to start with it. I have some html, css, php knowledge but never had to use a CMS before and specifically ...
25
votes
10answers
2k 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 ...
11
votes
5answers
13k views

How to setup a new multi-language website?

One of my old clients want to turn to Joomla instead of a static HTML5/CSS3 responsive Multi-languages website. I'm a newbie to Joomla, and my biggest challenge is how to make a multi-languages Joomla ...
15
votes
4answers
27k 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?
8
votes
2answers
11k views

How to stop (fake) users from registering on my website?

I administer a website which does not require users to register. The only user that is needed is the Super User. The problem is that I found a large number of new registered users. First I want to ...
7
votes
2answers
883 views

What is the Joomla Execution Flow, after a request reach to index.php till the final output on the browser?

Based on this question: How Templates work and load css/js files? Website building process with Purity III Quote: .... I have to present my website tomorrow and i may get asked "where does the ...
4
votes
3answers
5k views

Migrating component from 2.5 to 3.3

This documentation: Adapting a Joomla 1.5 extension to Joomla 2.5 http://docs.joomla.org/Adapting_a_Joomla_1.5_extension_to_Joomla_1.6#Renamed_events Really helped me when I migrated my component to ...
5
votes
1answer
309 views

SQL Injections using Jfactory::getDBO and setQuery()

$db = JFactory::getDBO(); $searchP = JRequest::getVar('key'); $sql = "SELECT name FROM people LIKE " . "'%" . $searchP . "%'"; $db->setQuery($sql); $fileR = $db->loadObjectList(); Will ...
9
votes
5answers
7k views

How to remove the 'index.php' from URL's?

I was wondering if it is possible to remove the 'index.php' that is shown in every URL.
8
votes
3answers
427 views

Is there a way to promote articles between environments?

Is there an easy way to move articles between Joomla installations? For example in a development/staging/production environment, I have the same 20 articles in each. If I make a change to all 20 ...
5
votes
1answer
6k views

How do I apply JHtmlSidebar to add a sidebar to my admin view?

I can't find any tutorials on how to use the JHtmlSidebar Utility Class. This comes close to it: Creating a toolbar for your component, but it is very vague. It mentions $this->sidebar, which ...
2
votes
3answers
346 views

2 domains, 2 templates one cms with same content

I have a site that need to have two sites in one, it is one company with two brands the one is news paper and the other one is tv(video). They have corresponding articles or videos, that feature on ...
7
votes
1answer
4k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
9
votes
2answers
3k views

Create categories, subcategories and articles using php

Is it possible to dynamically create Joomla categories, subcategories and articles using PHP scripts? Is there any example link?
11
votes
3answers
8k 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?
6
votes
2answers
3k views

Logging in user without getting password from them

My requirement is something like login by Facebook, so the user does not provide password but gets logged in. I want to make a user logged in from within extension code by knowing his user id and/or ...
9
votes
6answers
43k views

Error 0 Cannot open file for writing log while updating

I have tried to update a Joomla website,to the newest update they have released from the admin area. But after attempting to update, I have received this error message: "An error has occurred. 0 ...
7
votes
1answer
9k views

How to change the title tag?

On each page I get the option of meta description and keywords but don't get Title. Where can I change what appears under the <title> tag.
6
votes
1answer
646 views

Can't see alternative layout once i add xml file

I create a file "product.php" in "\templates\beez3\html\com_content\category" I can see it in "alternative layout option" but i can't see it in "menu item type". Then i create a "product.xml" file. ...
5
votes
3answers
305 views

Mass Joomla sites Updates / Maintenance

I have around 100 websites on a single server, all in j3.2.x all working fine. Now if i want to add a single module/component/plugin in all the websites i have to log-in in all the websites and add ...
3
votes
3answers
2k views

Using AJAX in a custom module - how to do it?

I think this might be useful in future for many others. First of all, I know that there's com_ajax for this kind of a job, but I do not want to use it. Is there an alternative? What I got: default....
2
votes
3answers
1k views

Sending POST data within module - AJAX

Requirements for this task is - I can NOT use any type of components (com_ajax is out of the options list) GOAL: send post data if checkboxes are 'checked' using ajax within custom module. Is my ...
2
votes
3answers
9k views

Single Sign On (SSO) Joomla with other System

I've been searching over the net on how to make a Single Sign On Joomla 3.3 to work with a system that is based on Java. Both Joomla portal and java system are under the same server. I need it to ...
7
votes
2answers
13k views

How (re)set password for admin after migration from 1.5?

I migrated an old Joomla 1.5 site to a shiny new Joomla 3.3 version using the tool SP UPGRADE. Now I can't seem to login and I fear its because all the user passwords in the DB look like 'MD5':'Salt'...
6
votes
2answers
315 views

How can I load the new Protostar custom CSS stylesheet last?

I have been using EasyScript to load custom CSS on a website using the Protostar template: This works well and allows me to override the template styling and also third party extension styling (e.g. ...
5
votes
2answers
1k views

How Can I Get Rid Of Category Pages in Joomla

I have created several categories in my Joomla site to keep my articles organised but I have noticed that Google can see these categories and the category id and name is being added randomly to the ...
4
votes
2answers
1k views

Still required to turn Remember me off when migrating from 2.5 to 3.x?

With 3.3 and 3.2.4 is it still required to turn the plugin Remember me off? What is the technical reason?
2
votes
2answers
114 views

Unable to Access My Site

Can someone please explain to me why I'm suddenly unable to access the administrator section of my site. Each time I try to login I get the following message, see image. Your speedy help will be ...
2
votes
1answer
1k views

How to make a single-page template?

I want to make a single-page template from scratch, but I don't really know where to start. I'm using Joomla 3.x, so my approach should be bootstrap compatible. I guess that since the menu buttons ...
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 ...
15
votes
7answers
8k 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 ...
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 ...
10
votes
2answers
2k views

Joomla browser detection

Can we create a thorough question/answers post with the core methods that allow browser detection in Joomla 2.5 and 3 ? After a quick research in the web, I feel that there is not sufficient ...
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 ...
10
votes
3answers
17k views

How to get joomla version by http?

I have seen screenshots of a solution, there the Joomla version is getting detected by only accessing the page via http. E.g. the solution displayed all 3 digits of a version of Joomla. e.g. 2.5.28, ...
6
votes
3answers
2k views

Programmatically Add Menu Item in Component

I am trying to create a component where the user can add a menu item to an existing Menu after creating the article (or selecting from a list of article). The closest I could come across to an example ...
6
votes
1answer
12k views

How to get the alias or title of the active menu item?

In my template I want to give an extra class to the body of the document that will take the names of the alias of the menu item, so I can create individual styling among the pages. But how can I get ...
5
votes
1answer
2k 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 ...
18
votes
6answers
16k 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 (...
8
votes
2answers
4k views

Site clean up tips

I was hoping for some tips on how I should routinely 'clean up' my Joomla sites, as it's that time of year again! I'm sure we all do it to some extent, so I'm just looking for advice on what others do....
3
votes
2answers
627 views

How to share table between 2 or more databases?

I have a Joomla! site and now I want to make some subdomains. But, I want that the users must be the same in both. Like, if a user logs on to the main site and then goes to the subdomain at the same ...
11
votes
5answers
5k views

Joomla 3.6.0 to 3.6.1 results in a “invalid security token” error

I've just tried to update my site from Joomla 3.6.0 to 3.6.1 and I get the following error message: The most recent request was denied because it contained an invalid security token. Please refresh ...
11
votes
4answers
2k views

Change Login to Logout

I have a website using Joomla 3.5 and I currently have a 'Login' main menu item. Once a User logs in, there are some sub-menu items that appear under the 'Login' menu item. What I want to do is to ...
11
votes
1answer
9k views

Can I use PostgreSQL with Joomla 3.3

Can I use PostgreSQL with Joomla a 3.3 production site (not for testing) and if so is there anything I should be aware of? I would appreciate some feedback from someone who has actual installed and ...
10
votes
6answers
9k views

Jhtml::script order - how to postpone until jQuery has been loaded?

I use JHtml::script to add scripts to my pages in a custom-developed module. However, these scripts are injected into the head before J3 adds in jQuery - for example: <!-- my module js --> <...
10
votes
8answers
11k views

How to display module in component area

I often need to create a menu item that displays a module in the component area, without any other content. The way I solve this is to create a new article, and add only {loadposition mymodule} in ...
9
votes
3answers
13k views

Remove Article ID from Joomla 3 url

I am trying to remove the article id from a Joomla 3 URL. I searched around and the response is in components\com_content\router.php change 0 to 1 in $advanced = $params->get('sef_advanced_link', ...