Blog Statistics with Movable Type 4

2008 Feb 12
stats-widget.jpg The new version comes with additional tags. Although these tag s were not new t o Movable type using them together with the widget add in makes it easy play with movable type templates. Tracking the number of posts as displayed in the dashboard is very nice to keep us updated with our blog. It would even be better if its added to the blogs main page. We will be using 4 movable type tags namely:
- Used to count the categories within a blog
- Used to count all the published entries in a blog
- the total number of comments
<$mt:AssetCount$> - the total number of assets uploaded

Lets start by making a Blog Statistics Widget:
1. Navigate to your blogs templates and on the quickfilter click on Widgets
2. Create a widget and name it Blog Statistics
3. Paste the following:
 

   

Statistics


   

    Total Categories:

    Total Entries:

    Total Comments:

    Total Uploaded Assets: <$mt:AssetCount$>

   


4. Save your new widget
5. Navigate to your Widget sets
6. Drag and drop Blog Statistics from the Available widget to your Installed Widgets
7. Click on Save Changes
Tweet this post

Related Entries

Leave a comment


Recent Entries

Close