Share » Forums » Extensions » eZ Flow » Display comment count..

Display comment count..

Display comment count..

Tuesday 10 March 2009 3:21:38 pm - 1 reply

Author Message

juan uribe

Thursday 12 March 2009 10:24:59 am

we are now using the following code

        {section show=$currentnode.data_map.enable_comments.content}
                {let $comments=fetch_alias( comments, hash( parent_node_id, $currentnode.node_id ) )}
            <a href={$currentnode.url_alias|ezurl()}>
                        {if gt($comments|count,0)}
                    Comments ({$comments|count})
                    {else}
                    Be the First to Comment this Article !
                    {/if}
            </a>
        {/section}

If any one has any idea on how to work with the cache system so that I don't have to manually update cache every 15 min?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu