<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2010://24.19551-</id>
  <updated>2011-09-01T02:20:12Z</updated>
  <title>Comments for MTEntriesCount used as a var?</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2010://24.19551</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=19551" title="MTEntriesCount used as a var?" />
    <published>2010-02-05T13:56:02Z</published>
    <updated>2010-02-05T17:00:06Z</updated>
    <title>MTEntriesCount used as a var?</title>
    <summary>I need to get a count of entries from a given period and set that count as a variable. I think this is probably easy, but I am missing something... When I do this all I get is the display...</summary>
    <author>
      <name>jdshipengrover</name>
      
    </author>
    
    <category term="General" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I need to get a count of entries from a given period and set that count as a variable. I think this is probably easy, but I am missing something...</p>

<p>When I do this all I get is the display of the count. It doesn't set the variable. </p>

<p><br />
</p>

<p><br />
</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2010://24.19551-comment:36809</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2010://24.19551" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html#c36809" />
    <title>Comment from Dan Wolfgang on 2010-02-05</title>
    <author>
        <name>Dan Wolfgang</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>&lt;mt:EntriesCount setvar="my_counter"&gt; or &lt;mt:SetVarBlock name="my_counter"&gt;&lt;mt:EntriesCount&gt;&lt;/mt:SetVarBlock&gt;</p>]]>
    </content>
    <published>2010-02-05T16:52:21Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2010://24.19551-comment:36811</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2010://24.19551" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2010/02/mtentriescount-used-as-a-var.html#c36811" />
    <title>Comment from jdshipengrover on 2010-02-05</title>
    <author>
        <name>jdshipengrover</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>couldn't get SetVarBlock to work, but the other method is exactly what I need... thanks</p>]]>
    </content>
    <published>2010-02-05T17:00:06Z</published>
  </entry>

</feed>

