Skip to content

Instantly share code, notes, and snippets.

if(Lecoati.LeBlender.Extension.Helper.IsFrontEnd()){
do the fancy button
} else {
just render it the old way
}
foreach (var prop in Model.Content.Properties)
{
/* get each property value */
var value = prop.Value;
}
https://24days.in/umbraco-cms/2014/angular-powered-frontend/
https://github.com/skybrud/sky-spa-api-example-code
https://www.creativebloq.com/app-design/transform-your-site-single-page-app-121413558
https://tutorialzine.com/2015/02/single-page-app-without-a-framework
https://github.com/skybrud/Skybrud.Umbraco.GridData.LeBlender
https://ilovecoding.org/lessons/ajax-create-a-single-page-app-with-jquery
https://our.umbraco.com/forum/using-umbraco-and-getting-started/87903-display-content-on-page-receiving-content-node-id-from-query-string
@Html.Raw(@umbraco.library.ReplaceLineBreaks(@Model.Content.GetPropertyValue("heading").ToString()))
https://www.davrous.com/2017/07/07/from-zero-to-hero-creating-webvr-experiences-with-babylon-js-on-all-platforms/
https://doc.babylonjs.com/how_to/360photodome
https://developer.playcanvas.com/en/user-manual/packs/components/element/
https://tutorialsforvr.com/hotspots-in-webvr-virtual-tours-tutorial/
https://www.3dvista.com/en/products/virtualtour-standard
<!--
If you wish to use IIS rewrite rules, see the documentation here:
https://our.umbraco.org/documentation/Reference/Routing/IISRewriteRules
-->
<rules></rules>
<!-- <rules>
<rule name="Remove trailing slash" stopProcessing="true">
<match url="(.*)/$" />
$.getJSON("mydata.json", function(data) {
var html = '';
$.each(data, function(key, value){
html += '<div class="dcell">';
html += '<img src="images/'+value.product+'.png"/>';
html += '<label for="'+value.product+'">'+value.name+':</label>';
html += '<input type="text" id="'+value.product+'" name="'+value.product+'" value="0" stock="'+value.stock+'" price="'+value.price+'" required>';
html += '</div>';
});
$('#yourContainerId').html(html);
<rules>
<rule name="Remove www" stopProcessing="true">
<match url="(.*)" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^www\.(.+)$" />
</conditions>
<action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent" />
</rule>
</rules>
https://souseyeh.com/2018/02/16/changing-umbraco-admin-url/