Error compiling template "Designs/rm_sub/ContentPage/Paragraph/SearchForHousing.cshtml" Line 19: The name 'GetPageSettingsPageId' does not exist in the current context Line 22: The name 'GetWebsiteSettingsPageId' does not exist in the current context Line 39: The name 'RenderSearchForHousing' does not exist in the current context
1 // <auto-generated/> 2 #pragma warning disable 1591 3 namespace CompiledRazorTemplates.Dynamic 4 { 5 #line hidden 6 using System.Threading.Tasks; 7 using System; 8 using System.Collections.Generic; 9 using System.Linq; 10 internal class RazorEngine_470735ff8e72472f99e63065ad3d2bf7 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 11 { 12 #pragma warning disable 1998 13 public async override global::System.Threading.Tasks.Task ExecuteAsync() 14 { 15 WriteLiteral("\r\n[Include file \'../../BoligHelpers.cshtml\' not found in \'Templates/Designs/rm_sub/ContentPage/Paragraph/SearchForHousing.cshtml\']\r\n\r\n"); 16 17 // Use configured search page id for search action which depends on the context. Context can currently be one of: rm, boligone or erhverv. 18 // Subsequent calls to search page via ajax (sorting, loading, etc) should preserve search context. (vv) 19 int searchPageId = GetPageSettingsPageId("Boligside"); 20 if (searchPageId == 0) 21 { 22 searchPageId = GetWebsiteSettingsPageId("Boligside"); 23 } 24 25 string querySearch = (Dynamicweb.Context.Current.Request.QueryString["search"] != null ? Dynamicweb.Context.Current.Request.QueryString["search"] : ""); 26 string querySearchNameAttr = "search"; 27 // Overwrite search with zipcodeinterval if set 28 if (Dynamicweb.Context.Current.Request.QueryString["zipcodeinterval"] != null) 29 { 30 querySearch = Dynamicweb.Context.Current.Request.QueryString["zipcodeinterval"]; 31 querySearchNameAttr = "zipcodeinterval"; 32 } 33 string queryZipCodeFrom = (Dynamicweb.Context.Current.Request.QueryString["zipcodefrom"] != null ? Dynamicweb.Context.Current.Request.QueryString["zipcodefrom"] : ""); 34 string queryZipCodeTo = (Dynamicweb.Context.Current.Request.QueryString["zipcodeto"] != null ? Dynamicweb.Context.Current.Request.QueryString["zipcodeto"] : ""); 35 string template = "real"; 36 var SettingsItem = Dynamicweb.Content.Items.ItemManager.Storage.GetById("Delte_Egenskaber", "1"); 37 WriteLiteral("\r\n"); 38 39 RenderSearchForHousing(searchPageId, querySearch, querySearchNameAttr, queryZipCodeFrom, queryZipCodeTo, template, SettingsItem, "visual-editor-styling"); 40 } 41 #pragma warning restore 1998 42 } 43 } 44 #pragma warning restore 1591 45
1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 3 [Include file '../../BoligHelpers.cshtml' not found in 'Templates/Designs/rm_sub/ContentPage/Paragraph/SearchForHousing.cshtml'] 4 5 @{ 6 // Use configured search page id for search action which depends on the context. Context can currently be one of: rm, boligone or erhverv. 7 // Subsequent calls to search page via ajax (sorting, loading, etc) should preserve search context. (vv) 8 int searchPageId = GetPageSettingsPageId("Boligside"); 9 if (searchPageId == 0) 10 { 11 searchPageId = GetWebsiteSettingsPageId("Boligside"); 12 } 13 14 string querySearch = (Dynamicweb.Context.Current.Request.QueryString["search"] != null ? Dynamicweb.Context.Current.Request.QueryString["search"] : ""); 15 string querySearchNameAttr = "search"; 16 // Overwrite search with zipcodeinterval if set 17 if (Dynamicweb.Context.Current.Request.QueryString["zipcodeinterval"] != null) 18 { 19 querySearch = Dynamicweb.Context.Current.Request.QueryString["zipcodeinterval"]; 20 querySearchNameAttr = "zipcodeinterval"; 21 } 22 string queryZipCodeFrom = (Dynamicweb.Context.Current.Request.QueryString["zipcodefrom"] != null ? Dynamicweb.Context.Current.Request.QueryString["zipcodefrom"] : ""); 23 string queryZipCodeTo = (Dynamicweb.Context.Current.Request.QueryString["zipcodeto"] != null ? Dynamicweb.Context.Current.Request.QueryString["zipcodeto"] : ""); 24 string template = "real"; 25 var SettingsItem = Dynamicweb.Content.Items.ItemManager.Storage.GetById("Delte_Egenskaber", "1"); 26 } 27 28 @{ 29 RenderSearchForHousing(searchPageId, querySearch, querySearchNameAttr, queryZipCodeFrom, queryZipCodeTo, template, SettingsItem, "visual-editor-styling"); 30 }
3 butikker - ét salær
Hos RealMæglerne Hersby | Lemche | Kastbjerg sætter du din ejendom til salg i alle vores 3 butikker i henholdsvis Nordhavn, Østerbro samt Vesterbro.
Du har naturligvis samme kontaktperson gennem hele forløbet.
Vi er altid klar med en gratis og uforpligtende vurdering af din bolig - også selvom du ikke lige skal sælge i morgen.