PDA

View Full Version : Microstat in FST



danswano
05-21-2011, 08:09 PM
Hello everyone, can i get the Plugin code used in FST that display the queries number and execution time in the footer on the left?

There is a microstat plugin on VB.org but it's outdated and won't work on VB4.

Thanks you :)

tesco
05-21-2011, 10:05 PM
Import the product.
Put the three images in your images/statusicon for each of your styles.
Put this somewhere in your footer:

<!-- PAGELOAD -->
Add this CSS to additional.css template:

#performance_statistics { position: absolute; {vb:stylevar right}: {vb:math 2 * {vb:stylevar padding}}; padding-bottom: 3px; }
#performance_statistics dt { display: inline; }
#performance_statistics dt img { vertical-align:top; }
#performance_statistics dd { display: inline; padding-{vb:stylevar right}: {vb:stylevar padding}; }
#performance_statistics ul { float: {vb:stylevar right}; }This isn't tested, I might have missed some things.

danswano
05-22-2011, 12:00 AM
Thank you very much, it works fine :)