Paginating the blog

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Paginating the blog

Post by joho »

It'd be nice with (global and per-user) settings that determine how many blog entries are displayed per page, and also an option that displays _all_ (visible/viewable) blog entries (much like "all categories") without pagination.

Also, the page navigation options should be placeable (or placed by force) both at the bottom and at the top of the page/workspace/whatever. It's a pain having to roll down to the bottom of the page just to find the "navigation".
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Paginating the blog

Post by garvinhicking »

Displaying ALL entries on a page is simply overkill; in most blogs that would result in HTML pages with several megabytes of text.

But creating a user-defineable setting how to limit the amount of entries is in the works. :)

The page navigation option are user-placeable in our development branch, since we use Smarty for templating there.

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

How "stable" is the dev branch?
(I realize the common answer is in the question, but I mean is it "stable" enough to use? Or will I spend time coding to "fix" or "patch" stuff in the works?)
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Well, the dev branch should be usable by now, but issues with old templates may not be fully compatible until now. And there is the chance that some display may not yet be right.

But oddities in display should be the only apparent "bugs" in the release; functionality should not be unstable. We would be glad if you are willing to testdrive the installation and maybe tell us about possible problems!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Re: Paginating the blog

Post by Guest »

garvinhicking wrote: The page navigation option are user-placeable in our development branch, since we use Smarty for templating there.

Regards,
Garvin.
How do you generate page breaks for the page navigation option?
gspatel
Regular
Posts: 6
Joined: Sat Dec 04, 2004 7:18 pm

Re: Paginating the blog

Post by gspatel »

garvinhicking wrote: The page navigation option are user-placeable in our development branch, since we use Smarty for templating there.

Regards,
Garvin.
How to embed a page break in a post to trigger the navigation option?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Paginating the blog

Post by garvinhicking »

Hi!
How to embed a page break in a post to trigger the navigation option?
Edit your templates/default/entries.tpl file. Look for the '<div class="serendipity_entryFooter">' HTML portion. You can move that anywhere you like within the Smarty template, also within the entry section. Should be quite self-explanatory once you see the HTML.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply