Member
Member
simon   2005-11-01, 23:14
#1
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.

<?php while (next_album()): ?> --->
<?=getAlbumLinkURL();?> ---> link to album list view page - (album.php)
<?=getAlbumTitle();?>
<?php printAlbumThumbImage(getAlbumTitle()); ?>
<? printAlbumDate("Date Taken: "); ?>
<?=getAlbumLinkURL();?>
<?=getAlbumTitle();?>">
<?php printAlbumTitle(); ?>
<?php printAlbumDesc(); ?>
<p style="clear: both; ">
<?php endwhile; ?>

<?php printGalleryTitle(); ?> -----------> prints the Gallery title

<?=getAlbumTitle();?> --------------> prints the album title

<?= $_zp_themeroot ?> ----------> prints the url to the theme root folder

<?php zenJavascript(); ?> -----------> links to any external .js files and prints sajax / js scripts

<?=getGalleryIndexURL();?> ----> prints the gallery home page url

<?=getGalleryTitle();?> -----> prints the ghallery title (dont know the difference between this and <?php printGalleryTitle(); ?> )

<?php printAlbumTitle(true);?> -------> prints the album title (dont know the difference between this and <?=getAlbumTitle();?>)

<?php printAlbumDesc(true); ?> -------> prints the album description

the folowing chunk writes your thumbnail navigation.

<?php while (next_image()): ?>
<?=getImageLinkURL();?> ----------> the link to the bigger picture
<?=getImageTitle();?> ---------> the image title
<?php printImageThumb(getImageTitle()); ?> ----> the thumbnail itself
<?php endwhile; ?>

<?php printPageListWithNav("« prev", "next »"); ?> ----> this will print out a "< previous next >" style nav which moves from album to album

<?php printAdminLink('Admin', '', ' | '); ?> ----> prints the admin link if you are logged out

image.php

<?php printGalleryTitle(); ?>
<?=getAlbumTitle();?>
<?=getImageTitle();?>
<?= $_zp_themeroot ?>

<script type="text/javascript">
function toggleComments() {
var commentDiv = document.getElementById("comments");
if (commentDiv.style.display == "block") {
commentDiv.style.display = "none";
} else {
commentDiv.style.display = "block";
}
}
</script>

<?php zenJavascript(); ?>

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

<?php if (hasPrevImage()) { ?>
<a>" title="Previous Image">« prev</a></div>
<?php } if (hasNextImage()) { ?>
<div class="imgnext"><a>" title="Next Image">next »</a></div>
<?php } ?>

this block gives you the image:

<?=getFullImageURL();?> --> image url
<?=getImageTitle();?> ---> image title
<?php printDefaultSizedImage(getImageTitle()); ?> ----> prints image at your large image
<?php printImageDesc(true); ?> -----> prints the image description
Developer
Developer
trisweb   2005-11-09, 22:33
#2
Thanks very much, I'll make it sticky, and I'll try to get real documentation made sometime in the future.
Member
Member
DarrellD   2006-01-28, 06:25
#3
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.
Developer
Developer
trisweb   2006-02-07, 23:07
#4
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.
Member
Member
Skwid   2006-02-08, 03:52
#5
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.
Member
Member
DarrellD   2006-02-08, 08:20
#6
Trac looks very nice; lots of features.
Member
Member
kenbacca   2006-02-09, 03:23
#7
isn't track writting in python?
Member
Member
Skwid   2006-02-09, 03:38
#8
Oh maybe you're right :) Sorry about that !
Member
Member
javafueled   2006-03-01, 02:14
#9
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.
Developer
Developer
trisweb   2006-03-06, 00:28
#10
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.
Member
Member
aitf311   2006-04-09, 19:51
#11
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)
Developer
Developer
trisweb   2006-04-15, 06:06
#12
We should just move this whole thread to the Wiki ;-)
Member
Member
simon   2007-01-11, 23:40
#13
is the wiki still down?
Member
Member
hottuna   2008-05-19, 14:43
#14
Shit! Wrong thread! Sorry..
Member
Member
macalter   2008-05-20, 03:48
#15
several of the links are 404: iZen, K2 Integration, EnsellitisZEN and Sterile has no link for view
Administrator
Administrator
acrylian   2008-05-20, 08:19
#16
Of course. First, this thread is really old, what do you expect? And second we have a themes page on our site...
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.