Thread: header links

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Apr 2008
    Posts
    42
    Plugin Contributions
    0

    Default header links

    Hello, I know how to put links in the header but I can't figure out how to make those links put the pages in the main page area. for example, I have made a page called chillers so in my tpl_header.php i placed

    <li><a href="index.php?main_page=chillers">Chillers</a></li>

    and now the link shows in the header but when it is clicked, i get a 404 error in the main page area. I placed the chillers page in includes/languages/english/html_includes/classic. I'm new to php so I don't know if this is right, kind of just being piecing things together from other threads.

    did i put the file in the wrong place or did i just not do anything right at all is basically what i am asking
    Last edited by fsicody; 9 Apr 2008 at 01:55 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    Cheshire
    Posts
    81
    Plugin Contributions
    0

    Default Re: header links

    Have you only added a file to:

    includes/languages/english/html_includes/classic

    for you new page ?

    If so theres a few other files that need to be added for the page to work, i would take a look at the about us module in the downloads section this can be customised to add new pages.

  3. #3
    Join Date
    Apr 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: header links

    what other files would need to be added?

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: header links

    Have you considered using an EZ page?

  5. #5
    Join Date
    Apr 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: header links

    i have but i cannot figure out how to do it. i've created ez pages but the links are not showing, i don't know what i am doing wrong.

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: header links

    EZ-Pages was created to achieve just what you want to do. Try to avoid hacking the code if you can - - - it often leads to other problems.

    To see how I configured a header menu using EZ pages, take a quick look at:-

    www.sa-shop.co.uk

  7. #7
    Join Date
    Apr 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: header links

    that is exactly how i want it to look but my ez pages bar is not showing up and i cannot figure out why.

  8. #8
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: header links

    First, check that Admin>Configuration>EZ-Pages Settings>Display Status - HeaderBar is set to 1

    Then go to Admin>Tools>EZ-Pages, do you have some EZ pages setup to show in the header? In the Header column, are there pages in the list which have a green box?

  9. #9
    Join Date
    Apr 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: header links

    nevermind, it was a dumb thing. i did not have a sort order on the pages

  10. #10
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: header links

    Quote Originally Posted by fsicody View Post
    it was a dumb thing. i did not have a sort order on the pages
    Don't be critical of yourself... I spent some days trying to figure out the same issue when I started using ezpages!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Header links
    By zcadqliv in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 23 Feb 2011, 07:41 AM
  2. Separating the Header Links from Sidebox links in CSS
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 May 2007, 02:42 PM
  3. Header Links?
    By bajanboost in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Dec 2006, 09:44 AM
  4. Links in Header
    By personalisedpresent in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Sep 2006, 06:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg