IMS_Blog

Because I forget stuff. Part of norcimo.com

Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here

About This Post

Originally posted September 11 2004 at 17:09 under Blogging. 0 Comments. Trackbacks Disabled.

How Many Entries?

Mood:
Feeling a bit silly
Location:
Home
Music:
Buffalo Tom, A-sides 1988-1999

Silly me. When I set up this MoveableType installation I made the navigation for the pages display the categories complete with the number of entries in each category. Stupidly though I managed to set it up so that the number of entries wouldn’t update (unless I rebuilt the page it was being shown on—so it would work on the front page but not older entry pages). With a bit of jiggery to the templates and a server side include I’ve sorted that out (I’m sure the new dynamic stuff in MT 3.1 would probably help—and I do have some plans for that feature, if only reducing the load when building a new entry—but I don’t really have the time to upgrade and play right now).

Edit: I should point out that adding the numbers up won’t get you the current 101 number of entries, because entries in more than one category get counted in both. Also I might mention that the to the last entry wasn’t getting updated either but now is. Finally I fixed search results so clicking “more” now goes to the entry rather than performing the search again (I’m not sure why that was happening, but it seems it no longer does).

Comments (0):

Post a comment

Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.

Please note this blog's comment policy

Trackbacks (0):

Trackback URL: http://www.norcimo.com/MT/mt-tb.cgi/101

Advanced...

This Crazy Fool

Who:
Dr Ian Scott
Where:
Croydon (and Gateshead), United Kingdom
Contact:
ian@norcimo.com
What:
Bullding Services Engineer (EngDesign), PhD in Physics (University of York), football fanatic (Newcastle United), open source enthusiast (mainly Mozilla)

More about me [Disclaimer]

You may subscribe to IMS_Blog using the RSS Feed, the Atom Feed or by email.

Creative Commons License

From September 11 Other Years

© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.