Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Starter site: updating Bootstrap 2.3.1 -> Bootstrap 3.0.0

$
0
0
Upgrade steps for Bootstrap 2 -> Boostrap 3 starter site convertion:

1. Download and complete installation of Composite C1 4.1, choose Razor page template if original site is in uses Razor page templates, and Master page templates otherwise.

That installation will be used as a source of new template files.


2. Delete old page template features and copy the new ones (re-apply custom changes if any):

~/App_Data/PageTemplateFeatures

3. Copy and replace page templates (re-apply custom changes if any):

~/App_Data/PageTemplates

4. Copy and replace the following files defining razor functions:

~/App_Data/Razor/Composite/Media/BootstrapCarousel.cshtml
~/App_Data/Razor/Composite/Navigation/Distributed.cshtml
~/App_Data/Razor/Composite/Navigation/LanguageSwitcher.cshtml

~/App_Data/Razor/Layout/Navigation/Menu.cshtml
~/App_Data/Razor/Layout/Navigation/TopLinks.cshtml

delete
~/App_Data/Razor/Layout/HeroUnit.cshtml
copy
~/App_Data/Razor/Layout/Jumbotron.cshtml


delete
~/App_Data/Razor/Composite/Navigation/LevelSitemap.cshtml
copy
~/App_Data/Razor/Composite/Navigation/Sitemap.cshtml

5. Styles:

Copy and replace:

~/Frontend/Composite/Navigation/Distributed

Delete
~/Frontend/Styles/bootstrap/2.3.1
~/Frontend/Styles/img/glyphicons-*.png
~/Frontend/Composite/Navigation/LevelSitemap

Copy
~/Frontend/Styles/bootstrap/3.0.0
~/Frontend/Styles/bootstrap/fonts
~/Frontend/Styles/*.less
~/Frontend/Composite/Navigation/Sitemap

6. Scripts

Delete and copy ~/Frontend/Composite/Media/BootstrapCarousel

Delete ~/Frontend/Scripts/libs/bootstrap/2.3.1
Copy ~/Frontend/Scripts/libs/bootstrap/3.0.0

7. Less compiler

Log in to C1 console, uninstall locally installed package "Composite.Web.Css.Less"
Install a newer version from /Available packages/Composite.Web/Composite.Web.Css.Less

8. Content

In C1 console, Edit "Sitemap" page, remove Composite.Navigation.LevelSitemap function and insert "Composite.Navigation.Sitemap" instead

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>