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.

[Solved] Need help with this template

May 18, 2012 2:50pm

Subscribe [2]
  • #1 / May 18, 2012 2:50pm

    Maurus

    29 posts

    Hello

    I know, it’s a basic question but I haven’t worked with EE in a while and I don’t remeber how to put these togehter. Could you please help me with this?

    This is the page with the thumbnails (index page)

    site/index:

    <div id="main_colum">
     {exp:channel:entries channel="creative" disable="categories|category_fields|member_data|trackbacks|pagination" status="open" dynamic="on"}
      <div class="wrap">
       <div class="thumbnails">
      
        <a href="http://{path=site/detail}/{url_title}">{if creative_image_1 !=' '}{creative_image_1}{/if}</a>
        <a href="http://{path=site/detail}/{url_title}">{title}</a>
       </div>
      
       <div class="thumbnails">
    
        <a href="http://{path=site/detail}/{url_title}">{if creative_image_1 !=' '}{creative_image_1}{/if}</a>
        <a href="http://{path=site/detail}/{url_title}">{title}</a>
       </div>
      </div>
     {/exp:channel:entries}
     </div>


    When I click on a thumbnail, I should get this page (detail page) with the full entry.

    site/detail:

    <div id="main_colum">
      <div id="art-wrapper">
       {exp:channel:entries channel="creative" disable="categories|category_fields|member_data|trackbacks|pagination" status="open" dynamic="on"}
       
       <h2><a href="http://{path=site/detail}">{title}</a></h2>
    <p>   <br />
       {if creative_image_1 !=' '}<br />
              {creative_image_1}<br />
       {/if}<br />
       {if creative_image_2 !=' '}<br />
              {creative_image_2}<br />
       {/if}<br />
       {if creative_image_3 !=' '}<br />
              {creative_image_3}<br />
       {/if}<br />
       <br />
       <br />
       {description}<br />
      </div><br />
     </div>

    The problem here is that the detail page is empty. What’s missing?

    Thanks a lot for your help!

  • #2 / May 18, 2012 3:32pm

    Kyle Cotter

    730 posts

    Hi Maurus,

    Glad you were able to figure your issue out.

    If you have any more questions, feel free to post again.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases