Changing left navigation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I know i can add new pages through the topics area, but how can I make the new pages show up in the left navigation under "information"

Thanks for your help
14 years ago
I was having the same issue, trying to figure out how to update the Information List to the left of the page.

I couldn't find anything in the CMS that updated it so I checked the source code.

I found the page that controls the Information List,

modules/InfoBlock.ascx

Edit this page manually to update the Information list.

You'll need to add an <li> tag, the code looks like this

<li><a href="<%=Page.ResolveUrl("~/ContactUs.aspx")%>">
                <%=GetLocaleResourceString("ContactUs.ContactUs")%></a> </li>

The Page.ResolveUrl should be set to the landing page you want your link to go to.

I don't know yet what the "GetLocalResourceString should be set to if you wanted to use that for a Topic, however, you can replace that with the section you are using.

for example if you wanted to add an FAQ section it would look like this (if you created it thru the topics area in the CMS)

<li><a href="<%=Page.ResolveUrl("~/Topic/11-faq-frequently-asked-questions.aspx")%>">FAQ</a></li>

Hope this helps, also just move this link to the location you want it to appear in the list, i.e. if you want it at the top, then place the code just under the <ul> tag (make sure to keep your <li> tag between the <ul> tags)

Sorry for being so elementary with the description here, i'm just not sure what your programming background is.
14 years ago
Thanks Ernie, that did it :)  And to think I spend 3 days trying to figure that out.....this forum is fabulous :)
14 years ago
worked like a charm. Thanks for the post.
13 years ago
can anyone explain me why i dont have infoblock.aspx thing in my modules folder??
13 years ago
dessau77 wrote:
can anyone explain me why i dont have infoblock.aspx thing in my modules folder??


There is no infoblock.aspx file in the project, the file you are looking for is called InfoBlock.ascx and is located in the NopCommerceStore\Modules folder. This control is what displays the links in the Information section on the left side of the site (as seen on the demo).

.
13 years ago
mb wrote:


There is no infoblock.aspx file in the project, the file you are looking for is called InfoBlock.ascx and is located in the NopCommerceStore\Modules folder. This control is what displays the links in the Information section on the left side of the site (as seen on the demo).

.


yea i knOw what u mean by "ASCX" its obvious this is what i meant when i wrote "ASPX" ending of a file doesnt concern me as much because the begingin of the file thatc called "INFOBLOCK" doesnt even exists in any folders in my store.
do i have to post a screen shots to show u that its not there?
i looked in nopcomerce/modules
and nopocmerce/administaration/modules

its simply non existent , why? im using nopcm 1.5
13 years ago
dessau77 wrote:
yea i knOw what u mean by "ASCX" its obvious this is what i meant when i wrote "ASPX" ending of a file doesnt concern me as much because the begingin of the file thatc called "INFOBLOCK" doesnt even exists in any folders in my store.
do i have to post a screen shots to show u that its not there?
i looked in nopcomerce/modules
and nopocmerce/administaration/modules

its simply non existent , why? im using nopcm 1.5

I don't know why you are missing the file. It could have been accidentally deleted or be missing from your download source. You can http://www.nopdownloads.com/downloads/nopCommerce_1.50.rar]download version 1.50 and extract the files from the archive to restore them.

.
13 years ago
I added a page and updated the left margin links with the steps indicated, but the link was in the format of "example.example".  The missing step is to add a resource (resource value) via Content Management>>Localization using the "example.example" as the Resource Name and "Example" as the Resource Value.
13 years ago
Had a second occassion to do this as the delivered "About Us" page lacks the left side navigation completely.  Created a new Topic - About Us - as a solution.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.