...

View Full Version : Pagination help in CuteNews



Nirina
08-07-2011, 04:31 PM
Hi there,

I use CuteNews and i want to spruce up my pagination display, because it's very annoying that ALL the pages are displayed. i would like to show only the first three then maybe the ... and the last page, but i can't seem to figure out how. i've a current CSS and coding for the pagination i have but it's messing up a tad.

http://killer-fashion.tk/

my current coding in CSS:

ul{border:0; margin:0; padding:0;}

#page li{
border:0; margin:0; padding:0;
font-size:11px;
font-family: verdana;
}
#page a{
border:solid 1px #DDDDDD;
margin-right:2px;
}
#page .previous-off,
#page .next-off {
color:#666666;
display:block;
float:left;
font-weight:bold;
font-family: verdana;
padding:3px 4px;
}
#page .next a,
#page .previous a {
font-weight:bold;
font-family: verdana;
border:solid 1px #FFFFFF;
}
#page .active{
color:#ff0084;
font-weight:bold;
font-family: verdana;
display:block;
float:left;
padding:4px 6px;
}
#page a:link,
#page a:visited {
color:#0063e3;
display:block;
float:left;
padding:3px 6px;
text-decoration:none;
}
#page a:hover{
border:solid 1px #666666;
}

and then the coding i have input for the News Pagination;

<ul id="page">
<p align="center"><font size="2"; color="#27c0cc"; face="verdana">
<li class="previous-off">[prev-link]<< Previous[/prev-link]</li> {pages} <li class="next">[next-link]Next >>[/next-link]</li>
</ul>
</font></p>
<br><br>

can you please help??

Major Payne
08-08-2011, 10:41 PM
According to CuteNews, you can set the PHP for the number of posts/comments per page along with several other coding options for layout. I think you would get a better answer from CuteNews forum users (http://cutephp.com/forum/).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum