EllisLab text mark
Advanced Search
     
Question about a sidebar
Posted: 26 January 2013 11:48 AM
Joined: 2011-02-07
38 posts

Taken from this previous thread.

I have done everything Shane suggested. I have 6 embeds for the 6 different sidebar options. I’ve created a new channel called “sidebar”, a channel field called {page_sidebar_options} (on a different channel - “page”) which has a dropdown where you can choose from the six options, but I cannot get the sidebar to display the options that have been chosen. The sidebar is another embed if that helps, it’s called “site_sidebar”.

Code in embed “site_sidebar”:

{exp:channel:entries channel="sidebar" disable="member_data" limit="1" dynamic="no"}
     {embed
="include/{page_sidebar_options}"}
{
/exp:channel:entries} 

Can anyone help me?

Thanks.