Help - Search - Members - Calendar
Full Version: How I can count ... ?
Movable Type Community Forum > Additional Resources > Tips and Tricks
ebarbeito
Hi!

I want to take some information about my weblog state. But I haven't found any Template TAG for do it. I want to count how many categories are there created in my weblog and how much months I am webloging. For example:

- Posts: 33
- Comments: 20
- Categories: 7
- Months writing: 6

Is it posible? smile.gif

Thanks very much and sorry for my HORRIBLE English
Greetings!
trialanderror
At least for the first three requirements the answer can be found in the MT Manual just do a find on this page and look for the word count.

I think that if you use the tag MTArchiveCount

CODE
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$> (<$MTArchiveCount$>)</a><br>
</MTArchiveList>


This will work for you fourth requirement.

t&e
ebarbeito
Hi trialanderror, thanks for your reply smile.gif but I don't want to list the months that I have writting but "work out" how much months I've writting.

I'm also interested in count the number of categories I have created at the momment.

Any suggest are welcome wink.gif
Grettings
crys
Might try How Long Has Your Blog Been Up? by David Raynes it uses two plugins to do it but looks pretty good
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.