View Full Version : page by page archive
sbarru
08-14-2006, 12:36 PM
I know what I want, but don't know enough about php and the various tags to get there. Hope somebody can walk me through setting this up...
I have set up a category for each month of the year in Admin/Categories. Do I need to do this?
When I go to the browse/archive page, I just want a text list of months beginning with the current one and working down the page to the first month I posted for the blog. I don't want the "default" category in the list and I don't really care about the "all" category.
Which tag do I use, where do I put it and how do I get the text list to display in the correct order?
Which tag should I use for the thumbnails and where do I put it?
Any help much appreciated.
Connie
08-14-2006, 01:43 PM
you can always rename the default category
I know that it is possible to do what you want,
I use <CATEGORY_LINKS_AS_LIST_PAGED> in my site, but I get "ALL"
check the Addon category_links
This addon displays a list of the categories as links.
A list of category names in different flavors:
with link to the category, use <CATEGORY_LINKS_LIST> or <CATEGORY_LINKS_LIST_PAGED>
with numbers of entries in that category, use <CATEGORY_LINKS_LIST_NONUMBERS> or <CATEGORY_LINKS_LIST_PAGED_NONUMBERS>
without numbers if the category is empty, use <CATEGORY_LINKS_LIST_ZERO> or <CATEGORY_LINKS_LIST_PAGED_ZERO>
and it works for paged categories or un-paged categories.
The orientation of the list is defined by CSS, use <div class="horizontal"> or <div class="vertical">
sbarru
08-14-2006, 03:20 PM
Thanks, Connie, I am now part of the way there. Actually the tag which worked best for me is <BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>.
One problem remains - I am still loading all of the thumbs on the archive page. I want to set up something like you have done with your archive page. You load a small number of thumbs and then have links to other thumb pages along the bottom. What tag(s) do I need to get something like this?
So you should use other tag for showing thumbnails (as paged version uses own tag for showing thumbs splited in to the subpages).
Connie
08-14-2006, 05:42 PM
I have done it like this:
<span class="photos">
<THUMBNAILS_WHOLE_PAGED>
<br /><br />Aktuelle Archivseite: <ARCHIVE_PAGES_NUM> || <THUMBNAILS_PAGES_LINKS></span>
sbarru
08-14-2006, 11:44 PM
Sorry, but I still do not have it. This is the what I have:
<div id="page">
<span class="title">Browse Archive:</span><hr /><br />
<div align="center">
<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>
<br /><br />
<span class="photos">
<THUMBNAILS_WHOLE_PAGED>
<br /><br />Archive: <ARCHIVE_PAGES_NUM> || <THUMBNAILS_PAGES_LINKS></span>
</div>
</div>
What I get is all of my thumbnails (163 at the moment) loading at the same time. I do not get a list of pages at the bottom. This is what it looks like:
http://stevebarru.com/photoblog/index.php?x=browse
I am still missing a tag somewhere!
jdleung
08-15-2006, 12:26 AM
you have inserted the right tag. but you need to give this link to the users, <a href='index.php?x=browse&pagenum=1'>Archive</a>, just add one more tail "&pagenum=1". ;)
I'm from Guangdong.:)
sbarru
08-15-2006, 02:21 AM
Hi jdleung, good to hear from you. Sorry to be so dumb about this, but I still do not have it right. From your post I added <a href> and my markup now looks like this:
<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>
<br /><br />
<span class="photos">
<THUMBNAILS_WHOLE_PAGED>
<br /><br />
<a href='index.php?x=browse&pagenum=1'>Archive:</a> <ARCHIVE_PAGES_NUM> || <THUMBNAILS_PAGES_LINKS></span>
But there are still no numbers at the bottom of the page and all of my thumbnails load. :confused:
jdleung
08-15-2006, 02:23 AM
no. I mean edit your archive link at right top in image_template.html,browse_template.html,about_tem plate.html.
jdleung
08-15-2006, 02:33 AM
click the link you had just added. you will find it works well.
so just copy the link to anywhere you want. ;=)
sbarru
08-15-2006, 03:17 AM
Got it! Thanks!
beo21
09-09-2008, 04:57 PM
hi connie,
hoffe du kannst mir helfen
ich würde gerne meine categorien nebeneinander und ohne zahlen anordnen lassen - nur leider will es mit dem folgenden befehlen nicht
I use <CATEGORY_LINKS_AS_LIST>
check the Addon category_links <- des addon ist bei aktiv - also des "Page-By-Page-Archive for category and month (paged_archive - version 1.7) - status: ON"
ich versuchte die von dir gepostetetn befehle
This addon displays a list of the categories as links.
A list of category names in different flavors:
with link to the category, use <CATEGORY_LINKS_LIST> or <CATEGORY_LINKS_LIST_PAGED>
with numbers of entries in that category, use <CATEGORY_LINKS_LIST_NONUMBERS> or <CATEGORY_LINKS_LIST_PAGED_NONUMBERS>
without numbers if the category is empty, use <CATEGORY_LINKS_LIST_ZERO> or <CATEGORY_LINKS_LIST_PAGED_ZERO>
and it works for paged categories or un-paged categories.
The orientation of the list is defined by CSS, use <div class="horizontal"> or <div class="vertical">
bitte um hilfe
grüße
beo
p.s. hab versucht dich auf hp zu erreichen aber contact geht net
Dennis
09-10-2008, 05:27 AM
Connie has left the forums a while ago.
beo21
09-10-2008, 03:56 PM
ah k thx so far dennis,
i saw in her name "on vacation"
i hope she comes back - do you know a little bit more precisely
or can you perhaps help me with my problem
i want to sort my categories horizontal withput image numers
I use <CATEGORY_LINKS_AS_LIST>
"Page-By-Page-Archive for category and month (paged_archive - version 1.7) is ON"
i tried the following commands
with link to the category, use <CATEGORY_LINKS_LIST> or <CATEGORY_LINKS_LIST_PAGED>
with numbers of entries in that category, use <CATEGORY_LINKS_LIST_NONUMBERS> or <CATEGORY_LINKS_LIST_PAGED_NONUMBERS>
without numbers if the category is empty, use <CATEGORY_LINKS_LIST_ZERO> or <CATEGORY_LINKS_LIST_PAGED_ZERO>
and it works for paged categories or un-paged categories.
The orientation of the list is defined by CSS, use <div class="horizontal"> or <div class="vertical">
but it didnt work right
would be nice if you could help me
greetings
rolandphotos
09-24-2008, 03:27 AM
I've done it like this:
<div class="head"><a href="index.php"><b><SITE_TITLE></b></a> | Archive.</div> <div class="menu"><BROWSE_CATEGORIES_PAGED> | <BROWSE_MONTHLY_ARCHIVE_PAGED> | <THUMBNAILS_PAGES_LINKS> </div> <div class="archive"><THUMBNAILS_WHOLE_PAGED></div>
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.