Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost FAQ

Thread Closed
 
Thread Tools
  #1  
Old 10-03-2004, 08:36 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Create Your Own Templates (outdated)

How to Create your own templates

This is very, very much in need of a better write-up.
I give you the tags, better that than nothing. Hopefully you'll manage to figure them out. The templates need to be named as they are in the default set.

image_template.html // main page with photo
comment_template.html // popup comments
browse_template.html // archive
referer_template.html // refererlog

The basics are anyway that you design your full HTML page how you want it. The scripts purpose is only to do it's stuff with the tags below (replace them, no more no less).

All that's generated in the script is XHTML 1.0 compliant.

TEMPLATE TAGS

<SITE_PHOTONUMBER>
<SITE_VISITORNUMBER>
<SITE_NORMAL_CAL> // css-format, empty days, today date, and image-exist plus navigation (monthname's etc)
<SITE_HORIZONTAL_CAL>
<IMAGE_DATE_YEAR_FULL>
<IMAGE_DATE_YEAR>
<IMAGE_DATE_MONTH>
<IMAGE_DATE_DAY>
<IMAGE_THUMBNAIL>
<IMAGE_DATE>
<IMAGE_TIME>
<IMAGE_NAME>
<IMAGE_TITLE>
<IMAGE_DATETIME>
<IMAGE_NOTES>
<IMAGE_ID>
<IMAGE_CATEGORY>
<IMAGE_PREVIOUS_LINK> // full link that says "Previous", or empty if no previous
<IMAGE_PREVIOUS_THUMBNAIL> // link with thumbnail
<IMAGE_PREVIOUS_ID>
<IMAGE_PREVIOUS_TITLE> // if empty, displays "No Previous Image"
<IMAGE_NEXT_LINK> // full link that says "Next", or empty if no next
<IMAGE_NEXT_THUMBNAIL> // link with thumbnail
<IMAGE_NEXT_ID>
<IMAGE_NEXT_TITLE> // if empty, displays "No Next Image"
<IMAGE_THUMBNAIL_ROW> // css-format this, class is called "thumbnails", if the thumbnail is the current image displayed the class is called "current_thumbnail". 5 thumbnails
<IMAGE_COMMENTS_NUMBER> // how many comments
<LATEST_COMMENT_ID> // image-id of the image that has the latest comment
<LATEST_COMMENT_NAME> // image-title of the same

<IMAGE_COMMENTS> // UL list, css-format this
<COMMENT_POPUP> // popup link
<EXIF_EXPOSURE_TIME>
<EXIF_APERTURE>
<EXIF_CAPTURE_DATE>
<EXIF_FLASH> // Fired, or Not Fired
<EXIF_FOCAL_LENGTH>
<EXIF_CAMERA_MAKE>
<EXIF_CAMERA_MODEL>


<REFERERS> // only in referlog, UL list, css-format this
<THUMBNAILS> // in browse archive template, css-format this, the class is called "thumbnails"
<BROWSE_CATEGORIES> // in browse archive template

<SITE_RSS_LINK> // link to rss feed
<SITE_TITLE>
<SITE_REFLINK> // link to refererlog
<SITE_BROWSELINK> // link to archive
  #2  
Old 10-08-2004, 12:30 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Example Use: Simplest Template

Showcase: fully functional image_template.html on the extreme basic side.
Image, your comments plus navigation is included.

Code:
<html>
<head>
<title><SITE_TITLE></title>
</head>
<body>
<b><IMAGE_TITLE></b><br />
<img src="images/<IMAGE_NAME>"><br />
<IMAGE_NOTES><p />
[<IMAGE_PREVIOUS_LINK>] [<a href="index.php">Newest Image</a>] [<IMAGE_NEXT_LINK>]
</body>
</html>
Really, you don't need anything else to enjoy a working photoblog.
Expand and get it more advanced with thumbnail-navigation, comments and more are equally easy to implement.
  #3  
Old 11-24-2004, 04:20 PM
flashpunk Offline
pp regular
 
Join Date: Nov 2004
Location: Ontario Canada
Posts: 36
Send a message via ICQ to flashpunk Send a message via MSN to flashpunk
Is there any new tags available with the V1.3?
__________________
>flashPUNK|FOTO - My Photo Blog
>Diary of a Rock Star - My Personal blog
>Underfire.ca - My Portfolio site
>Birds of Wales - My Band
  #4  
Old 12-20-2004, 04:07 PM
bretzelman Offline
pp regular
 
Join Date: Dec 2004
Posts: 41
Is there a markup for Iso speed?
  #5  
Old 12-20-2004, 04:34 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
No markup for ISO yet.

Here's the current lineup I just grabbed from a standard 1.3 installation, there probably are one or two new. The lack of documentation over this is slightly annoying, I'll fix that after christmas when I get some momentum.

<IMAGE_THUMBNAIL_ROW>
<IMAGE_DATE_YEAR_FULL>
<IMAGE_DATE_YEAR>
<IMAGE_DATE_MONTH>
<IMAGE_DATE_DAY>
<IMAGE_THUMBNAIL>
<IMAGE_DATE>
<IMAGE_TIME>
<IMAGE_NAME>
<IMAGE_TITLE>
<IMAGE_DATETIME>
<IMAGE_NOTES>
<IMAGE_ID>
<IMAGE_CATEGORY>
<IMAGE_PREVIOUS_LINK>
<IMAGE_PREVIOUS_THUMBNAIL>
<IMAGE_PREVIOUS_ID>
<IMAGE_PREVIOUS_TITLE>
<IMAGE_NEXT_ID>
<IMAGE_NEXT_TITLE>
<IMAGE_NEXT_THUMBNAIL>
<IMAGE_NEXT_LINK>
<VINFO_NAME>
<VINFO_URL>
<IMAGE_COMMENTS>
<EXIF_EXPOSURE_TIME>
<EXIF_APERTURE>
<EXIF_CAPTURE_DATE>
<EXIF_FLASH>
<EXIF_FOCAL_LENGTH>
<EXIF_CAMERA_MAKE>
<EXIF_CAMERA_MODEL>
<EXIF_LENS>
<REFERERS>
<THUMBNAILS>
<SITE_RSS_LINK>
<SITE_TITLE>
<SITE_REFLINK>
<SITE_BROWSELINK>
<SITE_PHOTONUMBER>
<SITE_VISITORNUMBER>
<IMAGE_COMMENTS_NUMBER>
<LATEST_COMMENT_ID>
<LATEST_COMMENT_NAME>
<COMMENT_POPUP>
<BROWSE_CATEGORIES>
__________________
icq: 66760929
  #6  
Old 03-03-2005, 06:00 AM
Connie
Guest
 
Posts: n/a
I lock this topic because modification and hacks are added here more and more which dont't belong to this topic as this is topic for starter :wink:
Thread Closed


Thread Tools




All times are GMT. The time now is 01:52 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs