310 Posts
ricco
9 years ago
Topic
Hi,

My search types do not have Pagination any more at the bottom of the results. I think this happened after updating to SEBLOD 3.2.1.

No matter how I configure the Pagination options in the Configuration tab of my search types the Pagination has disappeared completely. If I look at the code the div class"pagination" is not there at all.

Pagination options in the Configuration tab are:

I've tried the options: "Use Global, Use native, number" with no luck.
Show Pages Number = Show
Show Pagination = Below, Above, Both
Pagination (Class) = pagination

Could you suggest a solution please as I have paid members and they cannot open the search results?

Thank you very much
Best regards
Ricco
Get a VIP membership
310 Posts
ricco
9 years ago
2
Level 1
Hi,

I have found the problem. It’s in: components/com_cck/views/list/tmpl/default.php

and more specifically in this code:

<?php
if ( $this->show_items_number ) {
$label = $this->label_items_number;
if ( $this->config['doTranslation'] ) {
$label = JText::_( 'COM_CCK_' . str_replace( ' ', '_', trim( $label ) ) );
}
echo '<div><span>' . $this->total .'</span> '. $label . '</div>';
}
if ( ( $this->show_pagination == -1 || $this->show_pagination == 1 ) && isset( $this->pagination->pagesTotal ) && $this->pagination->pagesTotal > 1 ) {
echo '<div>' . $this->pagination->getPagesLinks() . '</div>';
}
if ( @$this->search->content > 0 ) {
echo ( $this->raw_rendering ) ? $this->data : '<div>'.$this->data.'</div>';
} else {
echo $this->loadTemplate( 'items' );
}
if ( ( $this->show_pages_number || $this->show_pagination > -1 ) && isset( $this->pagination->pagesTotal ) && $this->pagination->pagesTotal > 1 ) {
echo '<div>';
$pagesCounter = $this->pagination->getPagesCounter();
if ( $this->show_pages_number && $pagesCounter ) {
echo '<p>' . $pagesCounter . '</p>';
}
if ( $this->show_pagination > -1 ) {
echo $this->pagination->getPagesLinks();
}
echo '</div>';
}
?>

I’ve just replaced the above code with the one from SEBLOD 3.1.5 and the pagination is now finally showing again.

Please correct it as it’s somehow broken and it hides the whole pagination, at least for me.

I’ve been searching for a solution for 3 days now, nonstop. I’m so glad I’ve found the issue.

I hope that after reverting this code to the SEBLOD 3.1.5 version of it I’m not gonna break anything of the new 3.2.1 version which is currently installed on my site.
2 Posts
alexgordon
9 years ago
1
Level 2
Where do I find SEBLOD 3.1.5 files?
9 years ago
0
Level 3
Hi guys,

SEBLOD 3.2.2 is available. Please upgrade.

Thanks & Regards,
Saba.
310 Posts
ricco
9 years ago
2
Level 1
Hi alexgordon,

Here you are: http://www.filedropper.com/pkgseblod315

Regards
Ricco
2 Posts
alexgordon
9 years ago
1
Level 2
Hi Ricco, the 3.1.5 link has expire, it does'nt work anymore. Can you help me reuploading it. thanks
310 Posts
ricco
9 years ago
0
Level 3
Hi,

Here is a new link: http://www.megafileupload.com/en/file/494894/pkg-seblod-3-1-5-zip.html

As Saba said the problem is already corrected in the new SEBLOD version 3.2.2.

Regards
Ricco
310 Posts
ricco
9 years ago
0
Level 1
Hi,

This is what I call a good, nice, perfect ... the best extension for joomla. That's how I want you to be always Saba and the other SEBLOD team.

Leave the rest, ***SEBLOD*** is the BEST. I vote with 2 hands because I don't have more. Keep it going guys, I'm so happy that I've started learning SEBLOD.

Best regards
Ricco
Get a Book for SEBLOD