Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6354767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:37:58+00:00 2026-05-24T22:37:58+00:00

I’m having a small problem with the prev_entry tags and ExpressionEngine . It’s strange

  • 0

I’m having a small problem with the prev_entry tags and ExpressionEngine.

It’s strange as it works on other parts of the site. Basically I have a site with the six latest projects, then a prev_entry and a next_entry to go to the next entry in the list of six.

For some reason, when you hit the end of the entries, the “next entry” link won’t disapear, and when it’s clicked it brings up an empty page… You can see it here:

http://www.mclh.co.uk/index.php/divisions/view/170

If you click the last entry, the arrows still appear. Then, when you click the arrow, it brings you to an empty page. I have another section of the site that uses the exact same code, only thing that is different is the category group and it works fine. Look here:

http://www.mclh.co.uk/index.php/projects/view/199

If you click the last project on that, it disappears as it should do. I’m using the exact same code duplicated, only thing I changed was the category group.

The code is:

    <div id="bottom-content">
        {exp:channel:next_entry category_group="2" category="{categories}{category_id}|{/categories}"}
            <a class="rightNav" href="{id_path='divisions/view'}" style="color:#000;"><<</a>
        {/exp:channel:next_entry}

        <div id="current-project-wrap">
            <div class="current-project">
                {exp:imgsizer:size src="{division_image}" height="68px" width="137px"}
                    <a href="{title_permalink='divisions/view'}"><img src="{sized}" height="{height}" width="{width}" alt=""/></a>
                {/exp:imgsizer:size}
                <a href="{title_permalink='divisions/view'}"><p class="thumbTitle">{title}</p></a>
            </div>
        </div>

        {embed="divisions/related" stop_before="{entry_date format="%Y-%m-%d %H:%i"}" category_id="{categories show_group="1" limit="1"}{category_id}{/categories}"}

        {exp:channel:prev_entry category_group="2" category="{categories}{category_id}|{/categories}"}
            <a class="leftNav" href="{id_path='divisions/view'}" style="color:#000;">>></a>
        {/exp:channel:prev_entry}
    </div>
{/exp:channel:entries}

Any suggestions?

(Yes, I have another issue. This site has gave me nothing but problems from the start (I didn’t initially design or develop it).)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:37:58+00:00Added an answer on May 24, 2026 at 10:37 pm

    Be sure to add channel="channel_name" to the prev_entry and next_entry tags. Otherwise it will include next/prev links to entries from other channels that might share that same category.

    Also, the category_group and category parameters are mutually exclusive, so you don’t need both. (category overrides category_group.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a small problem in Java. I have an interface called Modifiable. Objects
I'm having a small problem. I have this grid with a column: <data:DataGrid ColumnHeaderStyle={StaticResource
I'm having small problem (I guess) of showing the JTable panel. I have class
I'm having a small problem with mod_rewrite I have the following in my .htacces:
So I keep having this small problem where I have something like func ::
I have a small problem which I'm having a hard time troubleshooting. I just
I'm having a small problem with AFNetworking. Im trying to have a simple call
I have been having a small problem that I can't by-pass it, I keep
I'm having a small problem, that I just cannot figure out. I have a
I am having small problem in making a global variable works. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.