Merging A Script Into Dolphin Site

I am trying to add a diet calorie tracking script to my dolphin site. I have got the diet script working on it's on, however I am having problems integrating it into my dolphin site. I want it to have the same header/footers etc as the rest of the web site.

 

What would be the best way to go about doing this? I have added the "Diet Tracker" button to the main layout, I just cain't figure out how to integrate the php scripts. Please help! Thank you.

 

My site is located at P90XSpace.com/site/ the diet script can be viewed at http://www.p90xspace.com/site/diet.php

Quote · 26 Jun 2009

I also would like to integrate the users, so that users in my dolphin users database, will be able to access this diet tracking without having to re sign in, or sign up twice. What would be the best and easiest way to do this?

 

 

Thank you again.

Quote · 26 Jun 2009

Can anyone help me please? Thank you

Quote · 26 Jun 2009

sorry to say it but you may need to post this one over in the jobs section  as what you are looking for will take a little bit of work.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 26 Jun 2009

I am now getting this http://p90xspace.com/site/viewPage.php?ID=Diet%20Tracker it is not aligning right. Could you tell me a possible why, if I can get the alignment fixed I should be able to finish it.

Quote · 27 Jun 2009

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.

Quote · 27 Jun 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.