Menu

Adding a custom menu

Help
Greg Sharp
2004-01-26
2004-01-31
  • Greg Sharp

    Greg Sharp - 2004-01-26

    Hi
    I've installed everything fine and tested using WebStar V Server on Mac OS 10.2.8 but what I'd like to do is integrate OpenFAQ into my site better by adding a table containing my sites navigation menu as used on the rest of my site into the top of the main (public) index.php page. At what point on the page would it be best to insert this table so it appears above the current header (this table is width of page with auto-stretch cells on right side) or is there a better method to do this. I am a reasonable php newbie but fine with html.

     
    • Stian Hole

      Stian Hole - 2004-01-27

      Hi there,

      if I am correct (haven't tested it) putting ?> after line 22 ( $get_qa = mysql_query("SELECT * FROM ofaq_qa"); ) and putting in whatever html you need before the actual faq comes and finish off with a <?php then you should be fine.

      Ending your html stuff can be done at the end of the file.

       
    • Greg Sharp

      Greg Sharp - 2004-01-31

      Thanks Stian

      Your instructions worked fine so I have incorporated OpenFAQ into my production server at www.e4me.net.au/support/index.php . This is a lot better than my previous solution and I can see lots of scope for future development/improvements. I also modified the database to rename it so it didn't have demo in the title. Could I also suggest that you change at the bottom of the index.php page where you have "powered by OpenFAQ" to a live link back to your projects main page (sourceforge) rather than plain text without a link as this may help spread the news.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.