When developing a Joomla component, browsing between the administrator and front-end components directories, not to mention the language directories can be very time consuming and annoying.
In my current tutorial I will give you some tips and tricks on how to save your time and nerves.
It’s not a big secret, it’s actually common sense, and while I’m sure that a lot of you Joomla components developers are using the following techniques that I’m about to explain, I know that there is a part of you who would benefit from this tutorial.
As you might have figured from the title of this article, you will need an IDE.
I will be writing this tutorial for Komodo Edit, because that is what I use, but it can be applied, with a few differences, to any other IDE.
Let’s use com_content as our guinea pig.
1) The 1st step is to create a project, so after launching Komodo Edit, go to the Project menu, click New Project, then choose a project name (as seen in the image below, under Projects, I have saved it as com_content) and save the file wherever you like.
Somthing like this will appear at the left side of the IDE:
3) Create a group for the back-end files. You can do this by right clicking com_content (under Projects – seen in the image above), then clicking Add -> New Group. You can name it however you like, but I will just call it Back-end.
4) Add the com_content’s administrator component directory. Start by right clicking Back-end, then clicking Add -> Existing Folder. A Browse For Folder dialog will appear. So locate the com_content folder in the /administrator/components directory and click OK. If all goes well you should now have something like this:
If you’ll double click the newly added directory, you’ll see it’s contents in the Places sidebar:
5) Next, create a group for the back-end language files. Right click Back-end, click Add -> New Group and just call it language.
6) Now let’s add the language files. Right click language, click Add -> Existing File, browse to /administrator/language/en-GB (if the language files are written in English), select en-GB.com_content.ini and en-GB.com_content.sys.ini and finally click Open.
And we’re done with the com_content‘s back-end.
For the front-end just repeat steps 3 to 6. Remember that the components and language directories for the front-end are stored in the root directory of Joomla.