Improve Category Pagination in ISC

This mod will add Total Page Count in pagination bar and highlight Current Page

In /includes/display/CategoryPagingTop.php

Find (line 58)

// Parse the paging snippet

Replace

$GLOBALS['SNIPPETS']['PagingData'] .= '<span style="color:#c0dae7"> ... '.$GLOBALS['ISC_CLASS_CATEGORY']->GetNumPages().'</span>';

// Parse the paging snippet

In /Styles/styles.css

Find

 .CategoryPagination .PagingList li{display:inline;padding:0 5px;} 

Replace

.CategoryPagination .PagingList li{display:inline;padding:0 5px;}
.CategoryPagination .PagingList .ActivePage{background-color:#075899;color:#fff}

Result

Leave a Reply

Your email address will not be published. Required fields are marked *