Have created as webcontrol

Nov 8, 2012 at 12:35 AM
Edited Nov 8, 2012 at 12:36 AM

I have recreated this as a webcontrol which requires a tagprefix and control reference in your site's masterpage.

The feature checks for the list and if not present it creates it, with an additional Page Title field and custom view. I have also revised and create an additional query so that the stat count is now correct, and works across all subsites using the same masterpage.

The advantage of this is that if you have publishing enabled, and use a different masterpage for system/application pages, you have the ability to only record visits for pages which inherit from your Custom master.