Форумы / Cotonti / Support / Pagination

Like on this site

pieter
#1 05.04.2009 23:34
How can I get the pagination like on this site?
Top part of the picture, instead of the lower part of the picture


PS: Admin, the pictures of the directories in PFS are missing again.
... can we help you ...
oc
#2 06.04.2009 00:09
If it is Cotonti you use, you can edit it and by default it comes like this.

If something else (seditio, ldu) I think you gonna have to edit core files, because it is hardcoded.
lalinux
#3 27.05.2009 00:18
Hi..
I want to ask you all about this thing.
Where should I edit/add this pagination system on page?
thanks
pieter
#4 27.05.2009 02:37
This is the CSS I use:

.paging, .pagenav
{
	padding:6px; text-align:right; font-size:.90em;
}
.pagenav_small
{
	padding:0;
	text-align:right;
	font-size:.80em;
}
.pagenav_prev,.pagenav_next,.pagenav_first,.pagenav_last,.pagenav_pages
{
	padding: 2px 6px;
	background: #F5F5F5;
	color: #1c4851;
	margin: 1px;
	border: 1px solid #1c4851;
}
.pagenav_current {
	padding: 2px 6px;
	font-weight: bold;
	font-size:160%;
	text-decoration: none;
	background: #1c4851;
	color:#FFFFFF;
	margin: 1px;
	border: 1px solid #1c4851;
}
... can we help you ...
lalinux
#5 27.05.2009 02:46
Thanks for replay
But, I need to know how to implement this pagination on index page?
I've seen tutorial on seditioforge, but it's only work for forum, list and pm page
Any idea?
thanks
pieter
#6 27.05.2009 03:29
Do you mean like this?
http://www.kruisstraat89.be/
At the bottom.
There is also an extra features just before news items (new entry and headlines).

You need to install advanced news

- If you only want the pagination just add {NEWS_INDEX_PAGENAV} as tag in news.tpl

- If you want all features:
Add this after <!-- END: PAGE_ROW --> and before <!-- END: NEWS --> in news.tpl
<!-- BEGIN: HEADLINES_ROW -->
<div class="{PAGE_ROW_ODDEVEN}">{PAGE_ROW_DATE} : {PAGE_ROW_CATPATH_IDX} {PHP.cfg.separator} <a href="{PAGE_ROW_URL}">{PAGE_ROW_SHORTTITLE}</a></div>
<!-- END: HEADLINES_ROW -->

<div class="paging" style="text-align:center;">{NEWS_INDEX_PAGENAV}</div>

I added the following too just before <!-- BEGIN: PAGE_ROW -->
<div class="paging righttext">{NEWS_SUBMITNEWPOST} &nbsp; {NEWS_HEADLINESTOGGLE}</div>
This is to add a new news-item and to toggle between headlines and full news-items.

-------------
I am not sure if you need sedplus too for that look that I have. (Just try it.)
http://www.t3-design.com/seditio-plus/
... can we help you ...
Отредактировано: pieter (27.05.2009 03:46, 14 лет назад)
lalinux
#7 27.05.2009 21:32
Thanks man
It work like a charm!