New topic ~ How to add a link to the information section?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I understand how to add a new topic and find the connecting url but how do I add a link to the information section?

Chad
14 years ago
All all, rather then opening a new topic I am asking the same question. How do I add a new link under INFORMATION on the left of the home page. Currently they are:

Contact Us
About Us
Blog
New products
Recently viewed products
Compare products list
Shipping & Returns
Privacy Notice
Conditions of Use

Thanks a million,

Adrian
14 years ago
You have to do it manually. Look at modules/infoblock.ascx control
14 years ago
Perfect, thanks a million
14 years ago
Hello:
I am having the same issue.

I went with FILEZILLA to Modules/InfoBlock.ascx as suggested.

I download the file to my PC to work on it. When I open it DreamWeaver opens up and I see the following:

{text}



{text}

{text}

{text}

{text}

{text}

{text}

{text}

{text}

{text}

{text}



I do not know where to go from here.

I want to add another category to the from "Information" sidebar. I have already added it in Contents/Topic.

Any suggestions?

Thanks
14 years ago
Have you got asp.net scripting language set up in dreamweaver?

If you switch to source mode you can add this in unordered list (<UL>) section of modules/InfoBlock.ascx:

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

if you do not want to loacalize ie not a resource string for a different language do this:

<li><a href="<%=Page.ResolveUrl("~/NEWPAGE.aspx")%>">NEW PAGE LINK</a> </li>

hope this helps,

mike..
14 years ago
Thanks Mike. This helped a lot.

I went into DreamWeaver and on the upper left was the button for “code” and everything popped up.

So I fiddled with it and got "listing" on the Information section of the home page. I managed to get it to hypertext to the attached page I had created earlier (although I had trouble following your code with the ~ in front of the URL).

Anyway, here is where I am now.

I created in Content>Topics a new form called “GettingStarted”. The Title is “Getting Started and How We Work” and the URL it created is “http://realdigitalvalues.com/Topic/12-getting-started-and-how-we-work.aspx” ... which is shown when you go to Edit.

The code I entered in the modules/InfoBlock.ascx is:

<li><a href="<%=Page.ResolveUrl("http://realdigitalvalues.com/Topic/12-getting-started-and-how-we-work.aspx ")%>">
                <%=GetLocaleResourceString("Getting Started")%></a></li>

Curiously, the Label on the Information box on the Home Page is

  “getting started”

… in lower case!???

Where is this coming from? How can I corrected it to "Getting Started"?

Thanks
14 years ago
it's the way you used the resource string
<%=GetLocaleResourceString("Getting Started")%>
you can do as mike suggested
<li><a href="<%=Page.ResolveUrl("~/NEWPAGE.aspx")%>">Getting Started</a> </li>

or you can localise it.

the way to localise it  is to go to admin
content-->management-->localisation

select language

'add new'   resource string


eg
resource name : Menu.GettingStarted
resource value : Getting Started

then reference it in the menu like so:

<li><a href="<%=Page.ResolveUrl("http://realdigitalvalues.com/Topic/12-getting-started-and-how-we-work.aspx ")%>">
                <%=GetLocaleResourceString("Menu.GettingStarted")%></a></li>

you could also consider changing

<%=Page.ResolveUrl("http://realdigitalvalues.com/Topic/12-getting-started-and-how-we-work.aspx ")%>
to
<%=Page.ResolveUrl("~/Topic/12-getting-started-and-how-we-work.aspx ")%>
14 years ago
Can we please get this so it will automaticly add link in the next release. Clients do not understand why you have CMS and you can add a topic but it does not show up anywhere. Pretty Please... Thanks for the hard work.
14 years ago
You can add a new link by editting the resource string in your vs studio environment

export your language file and locate

<LocaleResource Name="Content.AboutUs">
<Value>
About Us
</Value>
</LocaleResource>


Add a new string below or above e.g.

<LocaleResource Name="Content.NewTopic">
<Value>
New Topic
</Value>
</LocaleResource>


For Products you have to use products.newtopic

Save this file and devide it, then import in your admin section

Add a new site e.g. new.aspx
take sourcecode from aboutus.aspx and .cs and set into new.aspx and .cs

goto the infoblock module and add the new sections for your site

Build your sln

Refresh your browser

Enjoy ;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.