Page 3 of 3 FirstFirst 123
Results 21 to 21 of 21

Thread: PHP/JS on same page?

  1. #21
    Join Date
    May 2011
    Posts
    49
    Thanks
    17
    Thanked 1 Time in 1 Post

    Default

    I'm back to my original problem, which is being able to load the scroller text from file, but losing the sidebar menu. This happens when I convert the page from .html to .php which is necessary to run the php code. I want the page to look something like this

    http://www.siftradingsystems.com/BlankPage_New3.php

    instead of this

    http://www.siftradingsystems.com/BlankPage_New4.php

    If you look at the source code you will see the difference in how the sidebar menu is constructed, I don't want to use the one method because I then have to edit every page which has this menu. I didn't build these, but I think when they were first built there were two ways to make the menu and I'm not sure why, but eventually I discovered I could just use the menu.shtml which greatly simplified things when I wanted to add a link to a new page.

    Could I use some php code to construct the menu?

    Never mind, I got it. Just had to run php as SSI.

    http://www.siftradingsystems.com/BlankPage_New5.html
    Last edited by Atom; 05-13-2012 at 05:19 AM. Reason: More info

Bookmarks

Posting Permissions

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