ZenphotoCMS Forum
Theme documentation - A begining - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Theme documentation - A begining (/thread-135.html)



Theme documentation - A begining - simon - 01-11-2005

I made this list for my own use while I'm making my own templates / theme.

I'm just posting it up in case it might be useful for someone else.

please adjust and ammend it - i'm sure i have made some mistakes.

--->
---> link to album list view page - (album.php)

">

-----------> prints the Gallery title

--------------> prints the album title

----------> prints the url to the theme root folder

-----------> links to any external .js files and prints sajax / js scripts

----> prints the gallery home page url

-----> prints the ghallery title (dont know the difference between this and )

-------> prints the album title (dont know the difference between this and )

-------> prints the album description

the folowing chunk writes your thumbnail navigation.

----------> the link to the bigger picture
---------> the image title
----> the thumbnail itself

----> this will print out a "< previous next >" style nav which moves from album to album

----> prints the admin link if you are logged out

image.php

  function toggleComments() {
  var commentDiv = document.getElementById("comments");
  if (commentDiv.style.display == "block") {
    commentDiv.style.display = "none";
  } else {
    commentDiv.style.display = "block";
  }
  }




the following block outputs the image nav "< previous  next >" and finds out if there is another image or not.


    " title="Previous Image">« prev

    " title="Next Image">next »

this block gives you the image:

     --> image url
     ---> image title
     ----> prints image at your large image
      -----> prints the image description



Theme documentation - A begining - trisweb - 09-11-2005

Thanks very much, I'll make it sticky, and I'll try to get real documentation made sometime in the future.




Theme documentation - A begining - DarrellD - 28-01-2006

Hey trisweb, if you setup a wiki, we can all contribute to the documentation. If you're busy, I can try and set one up.

I think this would also help other start working on new themes.




Theme documentation - A begining - trisweb - 07-02-2006

Wiki sounds like a great idea.

I'm currently working on completely moving my server to a new one... so after that's done maybe I can install one.

A better site for all of ZP is due... with a theme page, a doc page, etc. etc. Perhaps we can build it off a Wiki. Sounds like a great idea.




Theme documentation - A begining - Skwid - 08-02-2006

Hey,
I definately recommend Trac (http://www.edgewall.com/trac/). It is a free project management software written in PHP, which includes SVN for code contribution, wiki is also integrated... tons of cool features. Many large projects use it, and I think it would be very appropriate for zenphoto !

My 2 cents.




Theme documentation - A begining - DarrellD - 08-02-2006

Trac looks very nice; lots of features.




Theme documentation - A begining - kenbacca - 09-02-2006

isn't track writting in python?




Theme documentation - A begining - Skwid - 09-02-2006

Oh maybe you're right :) Sorry about that !




Theme documentation - A begining - javafueled - 01-03-2006

JIRA and Confluence. Java. [i][b]Free license[/b][/i] to open source projects. JIRA is an issue tracker, Confluence a wiki. Atlassian is the company.




Theme documentation - A begining - trisweb - 06-03-2006

javafueled -- that's what we got! (by strong reccomendation from luckyspin as well)'

Looks to be great stuff so far. We'll start using it for real soon.




Theme documentation - A begining - aitf311 - 09-04-2006

I made a list of all the themes I could find and thought I would share it:
Binary / download
Cimi (unreleased)

EnsellitisZEN / download
iZen / download
K2 Integration / download
Killer Bee / download
Lightbox / download (alternative version)

Stopdesign / download
Thatlittleguy Green / download

--
(Note: Added by trisweb)


Sterile / Download (Levi Buzolic)




Theme documentation - A begining - trisweb - 15-04-2006

We should just move this whole thread to the Wiki ;-)




Theme documentation - A begining - simon - 11-01-2007

is the wiki still down?




Theme documentation - A begining - hottuna - 19-05-2008

Shit! Wrong thread! Sorry..




Theme documentation - A begining - macalter - 20-05-2008

several of the links are 404: iZen, K2 Integration, EnsellitisZEN and Sterile has no link for view




Theme documentation - A begining - acrylian - 20-05-2008

Of course. First, this thread is really old, what do you expect? And second we have a themes page on our site...