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

  • SEARCH
  • Home
  • 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 8879313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:55:24+00:00 2026-06-14T19:55:24+00:00

Have a fairly basic template that outputs the main article and then should output

  • 0

Have a fairly basic template that outputs the main article and then should output three others from the same channel, however when using the following code nothing is output in the “Other partners” area, not even “No posts” so I’m really not sure what’s going wrong. There’s 5+ articles in the system so there’s definitely results to pull out, any ideas?

 {exp:channel:entries channel="partner" limit="1" url_title="{segment_3}"}

              <article>
                <h1>{title}</h1>
                {profile_logo:banner wrap="image"}
                {profile_body}
              </article>

{/exp:channel:entries}    

<h2>Other Partners</h2>
{exp:channel:entries channel="partner" related_categories_mode="yes" custom_fields="yes"}
   {if no_results}
     No posts
    {/if}
              <article>
                <a href="{url_title_path='community/partners'}">
                  {profile_logo:thumbnail wrap="image"}
                  <h3>{title}</h3>
                  <p>{profile_body}</p>
                </a>
              </article>
              {/if}
            {/exp:channel:entries}
  • 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-06-14T19:55:25+00:00Added an answer on June 14, 2026 at 7:55 pm

    Looks like you have a random {/if}, not sure if that’s causing the issues with the results. You could always pass the current category to a embed and run it like so:

    {exp:channel:entries channel="partner" limit="1" url_title="{segment_3}"}
    
      <article>
        <h1>{title}</h1>
        {profile_logo:banner wrap="image"}
        {profile_body}
      </article>
    
      {embed="template_group/_related_partners" category="{categories backspace="1"}{category_id}|{/categories}"}
    {/exp:channel:entries}
    

    Embed template:

    {exp:channel:entries channel="partner" category="{embed:category}" dynamic="no" url_title="not {segment_3}"}
       {if no_results}
       No posts
       {/if}
       <article>
        <a href="{url_title_path='community/partners'}">
          {profile_logo:thumbnail wrap="image"}
          <h3>{title}</h3>
          <p>{profile_body}</p>
        </a>
       </article>
    {/exp:channel:entries}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a parent-child relationship setup that is fairly basic. The end result is
I have a fairly basic SQL Server Reporting Services report that is using nested
I have a fairly basic dialog maker for jquery that works in 2 out
I have a basic class that I extend fairly often. I thought it would
So right now I have a fairly basic Executor service that I use to
This should be fairly basic, but say I have a Public property as local
I have an ASP.NET application that is fairly basic. It queries some data and
I have a fairly basic android app that is a tabhost of 4 tabs,
I have a fairly basic program that is intended to sort a list of
I have a fairly basic app that only has two Activities, the splash screen

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.