Category

Sitefinity

sitefinity-feather-designer-preload-message

Sitefinity Feather Designer Tip: Updating Fields Programatically

By | AngularJS, Sitefinity | 2 Comments

I recently needed to create a custom designer for a Sitefinity MVC Widget that would allow a property to be filled in programatically (such as clicking an option in a list).  Populating the field was simple enough using jQuery, and here is a very simple example demonstrating the desired behavior:

Clicking the button does indeed did populate the message property: However, when I saved the changes, the output of the widget message property was still blank: It turns out that this makes sense, because the widget designer is using Angular JS to bind its properties back to the widget, and…

Read More

Lock Down Content Widgets with UrlKeyPrefix

By | MVC, Sitefinity | No Comments

When you’re working with your content in Sitefinity, a very common practice to display said content is to provide a list and details view. On the page (or pages) containing these views, it is often good to provide a sidebar to provide for additional navigation functionality when users are browsing your content. News articles, for example, can support Tags to help classify stories into various buckets. It’s also nice for users to see a concise list of stories on the sidebar in addition to the more fleshed-out list that the page primarily shows. To accomplish this in Sitefinity appears trivial…

Read More

Accessing Sitefinity Roles in Code

By | .NET, C#, Sitefinity | No Comments

When developing custom solutions in your Sitefinity application, you may need the ability to work with Sitefinity roles. As a developer, you would reach out to the RoleManager that Sitefinity provides, and access the roles from there. However, you may run into an issue where some roles, verified to be a part of your site, are not represented when working with the RoleManager. This post goes into this issue, and shows how to access all Sitefinity roles to work with. Basic Role Access Let’s say you want to list all available Sitefinity roles on your web site. The natural idea…

Read More
sitefinity-status-page-200

Sitefinity Status Page HTTP Response Codes

By | Sitefinity | No Comments

When working with the new Web Services module or WCF services in Sitefinity, you want to be able to allow the requesting clients to properly respond to and handle a failed request. This is generally simple enough, as a failed request would usually be accompanied by an HTTP status code that indicates something went wrong. The status can be reviewed by the client and handled appropriately based on the status code (such as 404 for not found or 500 for a server error). To demonstrate this let’s look at this sample code, which uses the Web Services module API to…

Read More

Customizing Search Result URLs in Sitefinity

By | .NET, C#, Sitefinity | No Comments

One of Sitefinity’s many features is its search capabilities. Using Lucene under the hood, Sitefinity indexes your site content, both built-in content types and dynamic content types, along with static HTML, and allows you to present organized results to the user. You can customized what is and isn’t indexed among other things. Most of the time, Sitefinity is smart enough to create search result URLs that take you directly to the content in question. If you have “/my-news” as your news page, for instance, a particular article URL might look something like “/my-news/2015/1/1/my-article-url”. The search indexer automatically takes the page…

Read More

Working with Hybrid Forms in Sitefinity Widgets

By | .NET, C#, MVC, Sitefinity | No Comments

Throughout the course of web development, you often find yourself in a situation where you need data input from your user. Scenarios range from a simple contact form, to something as complex as a multi-part job application. In either case, Sitefinity offers multiple solutions. The easiest solution, for the simpler forms such as the aforementioned contact form, is to use Sitefinity’s built-in Forms capabilities. Much like with their pages, Sitefinity Forms provide a very simple, powerful way to create and customize even more complex forms for your site. The resulting data is then stored in Sitefinity, and can be set…

Read More

Relating Data in Sitefinity Content

By | .NET, C#, Sitefinity | One Comment

In my previous post discussing properties on custom content, I delved into some of the more complex types that can be properties, including classifications and related media. This post will get into the most complex type to work with: Related Data. This is taking existing custom content types and allowing other content types to have a property that relates one to the other. Relating data can happen with built-in content types (e.g. News), extend across other module builder modules, and even be self-referential! On top of all that, you can even create a custom content type that is the parent…

Read More

Complex Custom Properties for Sitefinity Content

By | .NET, C#, Sitefinity | No Comments

In my previous post I talked about basic access of custom properties in Sitefinity. Namely, strings and numbers. Those alone cover a lot of what you’d use when it comes to custom fields on built-in content types and custom content types. In this post, however, we’re delving into some of the more complex custom properties that can be associated with Sitefinity content. Like in the previous post, we’ll cover both how to query by a complex property (where applicable) and how to fetch the content of the complex property. Classifications (Tags, Categories, Custom) Fetching Tags and Categories within Sitefinity are…

