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.

Display related entries from same category

July 24, 2012 9:43am

Subscribe [1]
  • #1 / Jul 24, 2012 9:43am

    Iceberg Creative

    21 posts

    Hello.

    I am looking for help to do the following 😊

    I have a channel called ‘Solutions’ (solutions). I have created a single view page to display one entry from within this ‘Solutions’ channel.
    I have another channel called ‘Case Studies’ (case_studies). Both of these channels belong to the same category group called ‘Industry Sectors’ (industry_sectors).

    Let’s say I have created a Solution called ‘Office Lighting’. I have assigned this to the ‘Commercial’ category. I have also created numerous ‘Case Studies’ that are also in the same “Commercial’ category.

    I would like EE to display all of the fields on the ‘single view’ page for ‘Office Lighting’, as well as display a list of ‘Case Studies’ that have been assigned to the ‘Commercial’ category.

    However, the area where I wish to display the ‘Case Studies’ is in the middle of the area where I wish to display the content from ‘Office Lighting’.

    Therefore, it ‘feels’ as though I need to place tag pairs between tags, which, I believe, can’t be done.

    Is this the case and what would you do?

    Thanks in advance for both reading this and extra special thanks if you can help me out 😊

  • #2 / Jul 25, 2012 12:05pm

    Dan Decker

    7338 posts

    Hi Iceberg Creative,

    Thanks for posting to the forums!

    Therefore, it ‘feels’ as though I need to place tag pairs between tags, which, I believe, can’t be done.

    Very close, it can be done, but with embeds 😊

    On your embedded template, include your second channel entries tag pair. Be sure to set dynamic=“no”.

    Let me know if you have any questions!

    Cheers,

     

  • #3 / Jul 25, 2012 7:31pm

    Iceberg Creative

    21 posts

    Thanks very much, Dan. I’ll give it a go when I get into the office in the morning and let you know how I get on.

    I really do appreciate the fact that you took the time to answer my bumbling request for help.

    Cheers

  • #4 / Jul 26, 2012 4:12pm

    Dan Decker

    7338 posts

    Howdy Iceberg Creative,

    Absolutely my pleasure to be here to help!

    I look forward to your report!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases