Cant get the pagination for news

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Feb 21, 2014 12:25 am
Reply with quote
Report this post
Hi,

I need to add pagination for this url: http://stepbystep.org.mk/index.php/novo ... i/itemlist
How do I do that?

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Sat Feb 22, 2014 8:53 pm
Reply with quote
Report this post
Hi

Looks like this need to be enabled in configuration. Please tell me the id of menu item this page is using or a category if it's a single category. Than send me an access to joomla panel.
User avatar
Moderator

teitbite
Mon Feb 24, 2014 1:08 pm
Reply with quote
Report this post
Hi

Thanks for PM. I was thinking You were talking about pagination in category view. Article view pagination is not implemented in K2, but it's promissed to be made: http://code.google.com/p/getk2/issues/detail?id=272

Anyway there is a plugin which is adding this functionality: http://extensions.joomla.org/extensions ... tabs/20479
User avatar
Moderator

GK User
Mon Feb 24, 2014 1:53 pm
Reply with quote
Report this post
Hey,
yes. This is a category listing. The category is НОВОСТИ (aka NEWS).

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Thu Feb 27, 2014 7:25 pm
Reply with quote
Report this post
Hi

I've tried couple of things, but I'm not able to apply any changes to this layout, not even showing more elements or different one. I even tried with the default joomla template to check if it's not affected by a override in template files. My best guess is that I'm working with a wrong category, but honestly everything tell me it's "Новости и настани". If You haven;t done any changes to K2 template files than I have no idea, all settings to show pagination are fine. Please maybe show this to K2 developers.
User avatar
Moderator

teitbite
Thu Feb 27, 2014 7:32 pm
Reply with quote
Report this post
Hi again

Just took another looks and changed all categories. Still not effect. Are You using any server cache which is keeping site from displaying content ?

A screen with place where pagination is enabled is attached.
User avatar
Moderator

GK User
Tue Mar 04, 2014 12:48 am
Reply with quote
Report this post
Hi,
I didnt do any modifications to the layout. There is no cashing of some kind you say. Other Gavicks templates work flawlesly. Actually, I just got the same link you have in the demo site in Blob/Article and I removed anything except the header of the article.

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Tue Mar 04, 2014 5:02 pm
Reply with quote
Report this post
Hi

Please send me an access to ftp. I'll write this pagination myself if I have to :)
User avatar
Moderator

teitbite
Wed Mar 05, 2014 8:27 pm
Reply with quote
Report this post
Hi

I think You send me wrong ftp access. In templates folder only see "gk_rockwall" template ;/ while You are using (m)social on website.
User avatar
Moderator

teitbite
Wed Mar 05, 2014 10:59 pm
Reply with quote
Report this post
Hi

Pagination must be disabled in configuration somewhere. We both just cannot find it ;/ When I removed the condition which checkes if it was enabled in configuration pagination is visible. You may need to ask K2 developers for help to find where this is configured or leave it as it is now. I only commented out 2 lines from file /html/com_k2/templates/default/category.php

Code: Select all
      <?php if(count($this->pagination->getPagesLinks())): ?>
      <?php //if($this->params->get('catPagination')): ?>
      <?php echo str_replace('</ul>', '<li class="counter">'.$this->pagination->getPagesCounter().'</li></ul>', $this->pagination->getPagesLinks()); ?>
      <?php //endif; ?>
      <?php endif; ?>
User avatar
Moderator


cron