zenphoto forums » General Zenphoto Discussion

How to make a ZenPhoto Theme!

(23 posts)
  • Started 6 years ago by GameDudeX
  • Latest reply from acrylian
  1. DarrellD

    Contributor
    Joined: Jan '06
    Posts: 300

    While waiting for the 1.0.3 release (hopefully before I go to bed), I decided to stop working on my hack (which might change depending on how 1.0.3 is) and finish up my Wiki article on how to make a theme for ZenPhoto.

    I tried to make it as easy as possible (while still allowing me to be as lazy as possible =P ).

    Anyways, if you're interested, you can view it HERE. (NOTE: This article is very outdated)

    EDIT (more theme documentation):
    New Theming Tutorial: http://www.zenphoto.org/2008/05/theming-tutorial/
    Functions guide (official version): http://www.zenphoto.org/documentation-official/index.html
    Functions guide (svn/nightly): http://www.zenphoto.org/documentation/index.html
    Forum post with function help: http://www.zenphoto.org/support/topic.php?id=132&replies=13
    Upgrading themes to 1.1: http://mitcho.com/blog/2007/11/04/updating-your-zenphoto-theme-for-zenphoto-11/

    Posted 6 years ago #
  2. dspnorman

    Member
    Joined: May '07
    Posts: 46

    Just found this... but the link appears dead. Any chance you could re-post, or tell me where to find the tutorial? Thanks!

    Posted 5 years ago #
  3. DarrellD

    Contributor
    Joined: Jan '06
    Posts: 300

    Sorry, but at one point the files on that link were lost. I stupidly didn't have a backup. I no longer have the time to recreate it. Sorry.

    Posted 5 years ago #
  4. dspnorman

    Member
    Joined: May '07
    Posts: 46

    Okay, no worries. I found the wiki stuff about dev tags, and that's a start. Looks like I should be able to hack up one of the exisiting themes pretty well to suit my needs.

    Posted 5 years ago #
  5. tiolon

    Junior
    Joined: Jun '07
    Posts: 8

  6. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    Nice description.

    On thought. If someone is not using Firefox and does not know any French, the automatic "get Firefox" page might leave them at a loss.

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  7. dspnorman

    Member
    Joined: May '07
    Posts: 46

    That's what I've been looking for. Thanks for posting.

    Posted 5 years ago #
  8. thinkdreams

    Contributor
    Joined: Jun '06
    Posts: 653

    I stuck this topic, as it is relevant to a number of questions lately. Anybody want to have a go into moving the explanation into the trac wiki?

    Posted 5 years ago #
  9. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,340

    I made a simple template function reference. It's mostly for myself so that I can take a quick look at the functions. It's inspired by this thread http://www.zenphoto.org/support/topic.php?id=132 and uses info found in the template-functions.php itself.
    It certainly needs expansion. If you think it's useful I can move it into the trac the next days so that everyone can help expanding it.

    Take a look (it's an rtf-File): zenphoto-template-functions-reference-v0.1b.tgz

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  10. cregy

    Junior
    Joined: Sep '05
    Posts: 6

    This is a useful start but is there any additional coding I need to ensure sub-albums work please?

    Thanks.

    Posted 5 years ago #
  11. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,340

    Just take a look at the source code of the testing-dev theme's album.php which is included with standard zenphoto. It's indicated there pretty clear what you need for subalbums. But you know subalbums are not fully implemented currently. You cannot modify them via the admin-backend.

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  12. mitchoyoshitaka

    Junior
    Joined: Nov '07
    Posts: 6

    I just wrote an article on how to update custom zenphoto themes to incorporate new zenphoto 1.1 features, for anyone who's interested:

    Updating your zenphoto theme for zenphoto 1.1

    mitcho

    Posted 5 years ago #
  13. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

    You might wish to add this to the WIKI, perhaps on this page: http://www.zenphoto.org/trac/wiki/ZenphotoThemes

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  14. aitf311

    Contributor
    Joined: Nov '05
    Posts: 481

    mitchoyoshitaka: awesome writeup! very detailed

    Posted 5 years ago #
  15. mitchoyoshitaka

    Junior
    Joined: Nov '07
    Posts: 6

    sbillard, thanks for the suggestion--I added a link to the wiki page.

    Posted 5 years ago #
  16. Zenphoto development team
    trisweb

    Project Manager
    Joined: Sep '05
    Posts: 1,833

    The new Theme download page is up, refresh zenphoto.org to see it. Thanks Mark (aitf311) for putting it together.

    Posted 5 years ago #
  17. DarrellD

    Contributor
    Joined: Jan '06
    Posts: 300

    Hey guys. Looks like you guys are doing a great job. And aitf311, I LOVE the new theme page! Great job!

    Posted 5 years ago #
  18. spencerjw

    Junior
    Joined: Mar '08
    Posts: 6

    I am loving this and I can't wait to get it installed on my server. I am lucky enough to have DreamHost as a hosting provider and they have just added your software to our one-click install options.

    However, before I go and install yet another photo gallery (I've tried them all) I wanted to make sure that it'd fit the "style" of my site.

    Both my general site as well as my WP Blog have the same theme I was able to download, I wanted to know if you had it in your list of themes, had it on a list of themes to make, or know someone that has already made it.

    http://spencerjw.com/
    http://spencerjw.com/blog/

    The theme name is: darkned-theme-10

    Posted 5 years ago #
  19. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,340

    All available themes are listed here: http://www.zenphoto.org/zp/theme/
    We are not actively making themes, we simply do not have the time for that. But if you want to make a new theme that is welcome.

    For tips on including zenphoto in wordpress see here:
    http://www.zenphoto.org/2008/01/wordpress-plugins/
    http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin

    You will of course have to do some adjusting before everything fits.

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #
  20. Zenphoto development team
    trisweb

    Project Manager
    Joined: Sep '05
    Posts: 1,833

    Spencer, it's good to hear Dreamhost has included Zenphoto in their one-click packages. Very cool.

    Though I would not say you're "lucky" to have them as a provider ;-) Just wait until they kick you off for using too much processing time or hosting too many images.

    The "default-dark" theme may go well enough with your site, but we don't have a large variety of random themes yet like Wordpress does. However, it's not hard to create a theme for Zenphoto if you want it to match your site. See the 'showcase' section for examples of many people who have done this.

    Posted 5 years ago #
  21. macalter

    Contributor
    Joined: Mar '08
    Posts: 630

    trisweb,
    I use Dreamhost and have yet to have a problem with them. Only catch is their zenphoto install is not "Advance". It installs all the files but not into the user's directory so you cannot customize/set options. Dreamhost is extremely generous in their offerings so doubt being kicked off will be a problem.

    PS: Is this the forum I ask about adapting one of the existing themes?

    Posted 5 years ago #
  22. Bloomy

    Apprentice
    Joined: Mar '08
    Posts: 1

    I'm building my own ZenPhoto theme, aka Gollum4Zen. My purpose is the integration with my blog theme. But i'm having any problems... I think that creating Zen themes is too complicated

    Posted 5 years ago #
  23. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,340

    What exactly do you find too complicated? Of course you need to know a little about HTML and CSS to build your own custom theme. That is unavoidable...

    Don't forget to read the Forum rules and usage resources
    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.