This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class InjectionToIContent : ValueInjection | |
| { | |
| protected override void Inject(object source, object target) | |
| { | |
| var content = target as IContent; | |
| var type = source.GetType(); | |
| if (type.GetProperty("Name") != null) | |
| content.Name = type.GetProperty("Name").GetValue(source).ToString(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Implementor | |
| - Forms with Contour - 10/10/2013 | |
| - Users - 14/11/2013 | |
| - Members - 12/12/2013 | |
| - Complete site start to finish - 30/1/2014 | |
| Developer | |
| - UmbracoApiControllers - 26/9/2013 | |
| - Media and Relations API - 31/10/2013 | |
| - Extending backend using MVC - 28/11/2013 | |
| - Custom property editors - 9/1/2014 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Twitter Settings --> | |
| <provider name="Twitter" type="Umbraco.Web.Media.EmbedProviders.OEmbedRich, umbraco"> | |
| <urlShemeRegex><![CDATA[twitter\.com/]]></urlShemeRegex> | |
| <apiEndpoint><![CDATA[https://api.twitter.com/1/statuses/oembed.xml]]></apiEndpoint> | |
| <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"> | |
| </requestParams> | |
| </provider> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 18:00 - 18:15: Arrival | |
| 18:15 - 19:15: Umbraco v7 and all that jazz | |
| 19:15 - 20:00: Food, glorious food | |
| 20:00 - 21:00: World premiere of Tea Commerce on v7 | |
| 21:00 - 21:15: Special guest | |
| 21:15 - ... :Closing drinks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int score = 0; | |
| Dictionary<string, int> scores = new Dictionary<string, int>(); | |
| foreach (string mapping in Scoremappings.Split(';')) | |
| { | |
| if (!string.IsNullOrEmpty(mapping) && mapping.Split(',').Length > 0) | |
| { | |
| int weight = 0; | |
| scores.Add(mapping.Split(',')[0], int.TryParse(mapping.Split(',')[1], out weight) ? weight : 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dialogService.open( | |
| { | |
| template: "/app_plugins/SomePlugin/dialog.html", | |
| customData: myData | |
| }); | |
| to access in your dialog use | |
| dialogOptions.customData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('input[type=submit]').not('.cancel').click(function (evt) { | |
| evt.preventDefault(); | |
| var self = $(this); | |
| var frm = self.closest('form'); | |
| frm.validate(); | |
| if (frm.valid()) { | |
| $.ajax({ | |
| cache: false, | |
| async: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net.Mail; | |
| using System.Text; | |
| using System.Web; | |
| using Umbraco.Forms.Core.Enums; | |
| using System.Text.RegularExpressions; | |
| using Umbraco.Forms.Data.Storage; | |
| using System.Xml; |
OlderNewer