Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • pofagyalu Friend
    #194033

    Hi there!

    On my Kranos site (http://pofagyalu.hu), K2 items pagination on the bottom of the page looks like the following:

    1 2 3 4 5 6 7 8 9 10
    but I have more than 10 pages so basically when I click on page 5 I will have displayed
    5 6 7 8 9 10 11 12 13 14 15

    I would like to have something similar to this:
    Start Prev 1 2 3 4 5 …17 Next End Pages x of 17

    Where and what to modify?

    Thank you for your help.
    Zoltán

    Ninja Lead Moderator
    #519941

    I tried to access your site, but got this error:

    Please check and let me know when your site is ready again. I will help to check then.


    1. error
    pofagyalu Friend
    #519965

    Hi ! Please check again. It may happened that I was working on it when you tried to access it. Especially this link, where I have the K2 items: http://pofagyalu.hu/zoli-blog.html

    Thank you.

    Ninja Lead Moderator
    #519972

    I am afraid the issue still remains. Kindly check again.

    pofagyalu Friend
    #519989

    Hi,

    Something strange is happening, I can access my site without any error and I am far from home. Until I discover what is going on would you please check the attachement here to see what I mean?

    Thank you,
    Zoltán


    1. pagination
    Ninja Lead Moderator
    #520194

    Hi Zoltán,

    I guess the problem on your site comes from the customize pagination for K2 component of JA Krano Template. Please follow steps below:

    + Go to templates/ja_kranos/html path
    + Rename pagination.php to pagination_bk.php file
    + Open templates/ja_kranos/css/k2.css file and add following CSS rules:


    .k2Pagination ul li {
    border: 1px solid #CCCCCC;
    margin: 0 3px;
    padding: 0 4px !important;
    background: none !important;
    }

    Remember to clear cache from Admin area after applying those changes.

    Let me know if it helps.

    pofagyalu Friend
    #520322

    Hi,

    Thank you, it is almost perfect, there a few more things for which I ask your help:
    1. how do I get back the previous, old style (black background, white numbers, actual page in green: see previous attachment)?
    2. how do I display in the same row to the left or to the right: page number / total page number ? OR Page page number of total page number ?
    3. now 10 pages are displayed, how do I change to less, e.g. only 5 pages should be displayed at any time

    Thank you.
    Zoltán

    Ninja Lead Moderator
    #520732

    <blockquote>1. how do I get back the previous, old style (black background, white numbers, actual page in green: see previous attachment)?</blockquote>

    The workaround below would help:

    Open templates/ja_kranos/css/k2.css file,

    Change

    .k2Pagination ul li {
    border: 1px solid #CCCCCC
    margin: 0 3px;
    padding: 0 4px !important;
    background: none !important;
    }

    To


    .k2Pagination ul li {
    border: 1px solid #CCCCCC
    margin: 4px;
    padding: 0 0px !important;
    background: #1a1a1a !important;
    }

    .k2Pagination ul li a{
    color: #aaa !important;
    padding: 0px 5px 0px 5px;
    }

    .k2Pagination ul li span.pagenav {
    margin: 0px;
    line-height: normal;
    color: #fff
    display: inline-block;
    background: #31bbbd
    padding: 0px 5px 0px 5px;
    }

    .k2Pagination .pagination {
    background: #1a1a1a
    }

    <blockquote>2. how do I display in the same row to the left or to the right: page number / total page number ? OR Page page number of total page number ?</blockquote>

    You need to modify the pagination.php file, however, this task requires heavy customization which is beyond scope of our support, you should hire a developer to help you on this.

    <blockquote>3. now 10 pages are displayed, how do I change to less, e.g. only 5 pages should be displayed at any time</blockquote>

    You can change the number of items to show on the page, see the screenshot:


    1. count
    pofagyalu Friend
    #521104

    Hi, Thank you for your help. I can not try these since unfortunately my site was hacked so now I am working on restoration 🙂 This may be a good opportunity to advance to latest Joomla and new template since I already planned it (of course not so soon). Your help anyway is appreciated a lot. You may close this topic.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  pofagyalu 10 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum