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
item.Axes.SelectItems("descendant::*[@@TemplateName='File']") |
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
item.Axes.GetDescendants() |
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
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<%@ Import Namespace="System.Linq" %> | |
<%@ Import Namespace="System.Collections.Generic" %> | |
<%@ Import Namespace="Sitecore.Data.Items" %> | |
<script runat="server"> | |
protected override void OnLoad(EventArgs e) | |
{ | |
base.OnLoad(e); | |
if (!IsPostBack) |
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
<sitecore> | |
<sc.variable name="dataFolder" value="C:\Inetpub\wwwroot\SitecoreWebsite\data\" /> | |
<sc.variable name="mediaFolder" value="/upload" /> | |
<sc.variable name="tempFolder" value="/temp" /> | |
<sc.variable name="setting.WelcomeTitle" value="Welcome to Sitecore - DEV" /> | |
<sc.variable name="setting.Media.CachingEnabled" value="false" /> | |
<sc.variable name="sites.website.database" value="master" /> | |
<sc.include file="/App_Config/Sitecore.config" /> | |
</sitecore> |
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
<sc.variable name="setting.Media.CachingEnabled" value="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
<!-- MEDIA - CACHING ENABLED | |
Indicates if caching of media files is enabled. | |
Default value: true | |
--> | |
<setting name="Media.CachingEnabled" value="$(setting.Media.CachingEnabled)" /> |
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
<!--<connectionStrings configSource="App_Config\ConnectionStrings.config" />--> | |
<connectionStrings> | |
<add name="core" connectionString="[insert_connection_string]" /> | |
<add name="master" connectionString="[insert_connection_string]" /> | |
<add name="web" connectionString="[insert_connection_string]" /> | |
</connectionStrings> |
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
<sitecore> | |
<sc.variable name="dataFolder" value="C:\Inetpub\wwwroot\SitecoreWebsite\data\" /> | |
<sc.variable name="mediaFolder" value="/upload" /> | |
<sc.variable name="tempFolder" value="/temp" /> | |
<sc.include file="/App_Config/Sitecore.config" /> | |
</sitecore> |
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
<sitecore> | |
<sc.include file="/App_Config/Sitecore.config" /> | |
</sitecore> |
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.Web; | |
using Sitecore.Web.UI.WebControls; | |
using System.Linq.Expressions; | |
using MyDomainModel; | |
using System.Text.RegularExpressions; | |
using System.Reflection; |