i want to add a new section on the homepage just like "information" "categories" etc
i created a new file in modules as "newsection.ascx
this is the code in my ascx file:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewTopic.ascx.cs" Inherits="NopSolutions.NopCommerce.Web.Modules.NewTopic" %>
<div class="block block-info">
<div class="title">
<%=GetLocaleResourceString("MyTopic.NewTopic")%>
</div>
<div class="clear">
</div>
<div class="listbox">
<ul>
<li><p>My Quote Here</p> </li>
</ul>
</div>
</div>
2) i also added "MyTopic.NewTopic" in the admin section > localization
3) in my master page left column i added this code:
<nopCommerce:NewTopic ID="NewTopic" runat="server" />
4) on the same masterpage i added this also:
<%@ Register TagPrefix="nopCommerce" TagName="NewTopic" Src="~/Modules/NewTopic.ascx" %>
5) Re-build the project
Now when i run the project i get this error:
Server Error in '/NopCommerceStore' Application.
--------------------------------------------------------------------------------
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: CS0103: The name 'GetLocaleResourceString' does not exist in the current context
Source Error:
Line 3: <div class="block block-info">
Line 4: <div class="title">
Line 5: <%=GetLocaleResourceString("MyTopic.NewTopic")%>
Line 6: </div>
Line 7: <div class="clear">