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.

howto exp:weblog:entries

October 11, 2010 8:40am

Subscribe [2]
  • #1 / Oct 11, 2010 8:40am

    Ricardo_21

    6 posts

    Hello members,

    I have EE version 1.6.8.
    I have a problem with the {exp:weblog:entries} since a short time.
    I have a custom field with a weblog and basically I loop through all the records of a weblog. That is not efficient.

    Now my code is not working anymore and my weblog counts records more as 400.

    Is there some way to achieve the following:

    {exp:weblog:entries weblog="weblog_name" my_custom_field="yes"}
    
    //do my routine here
    
    {/exp:weblog:entries}

    rather than:

    {exp:weblog:entries weblog="weblog_name" }
    
    {if my_custom_field == "yes"}
    //do my routine here
    {/if}
    
    {/exp:weblog:entries}
  • #2 / Oct 11, 2010 8:57am

    Ingmar

    29245 posts

    Look into the search= parameter.

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

ExpressionEngine News!

#eecms, #events, #releases