I’ve seen this done but haven’t been able to invent a way to do it:
By default, the basic paginate function displays between 3 and 5 live links along with the other info, Like this. It appears to depend on available width, ie - if it displays “last” etc.
Page 1 of 48 pages 1 2 3 > Last ยป
I need to display about 10 (and also remove “next” last” etc text if possible
It would essentially display as this:
< 1 2 3 4 5 6 7 8 9 10 >
I hope it’s easy to do, any help would be appreciated.
btw, the code I’m using is the basic sample below taken directly from the user guide
**Please note that this weblog sample is from 1x of course - however paginate in my 2.0 installs seems to work exactly the same -
Im trying to setup for both
{exp:weblog:entries weblog="latestnews" orderby="date" sort="desc" limit="1" paginate="bottom"}
<h2>{title}</h2>
<p>{summary}<br />
{content}<br />
{paginate}</p>
<p>Page {current_page} of {total_pages} pages {pagination_links}<br />
{/paginate}<br />
{/exp:weblog:entries}Thanks
[Mod Edit: Moved to the CodeShare Corner forum]