Problem with Stories after update to Pavilion 1.2.4

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeProblem with Stories after update to Pavilion 1.2.4

This topic has been marked as resolved.

After update theme to 1.2.4 – problem with page pagination in Stories – see atached image.

  • This reply was modified 3351 days ago by  npop.
 npop
February 23, 2015 at 11:42 am #38574

Hi,

We will need the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

February 27, 2015 at 6:09 pm #38769

Version 1.2.4 is still on my local server. OpenCart 1.5.6.4, Pavilion 1.2.4

I think the problem is in the file

catalog/view/theme/pavilion/template/stories/index.tpl

rows from 61 to 66


<div class="pagination tb_border_str_2">
  <?php $pagination = str_replace('<a', '<a class="tb_bg_str_2 tb_bg_hover_str_3"', $pagination); ?>
  <?php $pagination = str_replace('<span', '<span class="tb_text_str_3"', $pagination); ?>
  <?php echo str_replace('pagination', 'links', $pagination); ?>
  <div class="results"><?php echo $results; ?></div>
</div>

row 64 -  <?php echo str_replace('pagination', 'links', $pagination); ?> - displayed:

<div class="links"> 
    <b>1</b>
    <a class="tb_bg_str_2 tb_bg_hover_str_3" href="http://site.com/articles?page=2">2</a>
    <a class="tb_bg_str_2 tb_bg_hover_str_3" href="http://site.com/articles?page=2">&gt;</a> 
    <a class="tb_bg_str_2 tb_bg_hover_str_3" href="http://site.com/articles?page=2">&gt;|</a> 
</div>
<div class="results">Showing 1 to 2 of 3 (2 Pages)</div>

row 65 - <div class="results"><?php echo $results; ?></div> - displayed:

<div class="results">Showing {start} to {end} of {total} ({pages} Pages)</div>

The same is in file – catalog/view/theme/pavilion/template/stories/tag.tpl – row from 65 to 70


<div class="pagination tb_border_str_2">
  <?php $pagination = str_replace('<a', '<a class="tb_bg_str_2 tb_bg_hover_str_3"', $pagination); ?>
  <?php $pagination = str_replace('<span', '<span class="tb_text_str_3"', $pagination); ?>
  <?php echo str_replace('pagination', 'links', $pagination); ?>
  <div class="results"><?php echo $results; ?></div>
</div>

I found another error in module STORIES:

When category (tag) has been selected page navigation does not work corectly. The code for tag (story_tag_id) is missing in the links for next, prev, last and first page and all articles are displayed instead of those of the selected category.

In file catalog\controler\stories\tag.php, row 86:

 
$pagination->url   = $this->url->link('stories/index', $url . '&page={page}');
 

“stories/index” instead of “stories/tag” and missing “story_tag_id”

How corect this errors.

  • This reply was modified 3345 days ago by  npop.
 npop
February 28, 2015 at 10:42 pm #38808

Hi,

Open catalog/view/theme/pavilion/template/stories/index.tpl and catalog/view/theme/pavilion/template/stories/tag.tpl and remove this code line:

<div class="results"><?php echo $results; ?></div>

BR,
ThemeBurn team

March 3, 2015 at 2:22 pm #38899

This I did as soon as I found.
How can i fix problem with category list in Stories module?

 npop
March 4, 2015 at 12:04 am #38944

Hi,

just unzip the attached file and upload its contents to your opencart’s root folder, replacing the current files. It should fix your issues with tag pagination.

BR,
ThemeBurn team

March 4, 2015 at 10:48 am #38952

Thanks, It work now.

 npop
March 6, 2015 at 10:53 am #39005

Glad we’ve helped :)

BR,
ThemeBurn team

March 6, 2015 at 10:59 am #39006
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.