ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pagination link issue

May 08, 2012 8:36am

Subscribe [2]
  • #1 / May 08, 2012 8:36am

    Matt76

    75 posts

    I noticed this on the previous update but didn’t get around to try and fix it and figured it would get fixed on the latest update.  The last page link shows up as “pag_last_link” and I would like to fix it to how it should look.  What do I need to do and where?

    Thanks
    Matt

  • #2 / May 09, 2012 12:21pm

    Shane Eckert

    7174 posts

    Hello Matt76,

    I am sorry to hear you are running into this problem.

    That looks like it could be a few things.

    Can you please show me the template code that you are using to call this?

    Do you have any Add-Ons installed, if so can you list those here?

    Let me know and we will get this figured out.

    Cheers,

  • #3 / May 09, 2012 12:27pm

    Dan Decker

    7338 posts

    Hi Matt,

    That looks like a language key issue.

    What language do you have selected for the site? If you are using language pack, you need to make sure it’s put-to-date for your version of ExpressionEngine.

    If you are using the included English pack, the file you are looking for is in /system/expressionengine/language/english/core_lang.php

    Cheers!

  • #4 / May 09, 2012 1:14pm

    Matt76

    75 posts

    All the language is set to English and there are no separate language packs.

    The pagination code I am seeing scattered in templates and snippets is this

    {paginate}
    <div class="paginate">{if previous_page}<a href="http://{auto_path}%22class=%22back" title="Previous Page" class="back"> </a>{/if} {pagination_links} {if next_page}<a href="http://{auto_path}%22class=%22next" title="Next Page" class="next"> </a>{/if}</div>
    {/paginate}
  • #5 / May 11, 2012 12:44pm

    Shane Eckert

    7174 posts

    Hello Matt76,

    Can you please list out all of your Add-Ons?

    Thank you,

  • #6 / May 11, 2012 5:25pm

    Matt76

    75 posts

    Here is everything I have installed.  I didn’t build this site so please tell me if you see something of concern

  • #7 / May 11, 2012 5:28pm

    Matt76

    75 posts

    The rest

  • #8 / May 15, 2012 12:34pm

    Shane Eckert

    7174 posts

    Hello Matt76,

    Is the screenshot in your first post from the Control Panel or from your site’s front end?

    If it’s in the Control Panel, I notice that you are using NSM Morphine. That may need to be updated.

    If this is on the front end, I would love to see the template where this is happening, with the embeds included so I can see all the code and see the pagination in context.

    Thank you,

  • #9 / May 15, 2012 12:53pm

    Matt76

    75 posts

    That first screen shot is from the front end.  This site was set up with dozens of templates and the pagination code is used for each one.

    Here is a snippet that is used in pretty much all the templates
    _snip_blog_index_digest_

    <h3><a href="/index.php/{channels}/" title="{channel}">{exp:channel:entries channel="{channels}" limit="1"}{channel}{/exp:channel:entries}</a></h3><p> <br />
    {exp:channel:entries channel="{channels}" limit="3" disable="member_data"}<br />
    <h1><a href="/index.php/{channel_short_name}/story/{url_title}/" title="{title}">{title}</a></h1><br />
    <h4 class="date">{entry_date format="%D, %F %d, %Y"}</h4><br />
    {body}<br />
    {_addthis_}<br />
    <a href="/index.php/{channels}/story/{url_title}/" title="{title}">({comment_total}) COMMENTS</a><br />
    {paginate}<br />
    <div class="paginate">{if previous_page}<a href="http://{auto_path}%22class=%22back" title="Previous Page" class="back"> </a>{/if} {pagination_links} {if next_page}<a href="http://{auto_path}%22class=%22next" title="Next Page" class="next"> </a>{/if}</div><br />
    {/paginate}<br />
    {/exp:channel:entries}

  • #10 / May 17, 2012 4:15pm

    Shane Eckert

    7174 posts

    Hello Matt76,

    I still think there is some stuff missing here. What is {_addthis_} contain?

    Thank you,

  • #11 / May 17, 2012 8:43pm

    Matt76

    75 posts

    That is for the those little share buttons

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
    <a class="addthis_button_preferred_1"></a>
    <a class="addthis_button_preferred_2"></a>
    <a class="addthis_button_preferred_3"></a>
    <a class="addthis_button_preferred_4"></a>
    <a class="addthis_button_compact"></a>
    </div>
    [removed]var addthis_config = {"data_track_clickback":true};[removed]
    [removed][removed]
    <!-- AddThis Button END -->
  • #12 / May 22, 2012 3:03pm

    Shane Eckert

    7174 posts

    Hello Matt,

    I do not see anything wrong with what you have listed.

    Did you try uploading the English language pack again?

    If so, we may need to log in and take a look.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases