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.

Not displaying weblog entry contents

August 04, 2008 6:09pm

Subscribe [2]
  • #1 / Aug 04, 2008 6:09pm

    keehun

    8 posts

    Hello,

    I’ve implemented a proper events page with the wiki page and now I’m working on the details page… I copy pasted my weblog code and changed the weblog name to calendar’s. However, it won’t show the entry (event).

    What do I need to be doing?

    Code for “Details” page:

    {embed="site/header" site_title="Team 2502 Calendar"}
    {embed="site/section_header" section_title="Event Detail"}
    <div class="column span-17 first"><!-- Content -->
    {exp:weblog:entries weblog="teamCal"}
    
    <div class="entry">
    <hr class="blog_entry" >
    <h2 class="title">{title}</h2>
    {date_heading}
    <h5 class="date">{entry_date format=' %l, %F %d, %Y '}</h5>
    {/date_heading}
    
    {summary}
    
    {body}
    
    {extended}
    
    <div class="posted">Posted by {author} • 
    
    
    {if forum_topic}
    <a href="http://{path=forums/viewthread}{forum_topic_id}">Discuss this in our forums</a> • 
    {if:else}
    Discussion is disabled for this article • 
    {/if}
    
    <a href="http://{title_permalink={my_weblog}/index}">Permalink</a>
    
    </div>
    
    </div>
    
    {/exp:weblog:entries}
     
    
    </div><!-- End Content -->
    <div class="column span-6 last"><!-- Sidebar -->
        Sidebar!
    </div><!-- End Sidebar -->
    {embed="site/footer"}

    The URL structure is like the following:

    http://robo.keehun.com/calendar/details/testing/

    The funny thing is.. Exactly the same code works for my regular blog.

    Thanks,
    Keehun


    [Mod edit: moved to Technical Support forum]

  • #2 / Aug 04, 2008 6:14pm

    Ingmar

    29245 posts

    When you say “events”, are the dates in the future? Or expired, in the past? If so, you need show_expired=“yes” and/or show_future_entries=“yes”.

  • #3 / Aug 04, 2008 9:08pm

    keehun

    8 posts

    Thanks Ingmar, that worked perfectly!

  • #4 / Aug 05, 2008 1:30am

    Ingmar

    29245 posts

    Delighted to hear it 😊 Marking this one as resolved, if anyhting else comes up, simply start a new thread, thanks.

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

ExpressionEngine News!

#eecms, #events, #releases