@thinkdreams. Let me start with a sincere thanks for your tireless efforts to keep this forum and wiki up to date. And let me end with a suggestion:
In the theme repository you should include a link called DEMO or THIS THEME IN ACTION or something so that people can look at the themes in their full glory before they try it out. If this is already implemented and I have just not noticed it, please excuse my oversight.
Another idea: In future maybe there could be a form to help theme authors to submit themes in an appropriate format. This will help keep things standard which may not happen if someone other than you or Tristan is adding a theme.
Comments
As for the theme demos, not every theme will definitely have a demo attached with it, but where they exist, I try to put them in there. For instance, the Effervescence theme and the Highslide theme both have demo links where the others do not (because they don't exist).
As for the form, that would be a nice addition, but for now, we'll have to do it manually. I don't mind so much. That's the nice thing about a wiki. It makes it less complex to add stuff.
http://beta.chilifrei.net/zenphoto/
It has all the themes I have collected. I will update it again when I get home.(actually since it is valentines day my wife might not let me get to it today)But I will update it with all the themes from the repository.
admin username and pass are default. Just be nice with it..
@Trisweb: "I could add a little argument switch to the demo on zenphoto.org that lets you load whatever theme you want..." I just thought of something. Does this mean different people can simultaneously view the same gallery using different themes? I can't imagine how but if so this could be offered as a publicly accessible switch in the general release so people can offer a choice of themes to visitors to their site. Personally I am not crazy about it but I can see how it could have its uses. For example someone wanted a theme that could stitch together Photoshop art sideways. If they write such a theme, visitors to the site could have the choice of seeing the images stitched together or just normally with one of the "normal" themes.
http://beta.chilifrei.net/zenphohto/zen/admin.php
It should be reasonably straight forward to create some code which checks to see if you have a cookie set with a different theme and to use that instead of the general theme.
It's also pretty easy to do the cookie check, as he noted. That's basically what I was thinking when I had the idea.
Here is the Link to the Demo: http://san-maki.de/zendemo/index-demo.php
The changed Files (index-demo.php, /zen/class-gallery.php) can i upload if you need it. Pls give me feedback about this Themedemo.
Tom
One minor thing, if the Select box showed the current theme you're on instead of always going back to "Zenphoto Default" that would be great.
Also, I'd add download links for the themes not included in the releaese, but I can do that myself :-)
A download link in the theme-selector is currently not avaible, because the theme-selector uses only the zenphoto database, and there are no homepages from the themes included.
Edit: the theme-selector is fully css stylable ^^
Arghh i need my english-book...
Tom
http://san-maki.de/zendev/zenthemedemo.tar.bz2 or http://san-maki.de/zendev/zenthemedemo.zip
Install:
Create a new zenphoto Installation or duplicate a existing one. Unzizp / UntarBzip2 ^^ the Archive over your new zenphoto-demo gallery.
The following files will be created (N) or overwritten (O):
(N) zenphoto/index-demo.php
(N) zenphoto/zp-demo/header_bg.png
(N) zenphoto/zp-demo/header_demo_logo.png
(N) zenphoto/zp-demo/index.php [Fix if Apache::Indexes = On]
(N) zenphoto/zp-demo/index-demo.css [Stylesheet for the Demo]
(O) zenphoto/zen/class-gallery.php [getCurrentTheme() and setCurrentTheme() are customized]
Every User stores his selected Theme in a PHP Session key, and then the Gallery will be reloaded with the new theme-setting.
The Input from the From is secured to disable injecting any code.
$tmp_x = $_zp_gallery->getThemes();
$theme_get = isset($tmp_x[$_GET['selected_theme']]) ? $_GET['selected_theme'] : 'default';
ToDo:
Download Link (Extents the ZP Database and Class)
Download Count
Rating Feature