YAFLogo

brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
11 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
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 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
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button