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.

Related and Recent artciles

September 05, 2013 6:03am

Subscribe [1]
  • #1 / Sep 05, 2013 6:03am

    MINDSCREEN

    218 posts

    I am trying to show most recent related articles of related categories from a single entry page view. Pls, check http://www.mercatornet.com/articles/view/lessons_about_life_at_monsters_university

    But the problem is that its showing 5-6 years old articles, not the recent. I have tried with orderby=“date” sort=“desc”, but not working. Can anyone Please check the below code and comments:-

    {exp:channel:entries channel="articles" related_categories_mode="yes" limit="3" custom_fields="yes" member_data="yes" dynamic="no"}
    <div  height:270px; padding:10px; float:left; margin-left:4px; background: none; border: 0;">
                                   {if thumbnail} 
         {thumbnail}
                                    {/if} {if forum_title != ""}
    
                                        <strong>{forum_title}</strong>
    
                                        <span>
                                        <a href="http://{title_permalink=articles/view}class=features1">{title}</a></span>
                                        {/if} {if forum_title == ""} <a href="http://{title_permalink=articles/view}class=features1">_                                    <h   14px arial, sans-serif; margin-bottom: 3px; text-align:left; color:#000;">{title}</h2></a> {/if}
                                        <div  text-align:left; font-size:12px;">{entry_date format="%j %F %Y"}
                                        {exp:word_limit total="15"}{summary}{/exp:word_limit}
                                        </div>
                                    </div>
    {/exp:channel:entries}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases