1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Error the requested page could not be found

Discussion in 'Styling and Customization Questions' started by CosmicPyrex, Jul 5, 2016.

  1. CosmicPyrex

    CosmicPyrex New Member

    So I used this guide: https://xenforo.com/community/threads/how-to-add-a-new-tab-in-the-navbar.7781/ to make an 'applications' tab on my navbar and I am not sure how to edit whats on the page, so when you click that directory, it says;

    Error - The requested page could not be found

    Please help! Thanks, CosmicPyrex

    PS I have the latest version of XF not sure if that is 1.5, sorry and thanks for understanding.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What is the exact code you have added to the template?
    Paste it in code tags.
     
  3. CosmicPyrex

    CosmicPyrex New Member

    Last edited: Jul 5, 2016
  4. Brogan

    Brogan XenForo Moderator Staff Member

    This is invalid:
    Code:
    <a href="Applications/"

    If you have an add-on which has an applications route then you can use:
    Code:
    <a href="{xen:link applications}" class="navLink">Applications</a>
    

    Otherwise you can use an absolute URL, for example:
    Code:
    <a href="http://www.mysite.com/applications.html" class="navLink">Applications</a>
     
  5. CosmicPyrex

    CosmicPyrex New Member


    Now when I go to the Applications tab it gives me this: https://gyazo.com/409e952128f70a5eee9ec3515a84c1b5

    Code:
    Code:
    <!-- mytab -->
            <li class="navTab PopupClosed"><a href="http://PrisonBreach.com/applications.html" class="navLink">Applications</a>
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

  7. CosmicPyrex

    CosmicPyrex New Member

    I would like to make a specific forums page -- like the forums but just for applying for staff.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    If it's for a specific forum, you can get the forum URL and use that.
     
  9. CosmicPyrex

    CosmicPyrex New Member

    Ok, thanks and if you want you can lock this forum, I think I get what your saying! Thanks for your help and being patient with me, as I am not experinced!
     

Share This Page