I really don't know what to do.. but I'm learning. I need to put a script into dolphin website. I have read this below but I need more. The script I have will play a bid role in my site. It will have the same header, footer but not the same layout. Please tell me what to do
Okay, in order to add anything to Dolphin, you need to do a couple of things as far as the page goes itself.
1. Create a php file for it. In your case it would be dietracker.php and place the file in your root directory
2. Create a css file for it or allow it to call your general.css file for layout purposes.
3. You need to create a .html file for it. For instance page_999.html and this is how you get your headers/footers/menu and such to appear. Check out a few of the page_#.html files in your base dolphin install script and you'll get the idea.
Now keep in mind that you'll need to call several different files in the process of creating your page and fully integrating it dependent on how much you want it to do. At a minimum the base php file will need to call the css & html files to create the physical build of your page. Just take a moment and browse through the Dolphin files, it will all begin to make sense, especially if you take notes and play around a little bit. As a final note, don't forget your sql for the program to operate correctly.