Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • infosource Friend
    #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


    1. pagination
    khoand Friend
    #436832

    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

    infosource Friend
    #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?


    1. pagination
    2. navigation
    khoand Friend
    #436957

    You 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>";

    infosource Friend
    #437085

    Thanks for information… It helped me a lot 🙂

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