Search Advanced Close

Aby znaleźć pliki do pobrania produktu wystarczy kliknąć na jedną z powyższych opcji, a następnie użyj wyszukiwarki wyświetlane znaleźć wszystkie dokumenty związane z wyszukiwania.


Search Advanced Close

W Twojej kolekcji nie ma żadnych produktów.

Search Advanced Close

Mińsk Mazowiecki

Kraj i Miasto Poland, Mińsk Mazowiecki

2018-07-03 13:03:00

Case Study Szczegóły


Kraj i Miasto Poland, Białobrzegi

2018-07-03 12:01:00

Case Study Szczegóły

Zalew Szczecinski, Trzebiez

Kraj i Miasto Poland, Trzebiez

2018-07-03 11:23:00

Case Study Szczegóły

Get more inspiration from other installations all around the world

Zobacz wszystkie studia przypadków
Search Advanced Close

HAGS – Inspiring all generations

At HAGS, we use knowledge of the value of play and put it into practice by creating innovative and exciting products. Whether it be climbing, sliding, swinging, crawling… we want our products to entice activity and contribute to the development of young people’s physical and mental wellbeing.

Exception in template (Designs\HagsCore\Paragraph\InspirationFinder.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.febcccbcaaacd.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @using Dynamicweb.Content; @using Dynamicweb.Content.Items; @using HagsWeb.Library.Methods.Items; @{ string[] arrStudyList = GetValue("Item.Case_Study_List.Value").ToString().Split(',').ToArray(); string[] arrTestimonialList = GetValue("Item.Testimonial_List.Value").ToString().Split(',').ToArray(); string caseStudiesLink = String.Empty; int pageId = 0; List<KeyValuePair<string, Item>> studyList = new List<KeyValuePair<string, Item>>(); List<Item> testimonialList = new List<Item>(); int recordsCount = 2; int outerColumns = 6; int attractorList = 6; if (arrStudyList.Any()) { foreach (string id in arrStudyList) { Item item = Item.GetItemById("Case_Study_Lookup", id); if (item != null) { KeyValuePair<string, Paragraph> paragraph = ItemTypeMethods.GetParagraphLinkValues(item["Case_Study_Paragraph"].ToString()); Item caseStudy = Item.GetItemById("Case_Study", paragraph.Value.ItemId); pageId = paragraph.Value.PageID; caseStudiesLink = paragraph.Key; studyList.Add(new KeyValuePair<string, Item>(paragraph.Key, caseStudy)); } } } if (arrTestimonialList.Any()) { foreach (string id in arrTestimonialList) { Item item = Dynamicweb.Content.Items.Item.GetItemById("Dw_Paragraph", id); if (item != null) { testimonialList.Add(item); } } } //If we have at least one testimonial show 2 studies only. if not show 4. change the layout styles accordingly //2 container:< div class="col-ms-6 col-sm-6"> attractor:<div class="col-sm-6"> take 2 //4 container:<div class="col-ms-12 col-sm-12"> attractor:<div class="col-sm-3"> take 4 if(!testimonialList.Any()) { recordsCount = 4; outerColumns = 12; attractorList = 3; } } @*<h1>Loop Values: @GetValue("Item.Testimonial_List.Value") || @caseStudiesLink</h1>*@ <!--InspirationFinder.cshtml--> <div class="m-inspiration m-theme-background-lightgrey"> <div class="m-inspiration-select"> <div class="l-page"> <div class="container-fluid"> @if(GetValue("Item.Title.Value")!=null) { <div><label>@GetString("Item.Title.Value")</label></div> } else { <div><label>@Translate("InspirationFinder", "Inspiration Finder")</label></div> } </div> <!-- container-fluid --> </div> <!-- l-page --> </div> <!-- m-inspiration-select --> <div class="l-page"> <div class="container-fluid"> <div class="row"> <div class="col-ms-@outerColumns col-sm-@outerColumns"> <div class="row"> @if (studyList.Any()) { foreach (var study in studyList.Take(recordsCount)) { Item item = study.Value; var studyId = item.Id; var attractorName = item["Study_Heading"].ToString(); var attractorContent = item["Study_Content"].ToString(); var attractorImage = Item.GetItemById("Carousel_Image", item["Images"].ToString().Split(',').ToArray().FirstOrDefault()); var Image = attractorImage["Image"]; var ImageTitle = attractorImage["Title"]; var ImageAlt = attractorImage["Alternative_Text"]; //var attractorImage = HagsWeb.Library.Methods.Items.ItemTypeMethods.GetItems(a["Images"].ToString().Split(',').ToArray().Take(1),"Carousel_Image"); var readMoreButton = Item.GetItemById("Hyperlink_Button", item["Read_More_Button"].ToString()); var readMoreText = readMoreButton["Button_Text"].ToString(); var readMoreLink = readMoreButton["Button_Link"].ToString(); // not useful for a link //int pageId = 1797; // Get the case study page for this area (Website) var studyUrla = caseStudiesLink + "?cid=" + studyId; string studyUrl = "Default.aspx?ID=" + pageId.ToString() + "&itemId=Case_Study:" + studyId; <div class="col-sm-@attractorList"> <div class="m-attractor"> <div class="m-attractor-visual"> <a href="@studyUrl"><img src="@Image" alt="@ImageAlt" title="@ImageTitle" class="img-responsive" /></a> </div> <div class="m-attractor-info"> <h3><a href="@studyUrl">@attractorName</a></h3> <p> @attractorContent</p> <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@studyUrl" role="button">@readMoreText</a> </div> <!-- attractor-info --> </div> <!-- attractor --> </div> } } </div> <!-- row --> </div> @if (testimonialList.Any()) { <div class="col-ms-6 col-sm-6"> <div class="m-testimonial"> <ul class="slick-slider"> @foreach (var testimonial in testimonialList) { var testimonialContent = testimonial["Content"].ToString(); var testimonialFooter = testimonial["Header"].ToString(); <li> <blockquote> @testimonialContent <footer>@testimonialFooter</footer> </blockquote> </li> } </ul> </div> <!-- m-testimonial --> </div> } </div> </div> <!-- container-fluid --> </div> <!-- l-page --> @if (!string.IsNullOrEmpty(caseStudiesLink)) { <div class="m-inspiration-more m-theme-border-grey text-center"> <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@caseStudiesLink" role="button">@Translate("ViewAllCaseStudies", "View All Case Studies")</a> </div> } </div> <!-- m-inspiration -->