The Joomla! CMS is the product you likely know and use. It's the Content Management System which powers many sites. Usually when talking about Joomla!, we just mean the CMS.
Official site: http://www.joomla.org/
The Joomla! Platform is the old underlying code which powers the CMS. It used to be a separated project but was merged back into the CMS. The ...
$app = JFactory::getApplication();
$postData = $app->input->post;
Is the way to go, you will get a JInput object and can use it like JRequest
$var = $postData->get('varname', 'defaultvalue', 'filter');
The filter could be 'int', 'cmd' or many others - the complete list can be found in this function: https://github.com/joomla/joomla-cms/blob/...
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 interested:
Joomla Beginner Users start here:
Joomla Beginner Tutorials - How to start with Joomla?
Glossary - It's a good idea to get familiar with Joomla Glossary ...
There are a few potential causes for file and folder permission issues on Linux hosting.
1. File and Folder Permissions
Check folder permissions are set to 0755 and file permissions are set to 0644. Note that file and folder permissions can be reset to these standard secure settings on a site wide basis using the free or the paid version of Akeeba Admin ...
Change Error Reporting to Maximum
Login to admin area
Go to Global configuration -> server
First you need to set the Error Reporting to Maximum
Edit Files in FTP
Login to your Joomla site files via FTP.
Find your index.php file located in the root of your site.
Open the index.php and add this code directly after the very first line of the file:
Would one of these work?
Members Only (From the JED)
Keep prying eyes away from part or your whole website, while they stay anonymous. Optionally you may allow visitors to directly register to your website with or without requiring for an invitation code.
registeredOnly (From the JED)
registeredOnly plugin restrict access to Joomla site to registered ...
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
Using Joomla for site building is rather simple, as it provides a friendly administration area. In most cases this is all that is needed to know for end-users and ...
Please check the permission levels, it should be 644 and 755 for files and folders respectively.
Many times the permission levels are just fine, even when some issues are faced. It means that you will have to check the the ownership and group of the specific files and folders. Normally the group and ownership can be changed to www-data for apache (used in ...
media is mostly used for
images, script and stylesheets which are served with component and plugins. (These are part of your website source-code)
Content of this folder can be overridden by template
for examples your website-logo is part of source code
But image folder is used for
images in content written by admin/users.
Its safe to assume images ...
I can't imagine a better tool than git. This is a great tool for tracking the changes that you make to code (if you are making any), is the system used by Joomla for contributing code (which is an awesome thing to do), and this is its purpose!
The workflow is pretty simple and should allow you to be pretty worry free:
Back up your joomla website (which you ...
Since you're looking for free templates I assume you're not looking to spend extra, but mysites.guru (formerly myjoomla.com) has excellent security scanning.
The details of what you're looking for:
start with looking for any inserted iframes.
Then look for any php files that are not the index.php or component.php, etc layout files..and if you see ...
Try this code:
$menu = JFactory::getApplication()->getMenu();
$parent = $menu->getItem( $menu->getActive()->parent_id );
$parentname = $parent->title
If you need the link
$parentlink = JRoute::_( $parent->link . '&Itemid=' . $parent->id );
It's always good to have a dedicated branch for each Pull Request you are going to make.
One of the simplest ways to create a up-to-date new branch is to just use the GitHub web gui to edit the file in the original repository. When saving, GitHub will automatically create a new branch in your fork based on the branch you currently edit.
If you want to edit ...
These other answers will probably lead you to the answer, however one thing I noticed as a minor problem is some plugins set up error_reporting on there own and that can override Joomla's Error reporting, so another way to fix this is to disable extensions one at a time until the site loads, plugins being the main offender.
Manually check other pages, does ...
Perhaps there is only one safe answer - only download direct from the original creator and preferably from a well known template house. Most of the commercial template devs do at least one free template. Do your research on the creator as much as the template ;)
First of all, this is the best way I know to learn new skills and to understand how Joomla works. You are not giving back, but getting back a lot as well. Disclosure: I am a Joomla Bug Squad (JBS) member.
Read more on the JBS Portal Page. To get a general idea, review all the articles from the portal page. It should give you a general ...
I think you have to download and install all Joomla versions and check which files are unique.
Also a good starting point is the index.html files in the different Joomla versions, there was a change of the content iirc.
Based on the comment of @brian-a-peat you can check the color of admin section.
thats maybe the best approach to check the checksum of ...
It depends on what .php document you're in - if you're in item.php, or the category-item.php files, the following should work.
In the top of the document, add this code:
<!-- Call to prepare extra fields -->
$extrafields = array();
foreach($this->item->extra_fields as $item)
$extrafields[$item->id] = $item->value;
So I just spent the day setting up PHPStorm for the purpose of component development. Although it was a bit of work, now that I've finished the setup my life is going to be SOOOO much easier. I don't have a tutorial to point you to, but here is the step-by-step for setting up PHPStorm with Git, VirtualBox, Vagrant, and Joomlatools/box
This is the only resource I could find that had report that are updated daily:
It also shows the percentages of different versions used too which comes in handy. Unfortunately this only refers to the CMS, not the framework.
All other resources I found are blog posts that are over a year old and as ...
Simply install the extension or template again (without uninstalling the original) by uploading it to the Extension Manager.
We typically create fully installable extensions for our sites. We install them on our development server for testing, and when they are suitable, we simply install them on the production server. As long as the method in the manifest ...
An easy solution for me is to often let PHP run in (Fast-)CGI mode and to set the ownership of the Joomla directory to the FTP user. So you will be able to upload and overwrite files via FTP and Joomla will be able to write files too.
A way to do this on a shared hosting environment (if it is allowed), is to add something like this to your .htaccess file:
Joomla uses PHPMailer as mail handler. PHPMailer has a nice SMTP log if you turn it on. You can do this by setting the SMTPDebug variable to true
$mailer = JFactory::getMailer();
$mailer->SMTPDebug = true;
Clients don't have access to the media folder by default. JCE, media manager, a number of galleries and banner sliders, they're all looking to the images folder for content data.
We care more about making things easy and streamlined for our clients and keeping them out of trouble than we do about putting things where we're told, so we use images as the main ...
There are also these:
The change in market share is considerable when the results are filtered to the top 1 million, top 100k and top 10k websites, especially with Drupal.
Given that a free WordPress website can be created in seconds, and this is not something that can currently be ...
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 videos which explain how to develop various things. http://dbhurley.com/jd101-joomla-development-tutorial-series/
The API page is a good ressource as well. http://...
@Bakual did a good job of explaining it, but I just wanted to add that a big purpose of the Framework is to improve practices for everyone who develops extensions for the CMS. It follows modern practices and makes it easier to write clean, testable code. I say this from the standpoint as a big proponent of the Framework (I've contributed heavily) and from ...