Read More
Sitefinity-Downloads-Page-Latest

Quick Links to Sitefinity Resources

By | Sitefinity | No Comments

Whether you’re setting up your very first Sitefinity website or upgrading to the latest version, at some point you’re probably going to need to hunt down one or more of these items. Hopefully this post can serve as a quick guide (or reminder!) to where you can find these important Sitefinity Resources. Note: Things change so if any of this becomes out of date please let me know and I will update it as time goes on! Sitefinity Project Manager Direct Link: http://www.telerik.com/account/your-products/download-list.aspx?skucid=21 The Sitefinity Project Manager is the tool used to create new Sitefinity sites, as well as performing…

Read More

Retrieving Simple Custom Properties from Sitefinity Content Items

By | .NET, C#, Sitefinity | No Comments

Sitefinity offers many extension points to its core content types, as well as letting you create completely customized content types of your own via the Module Builder. You can add custom fields to existing types like News and Events, or add as many fields as you like to custom content types. Working with these custom properties in code can seem a little daunting at first: How do you do it? What data types do you work with? Which methods do you call on your objects? There are several ways of accessing certain kinds of properties, while others you have to…

Read More

Extending Kendo UI Editor Functionality in Sitefinity

By | C#, JavaScript, Kendo UI, Sitefinity | One Comment

In my previous post I detailed a feature where users can upload files to the Sitefinity Document Library asynchronously. However, the interface for doing so was a bit basic. There was an HTML file input that automatically uploaded the selected file immediately. It worked, but the user wasn’t left with much to do with the link that was returned. Extending Kendo UI Editor functionality, however, can be used to make the return value more useful and make the whole user experience much better. This post will show you how to take the feature and add it to the set of…

Read More

How to Upload Files to your Sitefinity Document Library Asynchronously

By | .NET, ASP.NET, C#, JavaScript, Sitefinity, Web API | 2 Comments

Sometimes, it is necessary for users of your site to be able to upload files to Document Libraries in an asynchronous manner. They could be creating user-generated content and require a space to upload a file to reference in their content, for instance. Using some JavaScript and an ASP.NET WebAPI controller, we can accomplish this fairly simply. The HTML The first thing we’ll need is an input that allows users to select a file. This’ll be a simple HTML input the “file” type. You can put this HTML (along with the associated JavaScript) anywhere on the page, either via Content…

Read More

Sitefinity 8 – Business Users Edition

By | Sitefinity, Telerik | No Comments

Do you want to create a web site that helps build customer relationships and drive sales, but have less than zero interest in fiddling with technical details? Then this is the book for you. Sitefinity 8 – Business Users Edition focuses on creating your pages and getting your content out there, with a minimum of administration. Here are some highlights: Create and edit web pages. There are plenty of screenshots to show how widgets are dragged-and-dropped to present news, blogs, images and more. Build a library of content that can be reused all over your website including news, blogs, events,…

Read More

Storing Sitefinity Sites In Source Control

By | .NET, ASP.NET, C#, Sitefinity | 5 Comments

Issues with Content Management Systems and Source Control When developing a Sitefinity web site, you run into some challenges when it comes to properly storing your work in source control. Out of the box from its project manager, Sitefinity houses its references in the bin directory of the application so that a project build is not required to get it up and running. Being a content management system, a lot of changes occur in the site’s database. When developers want to put their Sitefinity site in source control and wish to collaborate, these sorts of issues can be difficult to…

Read More

Announcing Stripe Payment Provider for Sitefinity Ecommerce

By | Sitefinity | No Comments

Stripe is a modern payment processor that makes adding payment processing capabilities to your eCommerce store a breeze. Sitefinity Ecommerce has a fantastic support for Payment Provider Model to add your own payment processor. We here are Falafel use Stripe as Payment Processor for our Falafel.com site. Starting this week, you can buy the Stripe for Sitefinity Ecommerce from our store. The package comes in two options 1) DLL only   2) Full Source Code DLL Only give you the required DLL that you can drop into your bin folder of Sitefinity application and the configuration to go along with…

Read More

Falafel Software and Mammoth Mountain named a 2014 Telerik Sitefinity Website of the Year

