0

I have a channel rendering a page. I need to make a menu for a different channel with in that page. the two do not seem to be able to work independently. Is there a way to do this

maybe something like this, only this doesn't work correctly.

Thanks for looking!

  {exp:channel:entries 
   channel="channel-1-content"
   limit="1"
   }

{some content}

{/exp:channel:entries}  

{exp:channel:entries 
   channel="channel-2-menu-items"
   limit="10"
   }
<ul>
<li><a href="{url_title}">{title}</a></li>
</ul>
{/exp:channel:entries} 

  {exp:channel:entries 
   channel="channel-1-content"
   limit="1"
   }

{some content}

{/exp:channel:entries}  
0

Can you try adding dynamic=no on your 2nd loop. By default channel entries look for a segment in the URL, adding dynamic tells it to ignore whatever's in the URL.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.