YAFLogo

brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-06-11T17:37:50Z
Hi

is there any way to change the URL associted with the forum logo ... I mean the URLthe page goes to when you click the forum log.

Default is ~/default.aspx?g=forum

Many thanks again


UserPostedImage New Network Edition V2.8 - Released Dec 2013 
Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.0
2012-06-13T09:36:52Z
You need to modify the default.aspx in order to change the url of the logo

Change the line from..

<asp:HyperLink runat="server" id="BannerLink" Visible="False" >
        <img src="~/forumlogo.jpg" runat="server" alt="logo" style="border: 0;" id="imgBanner" />
    </asp:HyperLink>

to...

<asp:HyperLink runat="server" id="BannerLink" Visible="False" ></asp:HyperLink>
    <asp:HyperLink runat="server" id="CustomBannerLink" NavigateUrl="yoururl" >
        <img src="~/forumlogo.jpg" runat="server" alt="logo" style="border: 0;" id="imgBanner" />
    </asp:HyperLink>

UserPostedImage
brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-06-15T09:32:44Z
Thanks for this, works great!
UserPostedImage New Network Edition V2.8 - Released Dec 2013