|
#81
|
|||
|
|||
|
Warchive (http://www.pixelpost.org/v1/index.ph...ads&details=67) is indeed the method I use for my tag cloud.
|
|
#82
|
||||
|
||||
|
Here is my test image_template.html file (for everyone having problems):
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><SITE_TITLE></title>
<!-- Link for ATOM feed autodiscovery -->
<ATOM_AUTODETECT_LINK>
<!-- Link for RSS feed autodiscovery -->
<RSS_AUTODETECT_LINK>
<!-- Meta-Information -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="imagetoolbar" content="false" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixelpost" />
<meta http-equiv="content-type" name="description" content="<SITE_TITLE>-PhotoBlog: <IMAGE_TITLE>, <IMAGE_NOTES_CLEAN>" />
<base href="<SITE_URL>" />
<!-- StyleSheet -->
<link rel="stylesheet" href="./templates/pixelpost-light/pixelpost-light.css" type="text/css" />
<script language='javascript' type='text/javascript'>
<!-- BEGIN
function flip(rid)
{
current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
document.getElementById(rid).style.display = current;
}
// End -->
</script>
</head>
<body>
<div id="wrapper">
<div id="calendar">
<SITE_CALENDAR>
</div>
<div id="logo">
<SITE_TITLE>
</div>
<SC_IMAGE_PREVIOUS_LINK>
<img id="image" src="./images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_PREVIOUS_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" /></a>
<div id="image-info">
<span class='headline'><IMAGE_TITLE></span>
<IMAGE_NOTES>
<IMAGE_DATETIME> - <IMAGE_COMMENTS_NUMBER> comments. <IMAGE_CATEGORY><p />
<EXIF_CAMERA_MODEL><br />
<EXIF_EXPOSURE_TIME> <EXIF_APERTURE> <EXIF_FOCAL_LENGTH> <EXIF_FLASH> <EXIF_ISO>
<br style="clear:both;" />
<IMAGE_THUMBNAIL_ROW>
</div>
Browsing category: <SC_CAT_NAME> (#<SC_CAT_ID>)
<div id="image-navigation">
<SC_IMAGE_PREVIOUS_LINK_TXT> (#<SC_IMAGE_PREVIOUS_ID>, <SC_IMAGE_PREVIOUS_TITLE>, <SC_IMAGE_PREVIOUS_DATETIME_FORM>)
<a href="index.php">Current</a>
<SC_IMAGE_NEXT_LINK_TXT> (#<SC_IMAGE_NEXT_ID>, <SC_IMAGE_NEXT_TITLE>, <SC_IMAGE_NEXT_DATETIME_FORM>)
<SITE_PHOTONUMBER> photos | <SITE_VISITORNUMBER> visitors
<IMAGE_PERMALINK>
<a href="<SITE_BROWSELINK>">Browse Archive</a>
</div>
<div id="comments">
<a href='#addcomment' onclick="flip('add-comment'); gotocomments(); return false;">Add Comment</a>
<IMAGE_COMMENTS>
</div>
<div id="add-comment">
<script type='text/javascript'>
<!--
function gotocomments()
{
document.location = '#addcomment';
}
-->
</script>
<script language='javascript' type='text/javascript'>flip('add-comment');</script>
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<a name="addcomment">Message:</a><br />
<textarea name='message' rows='2' cols='40'></textarea><br />
<label for="name">Name:</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">Website URL, if any:</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">Email (not visible to others):</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input type='checkbox' value='set' name='vcookie' id="saveinfo" />Save User Info<br /><br />
<input type='submit' value='Add' />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>
</div>
<a href="http://validator.w3.org/check/referer">Valid XHTML</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> |
<SITE_RSS_LINK> | <SITE_ATOM_LINK> |
<a href="http://www.pixelpost.org" target="_new">Powered by Pixelpost 1.5</a>
</div>
<SC_THUMB_ROW><br /><br /><SC_THUMB_ROW_REV><br /><br />
SQL9: <SQL9><br />
SQL10: <SQL10><br />
SQL11: <SQL11><br />
SQL12: <SQL12><br /><br /><br />
SQL1: <SQL1><br />
SQL2: <SQL2><br />
SQL3: <SQL3><br />
SQL4: <SQL4><br /><br />
<SC_BROWSE_CATEGORY><br /><br />
SQL5: <SQL5><br /><EXEC_TIME><br /><br />
SQL1: <SQL1><br /><EXEC_TIME1><br /><br />
SQL2: <SQL2><br /><EXEC_TIME2><br /><br /><br /><br />
EXEC_TIME: <EXEC_TIME>
</body>
</html>
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Browse Archive</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="imagetoolbar" content="false" /> <link rel="stylesheet" href="./templates/pixelpost-light/pixelpost-light.css" type="text/css" /> </head> <body> <div id="wrapper"> <div id="title"> Browse archive: <BROWSE_CATEGORIES><br /><br /> <BROWSE_CHECKBOXLIST><br /><br /> </div> <div id="tag_cloud"><PIXELPOST_WARCHIVES smallest="5" largest="20" unit="px"></div> <a href="index.php">Back to Site</a><br /><br /> <div id="images"> <SC_THUMBNAILS> <SC_THUMBNAILS_NAV> <SQL8> </div> <div id="tag_cloud"><PIXELPOST_WARCHIVES smallest="5" largest="20" unit="px"></div> <a href="http://www.pixelpost.org" target="_new">Powered by Pixelpost 1.5</a> </div> </body> </html> |
|
#84
|
||||
|
||||
|
IMHO Addon is right now in finished state.
Quote:
|
|
#85
|
|||
|
|||
|
Geos,
thanks for this addon and your hard work... I've just upgraded to v28 (from 1.6) and most things seem to be working (including a fix that for displaying the selected category name in the 'image' template). However I'm seeing a couple of weird things with v28..
I'll leave the v28 version running so you can see what I'm babbling about. It's here: http://www.aspect-photography.com/index.php Goto my 'browse' template, select a category (ie: "Elements: Animals") and then click on one of the thumbnails in the middle of that category. Hopefully I'm doing something silly and it's an easy fix. Cheers Tony |
|
#86
|
||||
|
||||
|
1. <SC_THUMBNAILS_NAV> - this is for navigation through pages in archive
2. inside addon there is config variable $sc_thumb_num with number of thumbs per page 3. Rest of problems Ill check out later |
|
#87
|
|||
|
|||
|
Geos,
I hope you don't think I'm being picky or hassling you about this stuff, I certainly only mean to get my addon working 100% and help identify any bugs (if there are any). With relation to your advice;
cheers tony |
|
#89
|
||||
|
||||
|
In my developers enviroment I couldnt simulate same problem as you wrote. I dont know what is wrong.
PS IMHO category should stay empty if user looks thorough all photos. That is my point of view. Fix for thinking in other way is simple. Near line 420 find: PHP Code:
PHP Code:
|
|
#90
|
|||
|
|||
|
Hi Geos,
Ok, I've done some more playing and have managed to get around most of the problems I was seeing (see below for what I did) however I still have the problem whereby.... You select a category on the 'browse' template and see the list of thumbnails. You then click on one of those thumbnails and you jump to the 'image' template with the chosen thumbnail displayed as the image plus the thumbnails from the other images in that category are displayed - all good so far. The problem I have is that the <SC_IMAGE_PREVIOUS_LINK> link no longers works, the navigation bar 'previous' link is dead and the images title text (set by <SC_IMAGE_PREVIOUS_TITLE>) returns "No previous image". I can view the previous images in that category by clicking on the thumbnails at the bottom of the 'image' template and the (<SC_IMAGE_NEXT_LINK>) "next" navigation link works fine (including the 'next' link disabling itself when the end of images in that category is reached. To me it looks like there may be a problem with the <SC_IMAGE_PREVIOUS_TITLE> code however you say you're unable to reproduce this so I'm at a loss. To see this problem in action click here: http://www.aspect-photography.com/in...58&category=30 where I've selected category "Elements: Animals" from the 'browse' template, then click on the fish shot (image=58, cat=30). I've looked around but can't seem to work this one out so any/all help is appreciated. I'm happy to run whatever tests you may need etc. cheers tony
|
| Post Reply |
| Thread Tools | |
|
|