We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Channel Entries - Other pages not showing

How Do I?

andrew.reff's avatar
andrew.reff
26 posts
8 years ago
andrew.reff's avatar andrew.reff

For a particular section of my site, I have it set up using “channel entries” and want to use the results of those entries as part of my navigation. This works great when your on the homepage or anywhere else on the site, but as soon as you go to one of the entries that is part of this channel (lets just call this particular channel “features”), it ONLY shows that one entry in the navigation.

Now unless I have completely missed how I should be using this or I am missing something, this is how my code looks;

<ul>
  {exp:channel:entries channel="features" sort="asc"}     
  <li><a href="http://{url_title_path=features}">{title}</a></li>
  {/exp:channel:entries} 
</ul>

As I said it works great anywhere else on the site, but once I go to a page within that channel (ie one of the feature pages), it ONLY shows that page I am on and nothing else.

Please advise! Help is greatly appreciated! 😊

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Adding dynamic=”no” to your channel entries tag should do the trick. Your url_title_path is lacking apostrophes, should be {url_title_path='features'}.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.