adding new option in information block

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 năm cách đây
hi-

i was wondering if there is anyway to add my own page/link in the information block in the left nav on the home page.

thanks
tony p
14 năm cách đây
Hi,

Please look at this Add A Topic.

Now Goto NopCommerceStore/Modules/InfoBlock.ascx

and add a new line to the unordered list like so:


<li><a href="<%=Page.ResolveUrl("~/YOUR LINK URL")%>">
      YOUR PAGE NAME</a> </li>


mike..
14 năm cách đây
ok so i was on the right track then.

i thought that there might be a "add to block" check box that i might of been missing that would do it automaticly, rather than needed to edit the code.

would be a nice update for the next version (could add blocks/edit blocks) just like v1.3 now does with catagorys and manufactures.
14 năm cách đây
New Information Block

I am struggling with opening the infoblock.ascx file. When I open in Dreamweaver CS or Notepad all I get is:
using System;
using System.Collections;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Text;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using NopSolutions.NopCommerce.BusinessLogic;
using NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings;
using NopSolutions.NopCommerce.Common.Utils;

namespace NopSolutions.NopCommerce.Web.Modules
{
    public partial class InfoBlockControl : BaseNopUserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }
    }
}

Am I opening the right file?
14 năm cách đây
no, the file you posted is      infoblock.ascx.cs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.