K2 pagination issue

GK User
Fri Aug 09, 2013 3:11 pm
Hi Gavick team, and thanks for an exelent product =)
i am useing the "my portifolio template" together with joomla 3.
now i have run into some issues regarding the pagination bar on the botton of the page when useing K2 category list layout.

the pagination bar looks good untill i hover over the "next" or "end" link with the mousepointer. when pointing the mouse over these links the link-text are moveing out of place. Have a look at the image attached.
my best guess is that this is caused by some CSS comflicts, but im not able to track down the issue. do you have any idea what might cause the problem?

Best regards
Benyamin
User avatar
Fresh Boarder

GK User
Fri Aug 09, 2013 9:26 pm
Could You please post an url to your site?
User avatar
Moderator

GK User
Sat Aug 10, 2013 8:47 am
Is this a module or standard component view?
Second did you installed something to override default pagination? There are some plugins on JED.
User avatar
Platinum Boarder

GK User
Mon Aug 12, 2013 3:30 pm
Cyberek wrote:Could You please post an url to your site?

http://skj.no/index.php?option=com_k2&v ... Itemid=298
username: guest
password: pass
User avatar
Fresh Boarder

GK User
Mon Aug 12, 2013 3:32 pm
Pawel F wrote:Is this a module or standard component view?
Second did you installed something to override default pagination? There are some plugins on JED.



Hi, and thanks for your time :)
1. yes, this is the standard k2 componet category view
2. There are no pagination plugin installed

Best regard,
Benyamin
User avatar
Fresh Boarder

GK User
Mon Aug 12, 2013 5:12 pm
Do I need to click something to see this issue happening?
User avatar
Moderator

GK User
Mon Aug 12, 2013 11:16 pm
Cyberek wrote:Do I need to click something to see this issue happening?

Hi again, and thanks for your help ;)

After you have logged in, you must click on the "NETTBUTIKK" link at the top right.
You then have to scroll down to the bottom of the page to locate the pagination bar.

The problem appeare when holding the mouspointer on the "next" or the "end" link whitin the pagination bar.
User avatar
Fresh Boarder

GK User
Fri Aug 16, 2013 7:22 pm
Hi, After some more debugning, i found that the issue somehow is related to the "hasTooltip" css class attribute assigned to the "next" and the "end" link.

html code:
Code: Select all
<a data-original-title="Next" class="hasTooltip" title="" href="/index.php?option=com_k2&amp;view=itemlist&amp;layout=category&amp;Itemid=298&amp;limitstart=18">Next</a>


When i remove the class, the problem dispensers.
To remove the attribute i use the php code below, in the end of the following file:
..templates/gk_myportfolio/html/com_k2/templates/default/category.php

php code:
Code: Select all
  <!-- Pagination -->
  <?php if(count($this->pagination->getPagesLinks())): ?>
  <div class="k2Pagination">
    <?php
       if($this->params->get('catPagination'))
       {
          $pagin = $this->pagination->getPagesLinks();
          $pagin = str_replace('class="hasTooltip"',"",$pagin);
          echo $pagin;
       }
    ?>
  </div>
  <?php endif; ?>


Perhaps some of you have a more elegant solution?

Best regards,
Benyamin
User avatar
Fresh Boarder

GK User
Mon Aug 19, 2013 7:02 pm
guest/pass doesnt work right now.
If You could reenable them, or create different user/pass pair and PM it to me (add to PM also link to your page and link to this thread) Ill try to create working override.css solution.
Also - changes made to .php files need to be reverted.
User avatar
Moderator

GK User
Sat Aug 24, 2013 9:04 am
Please edit: /templates/gk_myfolio/css/override.css and add at its end:
Code: Select all
div.k2Pagination li div.tooltip {display: none;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.