Joomla Tips and Tricks – Use an IDE to create a project for your component

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.

open panels2)  Open the left side panel by going to the toolbar and clicking the button showed in the right image or by clicking View -> Tabs & Sidebars -> Place.

Somthing like this will appear at the left side of the IDE:

places

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:

back end com_content

If you’ll double click the newly added directory, you’ll see it’s contents in the Places sidebar:

places com_content

5) Next, create a group for the back-end language files. Right click Back-end, click Add -> New Group and just call it language.

back end 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.

back end language files

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.

1 Comment
  1. I suggest to try Codelobster PHP Edition – http://www.codelobster.com
    It has special support for Joomla

Leave a Reply