Rank: Member
Joined: 3/4/2006(UTC) Posts: 121
|
I am trying to figure out how to change the Customer Services menu on Contactus.aspx. I don't want to have things like Affiliates and Returns showing on the left menu but they do.
When you look at the CustomerService.ascx.vb you'll see that the code is designed to filter out things that are disabled however, all of that code is commented out and there are two versions of it. What is the final code for this page so that options which are turned off globally won't show up?
Rick
If Not Page.IsPostBack Then 'Me.TitleLabel.Text = Content.SiteTerms.GetTerm("CustomerService") 'lstCustomerServiceMenu.InnerHtml = Nothing 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""contact.aspx"">" & Content.SiteTerms.GetTerm("ContactUs") & "</A></li>" 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""help.aspx"">" & Content.SiteTerms.GetTerm("Help") & "</A></li>" 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""privacy.aspx"">" & Content.SiteTerms.GetTerm("PrivacyPolicy") & "</A></li>" 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""terms.aspx"">" & Content.SiteTerms.GetTerm("TermsAndConditions") & "</A></li>" 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""myaccount_orders.aspx"">" & Content.SiteTerms.GetTerm("OrderHistory") & "</A></li>" 'If WebAppSettings.AffiliateSignupAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""affiliate_intro.aspx"">" & Content.SiteTerms.GetTerm("AffiliateProgram") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""affiliate_intro.aspx"">Affiliate Program</A></li>" 'End If 'If WebAppSettings.GiftCertificatesAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""GiftCertificates.aspx"">" & Content.SiteTerms.GetTerm("GiftCertificates") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""GiftCertificate.aspx"">Gift Certificates</A></li>" 'End If 'If WebAppSettings.ReturnFormAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""ReturnForm.aspx"">" & Content.SiteTerms.GetTerm("ReturnRequests") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""ReturnForm.aspx"">Return Requests</A></li>" 'End If
Me.TitleLabel.Text = Content.SiteTerms.GetTerm("CustomerService") lstCustomerServiceMenu.InnerHtml = Nothing lstCustomerServiceMenu.InnerHtml += "<li><A href=""contactus.aspx"">" & Content.SiteTerms.GetTerm("ContactUs") & "</A></li>" lstCustomerServiceMenu.InnerHtml += "<li><A href=""help.aspx"">" & Content.SiteTerms.GetTerm("Help") & "</A></li>" lstCustomerServiceMenu.InnerHtml += "<li><A href=""privacy.aspx"">" & Content.SiteTerms.GetTerm("PrivacyPolicy") & "</A></li>" lstCustomerServiceMenu.InnerHtml += "<li><A href=""terms.aspx"">" & Content.SiteTerms.GetTerm("TermsAndConditions") & "</A></li>" lstCustomerServiceMenu.InnerHtml += "<li><A href=""myaccount_orders.aspx"">" & Content.SiteTerms.GetTerm("OrderHistory") & "</A></li>" 'If WebAppSettings.AffiliateSignupAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""affiliate_intro.aspx"">" & Content.SiteTerms.GetTerm("AffiliateProgram") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""affiliate_intro.aspx"">Affiliate Program</A></li>" 'End If 'If WebAppSettings.GiftCertificatesAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""GiftCertificates.aspx"">" & Content.SiteTerms.GetTerm("GiftCertificates") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""GiftCertificate.aspx"">Gift Certificates</A></li>" 'End If 'If WebAppSettings.ReturnFormAllowed Then ' 'lstCustomerServiceMenu.InnerHtml += "<li><A href=""ReturnForm.aspx"">" & Content.SiteTerms.GetTerm("ReturnRequests") & "</A></li>" ' lstCustomerServiceMenu.InnerHtml += "<li><A href=""ReturnForm.aspx"">Return Requests</A></li>" 'End If
End If
|
|
|
|
Rank: Member
Joined: 6/6/2005(UTC) Posts: 483
|
Yeh! I took me awhile to find this one too.
In Admin go to Content - Columns and then edit the last one. System service pages.
Bob Noble
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.