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.

summary and extended text missing!

June 29, 2007 2:03am

Subscribe [2]
  • #1 / Jun 29, 2007 2:03am

    Riverboy

    2993 posts

    How to make the entries shown up like “read more” or that all content is shown?
    Now i have only body shown and no links there to read more.

    I do know that this is little silly again but bear with me until i get all these things to my head, thanks!
    - Tuittu

  • #2 / Jun 29, 2007 5:19am

    silenz

    1651 posts

    General approach is this.

    You have one template where you only show the body. You use a conditional to check whether the is also extended-text. If yes, show a link to a single-entry-page.

    site/index:

    {exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" disable="member_data|trackbacks"}
    
    {body}
    
    {if extended}
    <a href="http://{path=site/comments}">read more</a>
    {/if}
    
    {/exp:weblog:entries}

    On the single-entry-page you show {body} as well as {extendend}.

    site/comments:

    {exp:weblog:entries weblog="{my_weblog}" disable="member_data|trackbacks"}
    
    {body}
    
    {extended}
    
    {/exp:weblog:entries}
  • #3 / Jun 29, 2007 6:54am

    Riverboy

    2993 posts

    Thanks. I try to continue from this!

    Yours
    - Tuittu

  • #4 / Jul 08, 2007 12:18am

    ShelaghG

    51 posts

    Thank you - that worked perfectly 😊

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

ExpressionEngine News!

#eecms, #events, #releases