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 8670257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:40:10+00:00 2026-06-12T18:40:10+00:00

For creating search results I’ve got a channel field where the path to the

  • 0

For creating search results I’ve got a channel field where the path to the page is stored (eg. /products/bikes).
Each entry has it’s own path.

Because there are different channels, every channel has it’s uniquely named channel field.
For the channel “products” it’s: {products_search_path_nl}.

Within the results page {exp:search:search_results} the field is dynamically created like this: {channel_short_name}_search_path_{language} which is displayed as products_search_path_nl.

The issue is that it does not get parsed. After looking at EE’s parse order I’ve tried:

  • using it as a snippet
  • assigning it to a PHP variable and outputting it later on
  • changing PHP parsing stage (input / output)
  • embedding it using a template {embed="search/uri_embed"}
  • embedding it using a template and a template variable {embed="search/uri_embed" passed_var="{channel_short_name}"}
  • using it within a simple conditional statement {if "1" == "1"}

Thanks for reading! Any help would be appriciated!

  • 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-12T18:40:12+00:00Added an answer on June 12, 2026 at 6:40 pm

    Thanks to Low’s suggestion I used a loop, since this seems impossible to solve in a propper manner.

        {if "{channel_short_name}" == "news"}
            {if "{news_search_path_{language}}" != ""}
                <h3><a href="{base_url}{news_search_path_{language}}{url_title}">{title} </a></h3>
                {excerpt}
            {/if}
    
        {if:elseif "{channel_short_name}" == "products"}    
            {if "{products_search_path_{language}}" != ""}
                <h3><a href="{base_url}{products_search_path_{language}}{url_title}">{title} </a> </h3>
                {excerpt}
            {/if}
    
         // ....... and so on
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a search page, the page has a form that is being submitted
I'm creating a search results page using Backbone in combination with CoffeeScript and Handlebars.
I'm creating a list of search results, using an unordered list, each <li> is
I am creating a search results page in C# in an ASP.NET 1.1 page.
I'm creating a stored procedure to return search results where some of the parameters
Seems simple enough. I'm creating a search engine that returns results to the user
I'm creating eBay style search panes that allow users to narrow their results set
I'm creating a set of search panes that allow users to tweak their results
I am creating a search page where we can find the product by entering
I just got a homework assignment, and it's just creating a linear search algorithm

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.