-
AuthorPosts
-
pofagyalu Friend
pofagyalu
- Join date:
- September 2011
- Posts:
- 29
- Downloads:
- 23
- Uploads:
- 4
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
January 24, 2014 at 10:09 am #194033Hi 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 15I would like to have something similar to this:
Start Prev 1 2 3 4 5 …17 Next End Pages x of 17Where and what to modify?
Thank you for your help.
ZoltánNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 27, 2014 at 4:32 am #519941I 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.
pofagyalu Friendpofagyalu
- Join date:
- September 2011
- Posts:
- 29
- Downloads:
- 23
- Uploads:
- 4
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
January 27, 2014 at 7:41 am #519965Hi ! 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 27, 2014 at 8:15 am #519972I am afraid the issue still remains. Kindly check again.
pofagyalu Friendpofagyalu
- Join date:
- September 2011
- Posts:
- 29
- Downloads:
- 23
- Uploads:
- 4
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
January 27, 2014 at 9:14 am #519989Hi,
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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 28, 2014 at 10:43 am #520194Hi 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 Friendpofagyalu
- Join date:
- September 2011
- Posts:
- 29
- Downloads:
- 23
- Uploads:
- 4
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
January 29, 2014 at 4:52 am #520322Hi,
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 timeThank you.
ZoltánNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 1, 2014 at 5:10 pm #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 user says Thank You to Ninja Lead for this useful post
pofagyalu Friendpofagyalu
- Join date:
- September 2011
- Posts:
- 29
- Downloads:
- 23
- Uploads:
- 4
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
February 4, 2014 at 11:50 am #521104Hi, 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.
AuthorPostsViewing 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
Jump to forum