Coppermine Themes
Changing a theme/template with Coppermine is quite an easy task. Generally, you just have to download the theme archive, extract it to your local computer and upload it to your Coppermine themes directory. A good source of free Coppermine themes is the Coppermine themes gallery at SiteGround.com. Now let us try to upload a new theme.
First, we will need to find a theme archive to use. For the purpose of this tutorial, please, choose any of the templates available at Coppermine themes gallery. Please, download the .zip file of any theme on your local computer and extract it. This will create a new directory named after the theme's name.
To make the new theme available for your Coppermine application however, we will have to upload it first. Please, open an FTP connection using your favorite FTP client and navigate to the directory, where your Coppermine gallery is uploaded (if you access your gallery from your domain name, e.g. http://yourdomainname.com, the Coppermine directory is the public_html folder). From there, please enter the themes directory and upload the whole extracted new theme directory there. This will create a new directory with the theme's name, which will have the following full path: /public_html/themes/theme_name
Changing the Theme of your Coppermine Gallery
This can be done through the Theme Settings tab. Expand it to see all the features:


Theme configuration options
- Display Theme list - If enabled, this option will allow your users to choose a template to use.
- Display "reset" in theme selection - this option applies only if the Display Theme list is enabled. It will display a default list, which will allow your users to go back to the default template of your Coppermine gallery.
- Display FAQ - The Display FAQ option adds an "FAQ" (Frequently Asked Questions) link on the frontpage of your gallery. This will allow your gallery users to get familiar on how Coppermine works. If you wish to change the contents of the FAQ section, you will need to edit /your_coppermine_folder/lang/yourlanguage.php (where yourlanguage.php is the language your gallery is using - e.g. english.php) Edit the contents after the following line:
//
------------------------------------------------------------------------- //
// File faq.php
//
------------------------------------------------------------------------- //
- Name of your custom link - this option will allow you to create a custom link on the frontpage of your Coppermine Gallery. Note that this option is only for setting the name of the link that will be displayed (e.g. if you want to set a link for your forum you can name the link Forum)
- URL of your custom link - this is where the actual URL for your "Name of your custom link" should be. If we take the forum example again it would be something like http://yourdomainname.com/forum.
- Path to custom header include/Path to custom footer include - both of these options allow you to add custom headers and footers to the template of your gallery. Note that you should put the relative path to the header/footer files for these options.
|