Page 1 of 1

how to include the G-Book into another tempate ?

Posted: Mon Dec 01, 2014 10:46 pm
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

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

Posted: Tue Dec 02, 2014 6:06 am
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