|
#1
|
|||
|
|||
|
catgory list & monthly list on browse_template
ciao.
i found this post and use it now. http://www.pixelpost.org/index.php?x...amp;details=29 and i use the two tags which are... *<CATEGORY_LINKS_AS_LIST> *<ARCHIVES>// not pull down list. i rewrite index.php with the help of http://www.pixelpost.org/forum/viewt...hlight=monthly *<THUMBNAILS_WHOLE_PAGED>[/list] The reason i use <THUMBNAILS_WHOLE_PAGED> indtead of <THUMBNAIL> is because i don't show the title and the posted date, and i can limit the number of the pictures on one page. unfortunately, there seems to be no relation between <CATEGORY_LINKS_AS_LIST>, <ARCHIVES> and <THUMBNAILS_WHOLE_PAGED>. it doesn't work right. is it possible to make it work correctly? |
|
#2
|
||||
|
||||
|
aha....
I didn't try do make it that way. I write that addon for an additional archive capability and if someone want's to see the archive by category it does not works for him/her. If you want this behavior you should change index.php or replace code from about line 383 Code:
if($_GET['x'] == "browse") {
$thumb_output = "";
$where = "";
if($_GET['category'] != "") { $where = "and (category='".$_GET['category']."')"; }
$query = mysql_query("select id,headline,image from ".$pixelpost_db_prefix."pixelpost where (datetime<='$cdate') $where order by datetime desc");
while(list($id,$title,$name) = mysql_fetch_row($query)) {
$title = pullout($title);
$thumbnail = "thumbnails/thumb_$name";
$thumb_output .= "<a href='$PHP_SELF?showimage=$id'><img src='$thumbnail' alt='$title' title='$title' class='thumbnails' /></a>";
}
$tpl = ereg_replace("<THUMBNAILS>",$thumb_output,$tpl);
}
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
||||
|
||||
|
OK I tried and that's the result!
a new addon you can read the description here http://www.pixelpost.org/forum/viewt...hp?p=2412#2412 for months there is drop box only and no list as links there. you could simply do it by some slight modification.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
| Post Reply |
| Thread Tools | |
|
|