how to include the G-Book into another tempate ?

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
eucmh
Posts: 5
Joined: Mon Dec 01, 2014 10:40 pm

how to include the G-Book into another tempate ?

Post by eucmh »

Script URL: http://www.eucmh.com/index/g-book/
Version of script: 2 and something (the last)
Hosting company: Startlogic
URL of phpinfo.php: I didn't use it
URL of session_test.php: didn't use one neither
What terms did you try when SEARCHING for a solution: include

Write your message below:
I would like some help to know the way to include the g-book into a page I will create there
http://www.eucmh.com/index/index.html
Thank you
Gunter / Belgium
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: how to include the G-Book into another tempate ?

Post by Henrie »

Hello eucmh,

You can find all info about how to integrate Gbook in the readme.htm file that is included in the package.
But in short.
  • Install Gbook by unzipping the content of the zipfile to a folder on your webserver.
  • Change settings in settings.php file to what is needed and liked for your guestbook
  • Customize header and footer to make them look the way you have in your normal pages.
    The header would include the light grey logo bar ( <div class="wrapper row1"> <header id="header" class="full_width clear"> ... </header> </div> ) and the dark grey navigation bar ( <div class="wrapper row2"> <nav id="topnav"> ... </nav> </div> ), look at the source code of the website in your browser what code you would need to copy in the header.txt file.
    The footer would include the bottom grey bar with with 'EUCMH navigation' etcetera ( <div class="wrapper row2"> <div id="footer" class="clear"> ... </div> ) and would need to be copied in the footer.txt file.
  • Optionally change the look of the guestbook by editing the template. Colors and text styles in the style.css file and layout of the guestbook in the other files.
That's it.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply