YAFLogo

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