ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Question about a sidebar

January 26, 2013 11:48am

Subscribe [1]
  • #1 / Jan 26, 2013 11:48am

    Stephen O'Connor

    24 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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases