Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.Script.Serialization;
|
||||
using System.Xml;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models.Rdbms;
|
||||
@@ -33,6 +34,8 @@ namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSeven
|
||||
{
|
||||
if (!string.IsNullOrEmpty(data.Text))
|
||||
{
|
||||
//var cs = ApplicationContext.Current.Services.ContentService;
|
||||
|
||||
//fetch the current data (that's in xml format)
|
||||
var xml = new XmlDocument();
|
||||
xml.LoadXml(data.Text);
|
||||
@@ -58,11 +61,27 @@ namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSeven
|
||||
link.Add("edit", false);
|
||||
link.Add("isInternal", type.Equals("internal"));
|
||||
|
||||
//try
|
||||
//{
|
||||
// if (type.Equals("internal"))
|
||||
// {
|
||||
// int nodeId;
|
||||
// if (int.TryParse(lnk, out nodeId))
|
||||
// link.Add("internalName", cs.GetById(nodeId).Name);
|
||||
// }
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// LogHelper.Error<UpdateRelatedLinksData>("Exception was thrown when trying to update related links property data, fetching internal node id", ex);
|
||||
//}
|
||||
|
||||
links.Add((ExpandoObject) link);
|
||||
}
|
||||
|
||||
//store the serialized data
|
||||
data.Text = new JavaScriptSerializer().Serialize(links);
|
||||
data.Text = JsonConvert.SerializeObject(links);
|
||||
|
||||
database.Update(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<div class="tab main-tabinfo">
|
||||
<div class="container">
|
||||
<h1>Starter kits</h1>
|
||||
<p>To help you get started here are some basic starter kits. They have been tailored to suit common site configurations and install useful functionality.<br />
|
||||
Mouse over the icons to learn more about what the starter kits will install.</p>
|
||||
<p>To help you get started here are some basic starter kits. They have been tailored to suit common site configurations and install useful functionality.</p>
|
||||
</div>
|
||||
<!-- menu -->
|
||||
<asp:PlaceHolder ID="ph_starterKits" runat="server" />
|
||||
|
||||
@@ -24,13 +24,8 @@ jQuery(document).ready(function () {
|
||||
<!-- done box -->
|
||||
<div class="tab main-tabinfo">
|
||||
<div class="container">
|
||||
<h1>
|
||||
You’re done...now what?</h1>
|
||||
<p>
|
||||
Excellent, you are now ready to start using Umbraco, one of the worlds most popular open
|
||||
source .NET CMS.
|
||||
<br />
|
||||
If you installed a starter kit you can start by configuring your new site, just click "Preview your new website" and follow the instructions. Or to start adding content right away click "Set up your new website" </p>
|
||||
<h1>You’re done...now what?</h1>
|
||||
<p>Excellent, you are now ready to start using Umbraco, one of the worlds most popular open source .NET CMS.</p>
|
||||
<ul class="btn-web">
|
||||
<li class="btn-set"><a href="<%= IOHelper.ResolveUrl(SystemDirectories.Umbraco) %>/"><span>Launch umbraco</span></a></li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user