News

Help Wanted: Database abstraction

Zenphoto is persuing adding database support for databases other than MySQL. To this end we have created a database abstraction layer and implemented two additional abstractions: PDO_MySQL and PDO_SQLite.

The former is pretty straight forwared, but some additional "exposure" on it would be apppreciated. The latter has run into an impass. We are not knowledgeable of SQLite and have things which do not work but we do not understand.

So by this ticket we are looking for developers with SQLite (or perhaps some other Database) knowledge to participate in this abstraction effort. Please signify your interest on ticket #1711.

Multi-lingual sites

Zenphoto is fully capable of running multilingual sites if you want to provide your content in more than one language. "Content" means data stored in your database such as image and album descriptions.

The multi-lingual mode option

For these to have multiple languages you will need to have the multi-lingual check box checked in your gallery configuration.

multilingualcheckbox

Backend usage

Once this option is enabled, each edit field in the back-end will have multiple inputs, one for each configured language. You then just fill in the translation for each language you wish to support manually. This also works for plugins that provide text options if they are setup for multilingual use.

multilingualinputs

Note: The contents of each language still share the same database field (e.g. title or description) but it is divided and (...)

The nightly builds are back

We found the issue and you can now again download them as usual.

Nightly builds currently broken

Unfortunatly the generation of nightly builds is broken since September 3th. Although there are archives generated they are corrupt and useless. We hope to get that fixed as soon as our server admin finds the time for it.

If you need to try the development stream you can download it from the svn trunk manually currently via the zip-download at the bottom of the page. Or via the svn directly if you are familiar with that.

Zenphoto 1.3.1.2

Zenphoto 1.3.1.2 is a quick release for a security fix. We strongly suggest you upgrade to this release, especially if you have enabled allowing strangers to become registered users of your site.

no_show

Totally hides unpublished images from not signed in viewers.

Requires Zenphoto v1.3.1.1 or later

Zenphoto 1.3.1.1

This is a bugfix release for Zenphoto 1.3.1. The full list of changes can be viewed in the Trac log.

As always you can download it on our download page.

class-pdf

A plugin to list PDF files with a default image within the gallery. Display of the files is handled by the browser/system itself.

Dokuwiki-zenphoto

A Dokuwiki plug in which synchronizes the Dokuwiki user database with Zenphoto's user database.

Theming Tutorial

Part 1: Theme Basics

What should I know before making a custom theme?

During the process of this article, we will be looking at the basic files and functions that are necessary to create a working Zenphoto theme, We'll use the basic theme as an example. We will not go into every single detail of the code because we assume that you have a good understanding of HTML and CSS. You should also have a basic understanding what PHP is and how PHP code is put into a webpage and communicates with the server and returns information back to the client. If you don't have this understanding we recommend to learn that first. Good resources are for example:

For more detailed information on the Zenphoto template functions please visit our functions documentation and it's accompaning (...)