YAFLogo

jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
13 years ago
I want to add a link to our home page on the top navigational bar, such as below:

USS HOME PAGE FORUM ACTIVE TOPICS SEARCH HELP LOG IN REGISTER

I tried modifying the controls/YafHeader.ascx, but no luck. In what file(s) can I modify this in to include a link to my home page?

Thanks!


Jason Weber

USS Vision YAF 

"Money is better than poverty, if only for financial reasons"

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago
You need to edit the YafHeader.ascx

<ul class="menuList">
                <asp:PlaceHolder ID="menuListItems" runat="server">
                </asp:PlaceHolder>
            <li> <a href="http://www.ussvision.com/">USS HOME PAGE</a></li>
            </ul>
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
13 years ago
Hey Tha_watcha -- I feel like a complete idiot now. lol .... this is bad. I have YAF in a separate folder, and then I copied the entire folder into my website. I was editing the file in the proper place, but I was uploading the wrong YafHeader.ascx from the wrong folder.... lol .... boneheaded mistake that I spent an hour on until posting here.

But your post just ensured I was doing the right thing, so it made me look at it a little more .. otherwise, I would have left it alone. So thanks a bunch for responding!

For anyone else interested in doing something like I did, for instance, on your top navbar:

USS VISION HOME PAGE FORUM ACTIVE TOPICS SEARCH HELP LOG IN REGISTER

Just go to your controls/YafHeader.ascx page, and find these lines:

Just above that, I inserted this:

Thanks again Tha Watcha!


Jason Weber

USS Vision YAF 

"Money is better than poverty, if only for financial reasons"