I added Login.cshtml to my theme views folder. The path is Themes/ThemeName/Views/Customer/Login.cshtml, I am referencing a Layout located at Themes/ThemeName/Views/Shared/_ColumnsTwo.cshtml. I get the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Nop.Web.Models.Customer.LoginModel>' does not contain a definition for 'AddTitleParts' and no extension method 'AddTitleParts' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Nop.Web.Models.Customer.LoginModel>' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 4:
Line 5: //title
Line 6: Html.AddTitleParts(T("PageTitle.Login").Text);
Line 7: }
Line 8:
Source File: c:\HostingSpaces\tjn\project3.tjnhost.com\wwwroot\Themes\DarkOrange\Views\Customer\Login.cshtml Line: 6
Regards,
TJ Havens