-
AuthorPosts
-
February 3, 2012 at 12:58 pm #173501
We are using JA ironics 1.7 template…we wanted to change the Inner page Navigation. In inner page it is showing only 10 pages…
We wanted to display 20 pages link(page navigation)..
Where we should change…
ca u help us?here i have attached screenshot
http://www.joomlart.com/forums/attachment.php?attachmentid=19017&stc=1&d=1328273841
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 3, 2012 at 7:41 pm #436832If you mention homepage that show feature articles, it’s depend to total of feature articles, leading article and intro articles on a page. Example: you have 200 feature articles, and you set leading article is 0 and intro articles is 20. You have 200 / (0 + 20) = 10 page.
So you just adjust leading articles and intro articles in Home menu by login backend > Menus > Main menu > Layout Options > change #Leading articles and Intro articles fields1 user says Thank You to khoand for this useful post
February 4, 2012 at 5:49 am #436870<em>@khoand 298619 wrote:</em><blockquote>If you mention homepage that show feature articles, it’s depend to total of feature articles, leading article and intro articles on a page. Example: you have 200 feature articles, and you set leading article is 0 and intro articles is 20. You have 200 / (0 + 20) = 10 page.
So you just adjust leading articles and intro articles in Home menu by login backend > Menus > Main menu > Layout Options > change #Leading articles and Intro articles fields</blockquote>Actually We don’t want to display like this 1 2 3 4 5 6 7 8 9 10
we want to display like default Joomla pagination page
like this
can u help us?
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 4, 2012 at 8:22 pm #436957You replace the code from /templates/ironis/html/pagination.php
// Reverse output rendering for right-to-left display
if($lang->isRTL())
{
$html .= "<li class="pagination-start">".$list['start']['data']."</li>";
$html .= "<li class="pagination-prev">".$list['previous']['data']."</li>";$list['pages'] = array_reverse( $list['pages'] );
foreach( $list['pages'] as $page ) {
if($page['data']['active']) {
// $html .= '<strong>';
}$html .= "<li>".$page['data']."</li>";
if($page['data']['active']) {
// $html .= '</strong>';
}
}$html .= "<li class="pagination-next">".$list['next']['data']."</li>";
$html .= "<li class="pagination-end">".$list['end']['data']."</li>";
// $html .= '«';
}
else
{foreach( $list['pages'] as $page )
{
if($page['data']['active']) {
// $html .= '<strong>';
}$html .= "<li>".$page['data']."</li>";
if($page['data']['active']) {
// $html .= '</strong>';
}
}}
with
$html .= "<li class="pagination-start">".$list['start']['data']."</li>";
$html .= "<li class="pagination-prev">".$list['previous']['data']."</li>";// Reverse output rendering for right-to-left display
if($lang->isRTL())
{$list['pages'] = array_reverse( $list['pages'] );
foreach( $list['pages'] as $page ) {
if($page['data']['active']) {
// $html .= '<strong>';
}$html .= "<li>".$page['data']."</li>";
if($page['data']['active']) {
// $html .= '</strong>';
}
}// $html .= '«';
}
else
{foreach( $list['pages'] as $page )
{
if($page['data']['active']) {
// $html .= '<strong>';
}$html .= "<li>".$page['data']."</li>";
if($page['data']['active']) {
// $html .= '</strong>';
}
}}
$html .= "<li class="pagination-next">".$list['next']['data']."</li>";
$html .= "<li class="pagination-end">".$list['end']['data']."</li>";1 user says Thank You to khoand for this useful post
February 6, 2012 at 6:41 am #437085Thanks for information… It helped me a lot 🙂
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by infosource 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum