Archive for June, 2007

Finally! Blog moved to Sitefinity.

Posted on June 26, 2007. Filed under: Uncategorized |

Dear readers,

finally the Sitefinity Developer blog has been moved over to Sitefinity. WordPress has been a really nice platform to kick-start this blog, but as my blog needs more and more flexibility I have decided to move it to Sitefinity. The new address of the blog is :


So please, update your bookmarks as well as RSS subscriptions. I hope you’ll enjoy the new blog.

Read Full Post | Make a Comment ( None so far )

A forgotten post : Registring a Custom Module with Sitefinity

Posted on June 14, 2007. Filed under: Building a pluggable module |

Custom module 101Over the last week or so I’ve received several comments asking how to register a custom module in Sitefinity. Obviously, this post should have been written way before in the Building a pluggable module section, but I have somehow missed it. I apologize and would like to thank the kind readers that pointed that out.

So here it goes… registring the module with Sitefinty. In case you have not already downloaded the latest download of Contacts Module project, you can do it here. The zip file contains two projects : Sample.Contacts and Sample.Contacts.Data.

You need to add both of those projects to your existing project in Visual Studio in effect creating a solution. If you already have a solution, just add those two projects. Then add both projects as a reference to the WebSite project (Sitefinity website).

Now that you have that project, let’s see what we need to do to register it.

1. You should add the config section for contacts module to your web.config. So find in your web.config <configSections> element, and then inside if <sectionGroup name=”telerik”> element. Paste the underline line inside that element.

sectionGroup name=telerik>
section name=contacts type=Sample.Contacts.Configuration.SectionHandler, Sample.Contacts requirePermission=false/>

Sample.Contacts is the name of the project. SectionHandler is the class inheriting the base class ConfigurationSection and contains the functionality for loading and accessing the contacts section information.

2. Add the contacts section inside of telerik section group.Your contacts section will allow you to set various settings required by Contacts module. So find the <telerik> element and past the underlined text somewhere inside it (be careful <telerik> element must be a immediate parent of <contacts> section here).

contacts defaultProvider=Sitefinity>
<add name=Sitefinity securityProviderName=“” type=Sample.Contacts.Data.DefaultProvider, Sample.Contacts.Data connectionStringName=DefaultConnection visible=true />

As you can see the first and most rudimentary setting we need to set is the provider for this module. Sample.Contacts.Data is the data project for the Contacts module and DefaultProvider is the class providing an implementation for the provider model.

3. Finally, you have to register the module. The previous two steps were needed by the module, this last step actually registers the module with Sitefinity. Find the <framework> element and then <modules> element inside of it. Paste the underlined line inside of <module> element.

add type= Sample.Contacts.ContactsModule, Sample.Contacts/>

ContactsModule is the class, providing substantial information for your custom module. In my previous posts I’ve referred to this class as the main module class also. That’s the one inheriting WebModule class.

That’s all. Let me know if you need any other assistance.

Read Full Post | Make a Comment ( 4 so far )

What’s going on?

Posted on June 5, 2007. Filed under: Uncategorized |

Dear readers,

No I’ve not been lazy!As you may have noticed I’ve been rather quiet for the past several days. No, this blog is not slowing down and this will not become a practice. On the contrary! I’m in the process of moving the blog from WordPress to Sitefinity which will allow me to demonstrate the examples live on the new blog. I’m also creating a UserControl that will allow you to move any blog with RSS to Sitefinity (and demonstrate at the same time how to work with blogs and rss in Sitefinity!).

Once I move the blog I plan to extend it with different widgets which you will be able to download and use on your own blogs.

So as you can see, there is a lot of goodness coming your way, but I must ask you for a bit more patience.

Thank you all and see you soon on the spanking new Sitefinity blog!

Read Full Post | Make a Comment ( 4 so far )

Liked it here?
Why not try sites on the blogroll...