Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Translated pagination not working

Status Resolved
Add-on / Version Publisher 1.6.3
Severity
EE Version 2.9.3

Christian Rochford

Jun 22, 2015

Description:
Hi,
I’m having trouble with standard EE pagination. On the default english blog my pagination works perfectly. If I switch to another language the pagination links are loading the ‘Page 1’ entries on every page, I cannot acces other entries.
Thanks,
Christian

#1

BoldMinded (Brian)

Do you mean the links to other pages are not rendered or the links don’t work? Please be more descriptive. Also what does your temate look like? Is it a normal entries tag or something like low search results tag? What parameters are on te tag? Did you strip the temate down to nothing but that tag and remove everything like stash or switchee if it’s installed? Did you try upgrading to 1.6.4? Please upgrade first.

#2

Christian Rochford

Hi Thanks for your reply and sorry if my query was too vague. The problem is that the pagination link works and loads the page, e.g. {site_url}mx-es/blog/P4 but the blog articles listed do not update, they remain as on the initial page, {site_url}mx-es/blog. The entry tag is a normal entries tag and is quite basic. Removing the search and disable parameters does not help:

{exp:channel:entries channel="blog_article" dynamic="no" search:english_only="=not Yes" disable="categories|category_fields|member_data|trackbacks" limit="4"}

Also, I’m not running stash or switchee on the template just calling another entries tag which is closed before I open the tag above. I’ll investigate updating the plugin Thanks again, Christian

#3

BoldMinded (Brian)

Did you try it without the search:english_only parameter?

#4

BoldMinded (Brian)

In my local environment the pagination is working. Can you test it with this template code?

Do you have the Persistent Entries setting turned on or off?

<pre><code> {exp:channel:entries channel=”blog_article” dynamic=”no” limit=”2” paginate=”bottom”}

{if count == 1}

Absolute results: <strong>&#123;absolute_results&#125;</strong>.

Total Results: &#123;total_results&#125;

{/if}

<h1>&#123;title&#125;</h1>
<h4>Absolute Count: &#123;absolute_count&#125;</h4>
&#123;page_body&#125;

&#123;paginate&#125;
    &#123;pagination_links&#125;
        &#123;first_page&#125;
        <a href="http://{pagination_url}" class="page-first">First Page</a>
        &#123;/first_page&#125;

        &#123;previous_page&#125;
        <a href="http://{pagination_url}" class="page-previous">Previous Page</a>
        &#123;/previous_page&#125;

        &#123;page&#125;
        <a href="http://{pagination_url}" class="page-{pagination_page_number} {if current_page}active{/if}">&#123;pagination_page_number&#125;</a>
        &#123;/page&#125;

        &#123;next_page&#125;
        <a href="http://{pagination_url}" class="page-next">Next Page</a>
        &#123;/next_page&#125;

        &#123;last_page&#125;
        <a href="http://{pagination_url}" class="page-last">Last Page</a>
        &#123;/last_page&#125;
    &#123;/pagination_links&#125;
&#123;/paginate&#125;

{/exp:channel:entries} <pre><code>

#5

BoldMinded (Brian)

Christian, how did my template example work out?

#6

Christian Rochford

Comment has been marked private.

#7

Christian Rochford

Hi, I just tried this out. While the template example loads fine I’m finding the same issue when I try to access the next page, i.e. the listed articles dont change. Turning off persistent entries didn’t help. I tried updating from Publisher 1.6.3 to 1.6.5 and got an error “non existent class Publisher_cache_ee”, perhaps its linked to this? Thanks 😊

#8

BoldMinded (Brian)

The nonexistent class issue is most likely due to a bad upgrade. Try copying the files over again.

#9

Christian Rochford

Hi, the updated is place but the issue issue is still there, in my own template and in the example you shared earlier Thanks

#10

BoldMinded (Brian)

Is this on a site with only Publisher installed, no other add-ons? If not, would you mind setting up a clean EE environment to replicate it with only Publisher installed, the template, and a few dummy entries to paginate over? We need to remove all other add-ons or possible conflicts/issues from the equation and pinpoint the issue.

#11

BoldMinded (Brian)

Also, fill out the Support form in the Publisher menu so I can see the Publisher settings. It will email them to me.

#12

BoldMinded (Brian)

Also, please include a URL to where I can see the issue…

#13

Christian Rochford

Comment has been marked private.

#14

BoldMinded (Brian)

Christian, I know its been awhile. Sorry for the delay. I was finally able to replicate this when looking into another bug. Try the build in the next comment to see if it works for you.

#15

BoldMinded (Brian)

Comment has been marked private.

#16

BoldMinded (Brian)

Going to go ahead and close this b/c 1.6.6 will fix this.

Login to reply