Hot answers tagged

26 votes
Accepted

Joomla 3.x extension development tutorial for a beginner developer

I will provide the list of my bookmarked links and a list with links for Joomla Development Books, with various resources all around Joomla Development. I hope they will be useful for anyone ...
user avatar
  • 19.5k
14 votes
Accepted

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

Answer's ToC 1. Intro for beginners + beginners resources link 2. About Joomla Architecture 3. Joomla Execution Flow - How Joomla Works 4. Supplementary Resources 1. Intro for Beginners ...
user avatar
  • 19.5k
9 votes
Accepted

Where can I find Joomla usage statistics?

This is the only resource I could find that had report that are updated daily: http://w3techs.com/technologies/details/cm-joomla/all/all It also shows the percentages of different versions used too ...
user avatar
  • 26.5k
8 votes

Where can I find Joomla usage statistics?

There are also these: http://trends.builtwith.com/cms http://trends.builtwith.com/cms/Joomla! The change in market share is considerable when the results are filtered to the top 1 million, top 100k ...
user avatar
8 votes

Joomla 3.x extension development tutorial for a beginner developer

I can recommend the official doc page. There is a section for developers which includes also tutorials. http://docs.joomla.org/Portal:Developers David Hurley is currently doing a series of short ...
user avatar
  • 5,527
7 votes
Accepted

What differences (if any) are there between JFactory::getSession() and $mainframe->getSession()?

The global variable $mainframe was remove in Joomla 1.6 and therefore will not work from that version onwards. global $mainframe should be replaced with $mainframe = JFactory::getApplication(); but ...
user avatar
  • 26.5k
7 votes

Joomla 3.x extension development tutorial for a beginner developer

Previous answers are comprehensive about Joomla Core MVC. As an alternative MVC for Joomla, FOF https://www.akeebabackup.com/documentation/fof/introducing-fof.html#what-is-fof https://github.com/...
user avatar
  • 7,415
6 votes

Should I change the way I include javascript into Joomla? If yes, why and how?

Articles are for content, not source code. Rule of thumb, different content in different places. If I have to quickly include Javascript, I would recommend NoNumber Sourcerer: http://www.nonumber.nl/...
user avatar
  • 7,415
5 votes

Where can I find Joomla usage statistics?

You have to be careful with any of the reported data below and see it as data relative to that source data. No web service knows exactly the make up of the internet by cms or any technology as all the ...
user avatar
5 votes
Accepted

How can I diferentiate between guests and members?

I usually do something like this: <?php $user = JFactory::getUser(); if ($user->guest) { // User is not logged in } else { //User is logged in } ?> Take a look ...
user avatar
  • 13.3k
5 votes

How can I diferentiate between guests and members?

You can either use this: $user = JFactory::getUser(); if($user->id != 0) { // you are a member } else { // you are a guest } or this: $user = JFactory::getUser(); if($user->guest) { ...
user avatar
  • 26.5k
5 votes

Community of photographers: is Joomla the CMS to go for?

You are right, most of the CMS dedicated for organizing image galleries are portfolio type websites for a single user. Joomla on the other hand provides great power and flexibility to built what you ...
user avatar
  • 19.5k
4 votes

What are the top reason to reconsider Joomla?

Joomla is Responsive One click installation via App Store : Joomla call it 'Install from Web' Joomla is more secure 2 Factor authentication Better encryption using Bcrypt : Why Bcrypt is the ...
user avatar
  • 1,291
4 votes
Accepted

Should I change the way I include javascript into Joomla? If yes, why and how?

If you're including the JavaScript as a user and customized to your article, then it's fine. Especially if it is different for each article. However if you happen to repeat the same JavaScript code ...
user avatar
  • 5,527
4 votes

"echo" title article before read more

If you have selected category blog view and you need to print the article just after the intro text, try to override the following template: /templates/yourtemplate/html/com_conetnt/category/blog_item....
user avatar
4 votes
Accepted

Why are the default "index.html" files not valid HTML5?

In Joomla these files are placed in folders to keep someone from seeing the contents of it's parent folder in a list that is automatically created by apache when no index file is present. It is a ...
user avatar
4 votes

How can I diferentiate between guests and members?

Besides the direct programmatic method to conditionally show different contents (JFactory::getUser()->guest), there's an alternative to create a Guest group to identify this specific set of users; in ...
user avatar
  • 7,415
4 votes
Accepted

Server-side validation rule is not being found

It seems that you actually have to specify what the path is for and put it in the right place, lol! The problem was in specifying a path for the fields instead of for the rules! This correction ...
user avatar
  • 7,685
4 votes

How can I use google recaptcha in my custom page?

First read carefully in which files the SO answer that you quoted tells you to put the code. Also, the code you attached is no longer working in Joomla 3.5. This is due to a change in the reCaptcha ...
user avatar
  • 725
3 votes

How to add validation in my own module?

Change document.fileupload.doc_type.value to document.getElementById('file').value. Also, you're checking if the value is "" AND null, I'm not sure if that is possible. Unless you need to verify the ...
user avatar
  • 13.3k
3 votes

What differences (if any) are there between JFactory::getSession() and $mainframe->getSession()?

As for ressources about $mainframe: http://docs.joomla.org/J2.5:What's_new_in_Joomla_2.5 http://docs.joomla.org/Adapting_a_Joomla_1.5_extension_to_Joomla_1.6#Global_Variables_.28.24option_and_....
user avatar
  • 5,527
3 votes

Should I change the way I include javascript into Joomla? If yes, why and how?

Should javascript not be included via joomla articles? If yes, why? I would advise gently against using JS straight up in articles... Not user-friendly - many editors will wipe out JS written inline ...
user avatar
  • 2,295
3 votes
Accepted

joomla protostar formfield width responsivness

The following classes can be added to your input field in order to control the size: class="inputbox input-mini" class="inputbox input-small" class="inputbox input-medium" class="inputbox input-...
user avatar
  • 13.3k
3 votes

Copying Joomla Menu Items and keeping Module assignements

I needed exactly the same thing so I made a plugin that makes Save as copy work that way. You can find it here: https://github.com/alexxandar/copy-module-assignments
user avatar
3 votes
Accepted

Where can I find Joomla upcoming release dates?

There is the official roadmap which is posted at http://developer.joomla.org/cms/roadmap.html. It gives you the broad picture at which month the minor releases are going to be released As for patch ...
user avatar
  • 5,527
3 votes

Is there an extension/script that could pull html pages as articles in to Joomla?

The simplest way to load articles from external sources is via RSS Feeds. There are several proven extensions at JED that already implement a RSS Article Grabber: http://extensions.joomla.org/search?...
user avatar
  • 7,415
3 votes

Disable website to all but logged in users

I'm going to give my answer for this based on @Bryan's answer. The Members Only plugin looks very promising, so no comment on that. The registeredOnly plugin is free, however I was not impressed ...
user avatar
  • 26.5k
3 votes

Recommended extension / tool to check for core file modifications?

http://audit-fs.co.za/ has a free tool called Audit_FS that shows you modified Joomla files and/or possibly corrupted Joomla files. As a basic security tool Audit_FS is designed to perform audits ...
user avatar
  • 39
3 votes

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

It seems that no one has mentioned disabling output buffering - so I'll mention it here... Output buffering is very nasty for debugging, and even if you set your error reporting to maximum and add ...
user avatar
  • 3,186
3 votes
Accepted

Controlling Component Redirect (Using JControllerForm)

The redirect is likely getting overridden by the save function in your controller. You should be able to override the redirect with the method that you listed, we just need to get it in the right spot....
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible