Need to Add a Topic to the InfoBox (left panel)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hey Folks - Need a little help here.
I'm trying to add a Topic to my site, so it will land on the left panel (infoBox).
I'm calling it "Ambassador" for a program to recruit people to earn money promoting our new product.

So far, I've added it to the "Topic" group, and put in a 'content.ambassador' into the "Localization" section.
I've even tried creating "ambassador.aspx, ambassador.aspx.cs; and ambassador.aspx.designer.cs" based on the "AboutUS" files...

But I am now getting this error message, when you click on "Ambassador" in the left column of http://www.bleacherfeature.com .


Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'NopSolutions.NopCommerce.Web.AmbassadorPage'.

Source Error:

Line 1:  <%@ Page Language="C#" MasterPageFile="~/MasterPages/OneColumn.master" AutoEventWireup="true"
Line 2:      Inherits="NopSolutions.NopCommerce.Web.AmbassadorPage" Codebehind="Ambassador.aspx.cs" %>
Line 3:  


Source File: /ambassador.aspx    Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1



Your assistance would be appreciated !

FLETCH
13 years ago
Did you try rebuilding the solution after making these changes?
13 years ago
How do I Rebuild the Solution in a share hosted environment?
13 years ago
you are probably going into to much detail with this - when you visit the topic page in admin, copy the auto generated url for the topic eg  http://yourdomain/topic/6-about-us.aspx

delete the new aspx pages you created

in infoblock.ascx  just use the url in a plain and simple way

eg
<a href="http://yourdomain/topic/6-about-us.aspx" >ambassador</a>


- hayden
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.