- Updating ExtensionManager and ThemeService to read zones from the manifest.

- Adding a few essential parts for layers, widgets.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-09-29 14:29:43 -07:00
parent 19313b887f
commit e9208542ed
15 changed files with 60 additions and 2 deletions

View File

@@ -72,7 +72,8 @@ namespace Orchard.Themes.Services {
HomePage = descriptor.WebSite ?? String.Empty,
ThemeName = descriptor.Name,
Version = descriptor.Version ?? String.Empty,
Tags = descriptor.Tags ?? String.Empty
Tags = descriptor.Tags ?? String.Empty,
Zones = descriptor.Zones ?? String.Empty,
};
}
}
@@ -90,7 +91,8 @@ namespace Orchard.Themes.Services {
HomePage = descriptor.WebSite ?? String.Empty,
ThemeName = descriptor.Name,
Version = descriptor.Version ?? String.Empty,
Tags = descriptor.Tags ?? String.Empty
Tags = descriptor.Tags ?? String.Empty,
Zones = descriptor.Zones ?? String.Empty,
};
if (!theme.Tags.Contains("hidden")) {
themes.Add(theme);