Feed
Google+
Contact
XING
LinkedIn
Twitter
ICQ
meebo.com

GEBEE - statistics extension 0.9 BETA

by Roland Schumacher alias GENiALi 27. August 2009 -- 306 words  -- 1 mal gelesen

I had an extension under dasBlog. Such gimmicks like simply very good. I then found an extension for BlogEngine.NET at klaus_b. It offers good basic information what but not enough for me. So I built an own extension. It looks like this.

GEBEEStatistics

I will now show how the extension GEBEEStatistics is installed in the blog.

1. First do I downloaded the extension.
GEBEE_Statistics_Extension.V.0.9.BETA.zip (3.26 kb)

Extension see BlogEngine.NET 1.5.1.18 and the version that is shown here at the bottom was tested.

2. After this the ZIP archive and based on the folder structure, the files are installed/distributed.
The directory structure in BlogEngine.NET looks like the red part. GEBEEStatistics.cs file is copied to the folder "/ App_Code / extensions". There are still some files. The "user controls" are treated similarly.

Install Extension

3. Now you must adapt the site.master file. This shows the blog as a whole. Because the extension displays statistical information from the blog the extension must be installed in the site.master. Depending on the chosen theme of BlogEngine.NET is the file in a different folder. The following code must be inserted.

< % @ register src = "~/User controls/GEBEE/UserControls/Statistics.ascx" TagName = "Statistics" TagPrefix = "GEBEE" % >

Should be made on line 3.

Register Extension

4. Where the statistics you want to appear for the place in the site.master.
The following piece output code statistics.

< GEBEE: statistics id = "Statistics" runat = "server" / >

Impelent Extension

5. If someone quickly wants the text in English this can be done in the file Statistics.ascx. This file is located under "/ user controls/GEBEE/UserControls".

< asp: literal ID = "TotalPostings" runat = "server" text = "total posts: {0}" > < / asp: literal > < br / >


Simply text "total posts: {0}" Customize. {0} Construct must be still there. This is replaced with the current number.

Have fun and thanks.

kick it on dotnet-kicks.de

Tags:

Kommentare sind geschlossen

Statistik

Gesamte Posts: 1025
Dieses Jahr: 7
Diesen Monat: 1
Diese Woche: 0
Kommentare: 929
Total Bewertungen: 91
Ø Bewertung: 4,42
Meisten Kommentare
Google+ ... (28)
Beste Ø Bewertung
Tastaturlayout von Visual Stud ... (5)
Meiste Bewertungen
Windows 7 und die ersten Erfah ... (5)

Buttons

Stop Spam Harvesters, Join Project Honey Pot Benutzerprofil von GENiALi connection speed test network connection Bloggeramt.de Slug.ch Blog Verzeichnis und Blog Webkatalog Schumacher Roland Seitwert Valid XHTML 1.0 Transitional

writing