YAFLogo

tylerw-savatronix
9 years ago
Is it possible to change the location that the forum logo banner link points to?

https://forums.savatronix.com  ). I'd like that link (and only that link) to point to my main website; www.savatronix.com

I ran a search on the entire solution for the ID of the hyperlink and came up empty handed so I'm assuming that code is buried in a dll 😣 (here's hoping I'm wrong though).

Thanks!
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 years ago
Originally Posted by: tylerw-savatronix 

Is it possible to change the location that the forum logo banner link points to?

https://forums.savatronix.com  ). I'd like that link (and only that link) to point to my main website; www.savatronix.com

I ran a search on the entire solution for the ID of the hyperlink and came up empty handed so I'm assuming that code is buried in a dll 😣 (here's hoping I'm wrong though).

Thanks!



Yes the link is hard coded under YAF\Modules\PageLogoHandlerForumModule.cs. But there is a solution just open the default.aspx file and change the line...


<asp:HyperLink runat="server" id="BannerLink">
            <img src="~/YafLogo.png" 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="BannerLink2" NavigateUrl="https://savatronix.com">
            <img src="~/YafLogo.png" runat="server" alt="logo" style="border: 0;" id="imgBanner" />
        </asp:HyperLink>

tylerw-savatronix
9 years ago
doh! why didn't I think of that >.<

I'm a horrible developer lol.

Thanks much!
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