Bluegenegeek

Apr 04

Sitefinity Ecommerce Donations widget available on Github

Code is also available on Github here .You can read more about the widget from Steve Miller’s post on sitefinity.com here

Jan 01

Happy New Year 2012

Dec 20

Sitefinity 4.4 released!

Sitefinity 4.4 has been released today. I am really excited about Module Builder. The release also introduces product variations for the Ecommerce module and a ton of bug fixes.

Check it out at http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/sitefinity-4-4-released.aspx

Venkata


Nov 10

Using Disqus comments in Sitefinity

In my previous post I explained how to use Disqus in a development environment.

In this post I will talk about how to use Disqus comments in Sitefinity Blogs.

Getting started with Disqus is pretty simple, go to Disqus.com and signup, all you need is to provide Site information (site where you will use Disqus comments) and your moderator information. 

Now navigate to Disqus developers section where you will find an universal code that you can embed. Copy that code and paste it into a user control in your Sitefinity Web Application. 

 

Below is how how your user control will look like - 

 

You would need to change “disqus_shortname” to your disqus short name. This is how your control setup will look like - 

 

Now navigate to Sitefinity’s backend and go to Design-> Widget Templates and look for “Full Blog Post Item” template and edit the template. 

At the top of the Widget Template add the below lines to register your Disqus Comments control. 

 

Now scroll to the end of the template where you will find a section where Sitefinity’s default Comments controls can be found. Below image will show you where they are -

 

replace these controls with the disqus comments control that has been registered above, below is how it would look like -  

 

Reload your comments page and you should now see Disqus comments as your comments system in Sitefinity Blog Post.

To download a sample of code used in this post Click here and if you want to see a running sample, well if you are reading this post, this is a running sample :) 

Hope this helps

Cheers

Venkata


Nov 06

Developing with Disqus on localhost

Disqus is a popular comment platform which can be integrated to any website by using simple Javascript snippet code.

This article talks about how to develop with Disqus, on localhost or on your development environment.

 When you are running Disqus for the first time, disqus tries to verify your URL, if your URL fails to match certain criteria you will be presented with “We were unable to load Disqus” message. Unfortunately this message will also be shown when you are running your website locally.

To overcome this error message and still have Disqus working correctly when developing(in localhost scenarios) you will have to set disqus_developer variable before your regular Disqus JavaScript snippet. Below is how you would do it -

var disqus_developer = 1;

Hope this helps

Cheers

Venkata


Nov 03

Sitefinity 4.3 released

Sitefinity 4.3 has been released. Lots of new features and huge number of bug fixes.

I am really excited about a lot of new features in Ecommerce, to read more head to release notes here

 Cheers

Venkata


Oct 10

Changing product detail URL in Sitefinity Ecommerce

By default, Sitefinity Ecommerce ships with a date formatted URL for the Product Detail page, which comes very handy if you just want to let your users know when the product was published. But as with any other part of Sitefinity, this URL can be highly customized to meet your own needs and make even more Pretty URL or PURL in general.

You can change the default route of products in 2 ways

  1. 1. Using the urlFormat in the backend of Sitefinity
  2. 2. Extending OpenAccessCatalogDataProvider in your application
Below is the default URL format of products in Ecommerce

 

Using urlFormat in the backend of Sitefinity –

This option will let you extend the detail to not to have the date in the URL. To attain this URL format you would need to navigate to Backend-> Administration-> Settings-> Advanced-> Catalog->Providers-> OpenAccessProvider-> Parameters and then create a new parameter with the name urlFormat and value /[UrlName], this will change product detail URL to not have date. Please also note that new products added to the system will get new URL format by default but already existing products doesn’t change the URL by default. You will have to republish the existing products toget the new URL format. Below is a screenshot on how the new URL would look like -

 

Extending OpenAccessCatalogDataProvider -

This option will let you extend the route of product detail in any way you want. You have complete control over the route that leads to the detail page. Here is how you would do it –

  1.  You will need to change the ProviderType to a custom class in your own application.
  2.  Add the code to extend the route. (see example below)
https://gist.github.com/2779778

 

Above is an image on how the changed URL format would look like, please note that you can get the “DetailRouteKey” in any way you want and feed any string into the URL at this moment.

Also, as above note that new products added to the system will getnew URL format by default but already existing products doesn’t change the URLby default. You will have to republish the existing products to get the new URLformat.

Hope this helps,

Cheers

Venkata


Oct 06

Thank you, Steve

“Whether or not you like Apple, every engineer should mourn the passing of Steve Jobs. He was quite possibly our time’s greatest builder.” via Nate Kohari
Thank you for everything you did for this industry Steve.

 

Image credit apple.com


Sep 28

Sitefinity 4.2 SP1 released

The Service Pack 1 release of Sitefinity 4.2 has been released, go get it while its hot!

The best feature in my opinion is the Migration Module now supports Sitefinity 3.7 Community and Standard edition projects, both .NET35 and .NET40 :) wow.

You can read more about the release notes here

Cheers

Venkata


Sep 25

Disable AutoComplete on Textbox in ASP.NET

There are cases when you want to turn off AutoComplete that all modern browsers offer for textbox.

This article will guide you through on how to disable AutoComplete in ASP.NET.
There are two ways you can achieve this -
  1. Using AutoCompleteType (works in IE and .NET specific). You can read more aboutAutoCompleteType here
  2. Using AutoComplete (works in all browsers, HTML attribute).
AutoCompleteType
AutoCompleteType can be used for achieve different behavior on the textbox, using AutoCompleteType=”Disabled” turns off AutoComplete when using IE.
<asp:TextBox ID="tbAutoCompleteIE" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
AutoComplete
AutoComplete is a HTML attribute that can be used for any language / platform and it works in all the browsers. AutoComplete=”Off” on the textbox (input) turns off AutoComplete on all browsers.
<asp:TextBox ID="tbAutoCompleteAll" runat="server" autocomplete="Off"></asp:TextBox>
You can download code for this post here.
Hope this helps.
Cheers
Venkata