Skip to content

Instantly share code, notes, and snippets.

@jguadagno
Created April 27, 2018 15:51
Show Gist options
  • Save jguadagno/11ca726636bebbccfd9682134d6cb953 to your computer and use it in GitHub Desktop.
Save jguadagno/11ca726636bebbccfd9682134d6cb953 to your computer and use it in GitHub Desktop.
Add Google Plus One Extension to BlogEngine.NET
var settings = new ExtensionSettings(ExtensionName)
{Help = "Adds Google Plus One to your Post Home page and Post page", IsScalar = true};
settings.AddParameter("size", "Size", 20, false, false, ParameterType.ListBox);
settings.AddValue("size", new[] { "standard", "small", "medium", "tall" }, 'standard');
ExtensionSettings = ExtensionManager.InitSettings(ExtensionName, settings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment