Hi!
I have just downloaded Gbook v. 1.43 and it looks great! But..I would like to intergrate it into my currently existing webpage such that the design is uniform all over. I have got no clue about PHP but I have seen how other guestbooks have been able to do this by inserting text-fields and then relating these to the php-code. I guess this is possible with this guestbook too.
Would anybody care to take their time and give it a shot? Me and my webpage would deeply appreciate it! Thanks!
--
Edit:
Okay, I see now that this message is in the wrong thread and after having read a bit in the *correct* thread I saw that some other people had had the same problem as me (embedding the guestbook). Still, I do think (and hope) that my above request not will go unanswered cause it should be possible - theoretically =D
Yet again - Thanks!
Embedding into page
As mentioned in the readme.htm file distrubuted with the Gbook package you can put code that should be placed above the gbook code in the header.txt file. This is what in your normal pages is placed right after the <body> tag.
The code that should be placed below the gbook entries should be placed in the footer.txt file. This is the code that is normally placed before the </body> tag.
The style of the GBook is set in the external stylesheet style.css
Hope this helps.
Greetings,
Henrie
The code that should be placed below the gbook entries should be placed in the footer.txt file. This is the code that is normally placed before the </body> tag.
The style of the GBook is set in the external stylesheet style.css
Hope this helps.
Greetings,
Henrie
-
- Posts: 2
- Joined: Wed Nov 08, 2006 7:11 pm
Henrie,
I have tried following what you said and it seems that I am not quite understanding. I look at my header and footer.txt files and they are completely blank. Are they suppose to be this way? Where do I go get the information from to put into these files? I noticed in the gbook.php file i see a <body> tag but I do not see a </body> end tag.I'm nt even sure if I am looking at the right file.
My website is www.cleburnesoccer.com/tornados if you would like to take a look.
I am hoping to embed this Gbook into a webpage this stays consistant to the website.
Sorry for the ignorance, I'm pretty new to this.
Thanks,
Chad
I have tried following what you said and it seems that I am not quite understanding. I look at my header and footer.txt files and they are completely blank. Are they suppose to be this way? Where do I go get the information from to put into these files? I noticed in the gbook.php file i see a <body> tag but I do not see a </body> end tag.I'm nt even sure if I am looking at the right file.
My website is www.cleburnesoccer.com/tornados if you would like to take a look.
I am hoping to embed this Gbook into a webpage this stays consistant to the website.
Sorry for the ignorance, I'm pretty new to this.
Thanks,
Chad
ctsutherland,
I just looked at your pages and the header.txt en footer.txt files are not blank anymore.
And i see your guestbook turning op in the same style as the rest of your pages so i guess you now know what to do.
Normally the header.txt is not supposed to contain the <head>....</head> section but because it contains code you need for your webpage it should stay there. Also the <body> tag should normally not be present by because in your case it contains code that is needed for your page, it should remain there.
In the footer.txt file you can remove the </body> and </html> tags as they are already produced by the gbook.php page, but it is not necessary.
Greetings,
Henrie
I just looked at your pages and the header.txt en footer.txt files are not blank anymore.
And i see your guestbook turning op in the same style as the rest of your pages so i guess you now know what to do.
Normally the header.txt is not supposed to contain the <head>....</head> section but because it contains code you need for your webpage it should stay there. Also the <body> tag should normally not be present by because in your case it contains code that is needed for your page, it should remain there.
In the footer.txt file you can remove the </body> and </html> tags as they are already produced by the gbook.php page, but it is not necessary.
Greetings,
Henrie
-
- Posts: 2
- Joined: Wed Nov 08, 2006 7:11 pm
Embedded gbook overlays website
Hi henrie,
I managed to get gbook embedded in my website using the suggestions in this topic but I am having some minor issues I was hoping you could help me with.
The gbook stuff shows up within my website nicely but as soon as it grows larger (by actually posting onto it) it start running over the bottom edge of my site.
So, rather than growing the container it appears to be in, it overlaps it or sits on top.
As you can see here;
http://test.ngalalodge.com/guestbook/gbook.php
Any ideas how I might fix that?
Thanks!
bo
I managed to get gbook embedded in my website using the suggestions in this topic but I am having some minor issues I was hoping you could help me with.
The gbook stuff shows up within my website nicely but as soon as it grows larger (by actually posting onto it) it start running over the bottom edge of my site.
So, rather than growing the container it appears to be in, it overlaps it or sits on top.
As you can see here;
http://test.ngalalodge.com/guestbook/gbook.php
Any ideas how I might fix that?
Thanks!
bo
Hello bo,
It took me about 30 minutes to find but i think i found it. You have a stylesheet named p013.css. In this you haveWhen I remove the height property the page looks good to me. Working code:
Greetings,
Henrie
It took me about 30 minutes to find but i think i found it. You have a stylesheet named p013.css. In this you have
Code: Select all
#imPage {position: relative; height: 360px; }
Code: Select all
#imPage {position: relative; }
Henrie
Awesome!
Hey Henri,
The whole CSS creation done thru the page builder I used is kinda counter intuitive since it creates SHIT loads of CSS files rather than to use one for all as it was intended too, on top of that it creates new rules that over-ride old rules each time you make a change rather than changing the old rule to make it do what you want in the first place
The changes you talk about in the mail below seem friggen obvious and I am sure they will work, I will have a play with this as soon as I get home.
THANKS for putting in 30 minutes of your own time, that is really awesome!!
Will update you with the results!!
Ta
bo
The whole CSS creation done thru the page builder I used is kinda counter intuitive since it creates SHIT loads of CSS files rather than to use one for all as it was intended too, on top of that it creates new rules that over-ride old rules each time you make a change rather than changing the old rule to make it do what you want in the first place

The changes you talk about in the mail below seem friggen obvious and I am sure they will work, I will have a play with this as soon as I get home.
THANKS for putting in 30 minutes of your own time, that is really awesome!!
Will update you with the results!!
Ta
bo
Henri,
It all works like a charm, you can check it out here if you wish
http://test.ngalalodge.com/guestbook/gbook.php
Thanks again for your efforts!!
Vriendelijke groeten,
Bo
It all works like a charm, you can check it out here if you wish

http://test.ngalalodge.com/guestbook/gbook.php
Thanks again for your efforts!!
Vriendelijke groeten,
Bo