YAFLogo

brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
9 years ago
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.3
9 years ago
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>
brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
9 years ago
Thanks for this, works great!
UserPostedImage New Network Edition V2.8 - Released Dec 2013