By | News, Sitefinity, Telerik | No Comments

Every year Telerik, a Progress Company, honors those websites that have gone above and beyond to create an innovative and unique web experience using the Telerik Sitefinity CMS. This year we are thrilled to announce that Falafel Software and Mammoth Mountain have been named as one of the 2014 Telerik Sitefinity Website of the Year award winners for the “Multi-site” category. In 2014 Mammoth Mountain came to the Falafel team to help them unify the over nine sister websites that showcase the premiere 4-season resorts large selection of amenities and services. Our team rose to the challenge and worked side-by-side…

Read More

Sitefinity 8.0 has arrived at Falafel.com

By | Sitefinity | 3 Comments

Telerik recently released Sitefinity 8.0, adding a whole lot of great features to the already powerful CMS. We were so excited for Sitefinity 8.0 that the same day it came out, we offered classes on this specific release. We also upgraded our own website, Falafel.com, to 8.0 and know that you will enjoy it as much as we have been. Some of the new features of this latest Sitefinity release include improved multi-site capabilities, site-sync and taxonomy support. With this latest release also came the brand new Sitefinity Digital Experience Cloud (DEC), which will take your Marketing team’s potential to…

Read More

Free Webinar: SharePoint & Sitefinity, the Perfect Match

By | Microsoft, Sitefinity, Tools | One Comment

Much like the perfect union of peanut butter and jelly, some development tools — like Microsoft SharePoint and Telerik Sitefinity CMS — are a match made in heaven.  The perfect complement of functionality between Sitefinity and SharePoint allows you to make sure your project is flawless. In this webinar, Falafel’s CEO Lino Tadros and Telerik’s Director of Sitefinity Product Marketing Robert Mattson will share the pros and cons of the two solutions and how they can work for you and your project. Webinar: Microsoft SharePoint and Telerik Sitefinity: The Right Tool. The Right Job. Date: February 25, 2015 Time: 11am…

Read More

Falafel Team Selected as Telerik Developer Experts

By | Kendo UI, News, Sitefinity, Telerik | One Comment

Telerik recently announced the launch for their new Telerik Developer Network, and with it the Telerik Developer Experts program. We’re excited to say that Telerik chose not just one, but FOUR of our fantastic Falafel team to be Telerik Developer Experts. The Developer Experts program recognizes members of the Telerik Developer Network community who have gone above and beyond to share their knowledge and contribute to the community, but are also experts in one or more of Telerik’s tools. We’re very proud of our CEO, Lino Tadros; Master Consultant, Jesse Liberty; Senior Software Engineer, Keith Burnell; and Software Architect, Venkata…

Read More

Fix for Sitefinity Backend Search Bug when Removing Fields from Dynamic Content Types

By | Sitefinity | No Comments

I ran into an issue in Sitefinity recently, where removing a field from a custom content type caused made the backend search on that type fail. I reproduced this issue on a fresh Sitefinity site, to rule out any potential customizations or changes made in the project I discovered this bug in. Reproducing the Bug In a fresh 7.0.5100 Sitefinity install, I created a Speakers module, and a Speaker content type within that module: Then I created a couple Speakers, so I had something to search for. Searching for John Doe by email address (“example” in this case) yields the…

Read More
Page Selector

Sitefinity: Page Selector Field for Multisite

By | .NET, C#, News, Sitefinity | No Comments

Multisite is a great feature in the Sitefinity, which helps you centrally manage multiple sites using one administration panel. Few days ago I was working in a same environment where I needed to add a Page Selector field to a custom module built using Module Builder. But we needed to make Page Selector field to show pages from the current site. As it takes a rootNodeId (GUID for root page node) so it shows same pages under provided id. So, we needed to make it dynamic so that it would load pages from the current site.

Read More
Sitefinity

Sitefinity Feather an Introduction – FalafelCON slides and resources

By | Sitefinity | One Comment

I had a wonderful opportunity to talk about Sitefinity Feather at FalafelCON 2014. If you attended my talk and are looking for slides and code for the samples we covered in the talk, here they are PPT and CODE If you want to run the sample application locally: Please restore the database(FeatherDb.bak), upload your Sitefinity license file using the backend. And the credentials to get to Sitefinity’s backend for the sample app is admin / password . Venkata

Read More