Home - Article Writing - Web Content - Press Release - Jobs - Directory - Search:

Joomla Template Tutorial - Changing File Permissions

By: Simon Champion

Joomla Template Tutorial - Changing File Permissions

There may be times when you would like to edit your Joomla template files and this can be prepared either from within Joomla itself or by editing the file on your computer. For this example let's imagine we want to edit the template.css file of the beez template that comes with Joomla.

Editing Joomla Templates from inside Joomla:

Login to your Administrator section of Joomla

The Control Panel will display

Select Extensions/Template Manager from the Menu bar

The Template Manager will show

Select the Template you wish to edit i.e beez

The Template Edit page will display

Let's picture you wish to edit the template.css file

Choose Edit.css

The Template CSS Editor page will display listing all the css files that are linked with your Joomla web web site

Notice that in nearly all cases all the files will be unwritable.

To amend these files you will need to amend the permissions so that you can alter the coding

This is where it becomes a little more complex particularly if you are not accustomed with FTP

You will need an FTP product to change the permissions such as Filezilla ( HYPERLINK "http://wiki.filezilla-project.org/Main_Page" http://wiki.filezilla-project.org/Main_Page) or you could download a 30 day trial of Dreamweaver

Any program you select, login to your server where you will see a list of files intended for your joomla site

Go to to the Template folder and then to the folder of the template you would like to amend. For this example let's use beez

Select the beez folder and you will see a folder called css

Choose the css folder and you will notice the template.css

If you are using Dreamweaver, right click on the template.css

The Microsoft Windows pop up window will display and you will notice an option called Set Permissions

In support of other programs you will want to read the manual

Choose the Set Permissions option

The File Access Properties window will show and you will see that the file is set to 755 in other words it can be read and executed by everyone but not except for the owner of the file

Edit the permission to 777 which will give everybody access to read, write and execute the file

Be aware that this file is now vulnerable so you want to amend it back as soon as you can to 755

Open up your Template Edit Page in Joomla

You might want to refresh the page and you will currently see that your template.css file is writeable

Choose template.css and click the edit button

The Template Manager page will show and you can make your amendments

Click the Save button when you have finished your changes

Check that your changes have been reflected in your web site

You might need to close the browser and open it again for you to be able to notice the changes

Return to your FTP program and set the permissions back to 755 so that your file cannot be written to

The next way of editing your template.css file is to download the file to your PC:

Using the FTP application login to your server

Navigate to the Template folder and then to the folder of the template you would like to edit. For this example let's use beez

Choose the beez folder and you will see a folder called css

Choose the css folder and you will notice the template.css

Download the file to your computer

In Dreamweaver you are able to simply double click on the file

You won't have to worry about permissions

I suggest you make a copy of this file incase you make a mistake so call it something similar to templateBACKUP.css

Open the file and make your changes

Upload the file back to the original folder. This will overwrite the original file

Refresh your browser and notice your changes

Article Source: http://www.articlecontentprovider.com/articlesubmit

There may be times when you wish to edit your Joomla template files and this can be prepared either from within Joomla itself or by editing the file on your computer.

For further information and tutorials on Joomla check out http://www.joomlainformation.com and for Joomla Templates check out http://www.joomlainformation.com/joomlar-templates.html

Freelance Jobs

Please Rate this Article

Click the XML Icon Above to Receive Articles Via RSS!









Need Articles or Content written for you?
Article Directory Toplist