• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

daniel
#1 Posted : Monday, November 26, 2007 3:35:38 PM(UTC)
daniel

Rank: Member

Joined: 11/15/2007(UTC)
Posts: 52

How do I...



add more links in the footer portion of BV5 and how do i get the text to display?



I have tried doing this in the styles.css file. However you can only move the positioning of the footer links in this file.



I have tried doing this in the Footer.ascx file and it works and creates the hyperlink but on the home page it does not show the text(I have attached a word .doc file screenshot to show what the problem is) however if you rollover you can see the link in the status bar or IE 7 browser per the code below:

[color=red><%@]<%@ Register Src="../../Controls/CustomPagesDisplay.ascx" TagName="CustomPagesDisplay"
TagPrefix="uc2" %>
<%@ Register Src="../../Controls/PoweredBy.ascx" TagName="PoweredBy" TagPrefix="uc1" %>
<div id="footer">
<div id="footernavmenu">
<ul>
<li>
<asp:HyperLink ID="lnkHome" runat="server" NavigateUrl="~/Default.aspx"/></li>
<li>
<asp:HyperLink ID="lnkCart" runat="server" NavigateUrl="~/Cart.aspx"/></li>
<li>
<asp:HyperLink ID="lnkSearch" runat="server" NavigateUrl="~/Search.aspx"/></li>
<li>
<asp:HyperLink ID="lnkSiteMap" runat="server" NavigateUrl="~/Sitemap.aspx"/>
</li>
</ul>
<uc2:CustomPagesDisplay id="CustomPagesDisplay1" runat="server">
</uc2:CustomPagesDisplay>
</div>
<div id="footercopyright">
Copyright 2005-2006 BV Software LLC/ Daniel's Mod</div>
<uc1:PoweredBy ID="PoweredBy1" runat="server" />
</div>[/color]


I even went further into the Footer.ascx.vb file and made changes there, still unable to get footer text to show up on homepage per the sample code below:

[color=red>Imports]

Partial Class BVModules_Themes_Bvc5_Footer
Inherits System.Web.UI.UserControl[/color]

[color=red> ] lnkHome.Text = Content.SiteTerms.GetTerm("Home")
lnkHome.ToolTip = Content.SiteTerms.GetTerm("Home")[/color]

[color=red> lnkCart.Text] lnkCart.ToolTip = Content.SiteTerms.GetTerm("Cart")[/color]

[color=red> ] lnkSearch.ToolTip = Content.SiteTerms.GetTerm("Search")[/color]

[color=red> ] lnkSiteMap.ToolTip = Content.SiteTerms.GetTerm("SiteMap")[/color]

[color=red> ] If DirectCast(Me.Page, BaseStorePage).UseTabIndexes Then
lnkHome.TabIndex = 10000
<FONT color=red>lnkCart.TabIndex = 10001[/color]
lnkSearch.TabIndex = 10002
lnkSiteMap.TabIndex = 10003

End If
End If
End Sub
End Class




If anyone has encountered this problem, possibly direct me on how I should be doing this, or even if the approach I am using is incorrect please let me know. I have been trying to figure this out for the past two days.





Thank you,

Dan
File Attachment(s):
bvd5footer.jpg (533kb) downloaded 118 time(s).

You cannot view/download attachments. Try to login or register.
Chris Dittmeier
#2 Posted : Monday, November 26, 2007 3:53:13 PM(UTC)
Chris Dittmeier

Rank: Member

Joined: 1/3/2004(UTC)
Posts: 1,497

Since you have edited the BVC5 theme, make sure that is the selected one. You may have to compile the site. Have you added the Site Term "CART" to your list of site terms?
Chris
Sirius Programming

www.siriusprogramming.com
daniel
#3 Posted : Monday, November 26, 2007 4:05:47 PM(UTC)
daniel

Rank: Member

Joined: 11/15/2007(UTC)
Posts: 52

Originally Posted by: "Chris Dittmeier" Go to Quoted Post

Since you have edited the BVC5 theme, make sure that is the selected one. You may have to compile the site. Have you added the Site Term "CART" to your list of site terms?



I have selected the BVC5 "Aurora" theme. that is currently the selected one. I am modifying it to suite my needs.


Why would I have to compile the site? How would I go about doing that?



I have not adde the site Term "CART" to the list of site terms; is this in the BV admin menu somewhere or in the BVC5&gt;Themes folder and has to edited in a file manually?



Thank you for your response and your help on this.



Look forward to reply back on this,



Dan
Chris Dittmeier
#4 Posted : Monday, November 26, 2007 4:28:24 PM(UTC)
Chris Dittmeier

Rank: Member

Joined: 1/3/2004(UTC)
Posts: 1,497

Site terms are under the admin/options page down near the botton of the list. The term "ViewCart" is already there and you might want to use that one in your code instead of just "Cart" and having to add another term. Try that first to see if you need to recompile. Since you are only changing the codebehind vb file, it may recompile on it's own. If you edit the web.config file and save it (without really making changes), it will force a recompile.
Chris
Sirius Programming

www.siriusprogramming.com
daniel
#5 Posted : Monday, November 26, 2007 6:53:24 PM(UTC)
daniel

Rank: Member

Joined: 11/15/2007(UTC)
Posts: 52

Originally Posted by: "Chris Dittmeier" Go to Quoted Post

Site terms are under the admin/options page down near the botton of the list. The term "ViewCart" is already there and you might want to use that one in your code instead of just "Cart" and having to add another term. Try that first to see if you need to recompile. Since you are only changing the codebehind vb file, it may recompile on it's own. If you edit the web.config file and save it (without really making changes), it will force a recompile.





Chris,



Thank you very much. Your reccomendation has helped greatly!

I appreciate all your valuble time and consideration,

Dan.



note: Also, just an FYI, I am having to add additional terms to make it work even though there are premade terms. I can't figure out why that is. It seems when I manually edit the files that retrieve the site terms and add new site terms the pages recompile on their own. However I think it should do that with the premade terms as well, but I get compiling errors whenever I use them. Do not know if that makes sense.
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012