logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Painting
Heart Disease
Horror Literature
Dating
Hiking & Backpacking
SF/Fantasy Books
Healthy Foods


dailyclick
All times in EST

Full Schedule
g
g Digital Art and Design Site

BellaOnline's Digital Art and Design Editor

g

Templates for Gallery 2 Software


The open source Gallery 2 software has a very simple default template. This will make it easy for us to customize the template to match the rest of our website. This tutorial is part of a group of tutorials about how to use the Gallery 2 software as an online portfolio. See the links below to read the previous tutorials.

If you haven't done so already, log in to the Site Admin area and go to the Themes section. Verify that the Default theme is Matrix. If another theme is set as the default, use the drop-down menu to set the default to Matrix. Leave all the default Matrix Theme Settings.

There are several ways to customize a template for a CMS. Yes, a gallery software is really just a specialized CMS system. The method I use works best for me because I only need to backup two custom folders when I upgrade the software. Then I just paste those two folders back into the gallery2 directory and I'm good to go.

Our first step is to take a look inside the gallery2 folder. There you will find many files and folders. We will add one of our two custom folders here. This custom folder will hold our website images. These will not include the images and swfs in our gallery itself. This folder is for those images that match our website. So, make a new folder inside the gallery2 directory and give the new folder a name you will easily remember. I always use dCipollo - it's easy. That takes care of our first custom folder.

C:\xampp\htdocs\gallery2\dCipollo

Our second custom folder is made from a copy of the Matrix theme folder. We will use this copy of the Matrix theme to create a new theme. You will find the matrix folder here.

C:\xampp\htdocs\gallery2\themes\matrix

You want your new theme to have its own name. So rename the copy of the matrix folder to the name of your theme. Again I use dCipollo. If I create more than one theme, I number them in sequence such as dCipollo1, dCipollo2 and so on. It's not fancy but they are easy to find in a long list of folders.

Let's look inside our new theme folder. There you will find an images, po and templates folder along with the theme.inc and theme.css files. As we customize our theme, we will make a few changes to these files. We will also make changes to the album.tpl, photo.tpl and theme.tpl files which are inside the templates folder.

Now that we've taken a tour of the gallery2 directory, we are ready to start working on our new theme.



Join us in the Digital Art and Design forum.



Add Templates+for+Gallery+2+Software to Twitter Add Templates+for+Gallery+2+Software to Facebook Add Templates+for+Gallery+2+Software to MySpace Add Templates+for+Gallery+2+Software to Del.icio.us Digg Templates+for+Gallery+2+Software Add Templates+for+Gallery+2+Software to Yahoo My Web Add Templates+for+Gallery+2+Software to Google Bookmarks Add Templates+for+Gallery+2+Software to Stumbleupon Add Templates+for+Gallery+2+Software to Reddit



 



RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the Digital Art and Design Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.

g


g features
Sketch with Your Silhouette SSDE

Simple Drawing Tools in Silhouette Studio Designer

Silhouette Studio Designer Edition Software

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor