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.

Displaying channel data, newb warning

February 04, 2013 3:17pm

Subscribe [2]
  • #1 / Feb 04, 2013 3:17pm

    lamaison

    15 posts

    First off, I’m a newb with ee.

    Here’s what I trying to accomplish in general terms.  I want a web page displaying a particular Service the company offers.  And in the right sidebar I would like to display one or more Case Studies that relate to this Service web page.  The Case Study sidebar element would consist of a thumbnail image, a bit of text, and a URL to link to the Case Study in PDF format.

    The difficulty I’m having is how to build this in the EE control panel.  I thinking I would create a channel for Services content.  And another channel with the Case Study content.  Then I would create a dynamic Multi-Select box on the on the Services Channel with data from the Case Study channel.

    So the hope is that a user of the EE control panel could enter the Service info and select one or more Case Studies via the Multi-Select box, to also be displayed on that page in the right sidebar. This multi-select would need to display a Case Study Title so the user could identify which Case Study they wish to add.

    Finally, in thinking how to build the template, I’m wondering if I will be able to get entry_id’s of the Case Studies to feed the Channel entries tag within the page templates sidebar?

    <div class=”content”>
      {exp:channel:entries channel="services" limit=1"}
       Services Stuff
     {/exp:channel:entries}
    </div>
    <div id=”right-sidebar”>
     {exp:channel:entries channel="case_studies" 
        fixed_order="3|15"}*
       Case Study Stuff
    
     *Can I get the case study entry_ids from the services channel to populate fixed_order field above?
    
     {/exp:channel:entries}
    </div>

    Can this be done? 
    Is this even the right way to do this?
    Would an add-on like Matrix be appropriate in this situation?

  • #2 / Feb 07, 2013 7:04pm

    lamaison

    15 posts

    What I learned is there really is no way to handle this kind of thing with EE out of the box.  I finally came across an article “Flexible sidebars using Playa” from Mike over at Train-ee. His client had the exact need I have. 

    Thanks for the fine article Mike.
    http://www.train-ee.com/courseware/free-tutorials/comments/flexible-sidebars-using-playa/

  • #3 / Feb 11, 2013 11:25am

    Boyink!

    5011 posts

    Cheers!

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

ExpressionEngine News!

#eecms, #events, #releases