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.

Embedding file entries tag within channel entries

November 21, 2012 11:48am

Subscribe [1]
  • #1 / Nov 21, 2012 11:48am

    scottb

    348 posts

    A client wants to put captions in the Description field of photos in the File Manager.

    Then they want to add a photo to an entry using a field called {summary_photo} and display that photo with the metadata description on the site.

    I haven’t been able to link the metadata in the File Manager with the entry and the channel tag or find any explanation in the forums on how to do it. So far I have tried quite a few versions of this:

    {exp:channel:entries channel="news"}
    <a href="http://path">{title}</a>
    
      {if summary_photo != ""}
      {exp:file:entries limit="1"}
      {summary_photo}
      {description}
      {/exp:file:entries}
      {/if}
    
    {summary}
    {/exp:channel:entries}

    Any suggestions?

     

     

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

ExpressionEngine News!

#eecms, #events, #releases