If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How can I integrate my guestbook into an existing site?  XML
Forum Index » Support Forum
Author Message
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

Have a look at this and then view the source. I have explained as best I can in the comment tags. http://carbonize.co.uk/template.html

BTW http://www.vickiwillingham.com/ looks fine in Internet Explorer at 800x600 but has a problem in Firefox/Mozilla web browsers.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:Have a look at this and then view the source. I have explained as best I can in the comment tags. http://carbonize.co.uk/template.html

BTW http://www.vickiwillingham.com/ looks fine in Internet Explorer at 800x600 but has a problem in Firefox/Mozilla web browsers.


Thanks, I know it's not ok with the whole cross browser compatibility right now - something I plan to work on once I know exactly what I'm doing.

Once everythings set up properly I'll get it W3C'd!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

Anonymous wrote:Once everythings set up properly I'll get it W3C'd!
Also the one page with the W3C valid logo on actually isn't. Anyway I hope the link I posted proves useful.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:
Anonymous wrote:Once everythings set up properly I'll get it W3C'd!
Also the one page with the W3C valid logo on actually isn't. Anyway I hope the link I posted proves useful.


Yeah I know that too...I have to take it off. It was validated, the whole site was till I started messing about.

I'm still not sure I understand even with the help of your code. I copied the menu code into the body.php file but nothing happened. I'm sure I'm missing something really obvious.
Anonymous



Carbonize wrote:
Anonymous wrote:Once everythings set up properly I'll get it W3C'd!
Also the one page with the W3C valid logo on actually isn't. Anyway I hope the link I posted proves useful.


Yeah I know that too...I have to take it off. It was validated, the whole site was till I started messing about.

I'm still not sure I understand even with the help of your code. I copied the menu code into the body.php file but nothing happened. I'm sure I'm missing something really obvious.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

Try copying the menu code into the header.php after the body tag.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:Try copying the menu code into the header.php after the body tag.


Hmm...thanks it seems really clear I just seem to be having problems understand it all.

I uploaded all the files to the surver is this correct? When I change the php files in DW (it's my default PHP editor/viewer apparently) then view design it just looks a mess. Having no experience with PHP yet I don't know if this is correct or not.

Also...and this is going to seem like a really daft question...where do I find my guestbook? I have all the files of course, and was under the impression that I had to alter my HTML code to link to the guestbook in order to see it. Is this right/wrong?

Maybe I should just give in to failure and leave the guestbook idea well alone!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

Where did you upload the guestbook to? What is th ename of the folder it is in?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:Where did you upload the guestbook to? What is th ename of the folder it is in?


Via CoreFTP.

I uploaded to htdocs/guestbook files/ within my site directory.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

so www.yoursite.com/guestbook%20files/ ?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote:so www.yoursite.com/guestbook%20files/ ?


The folder name is guestbook (changed the name) but http://www.vickiwillingham.com/guestbook does nothing.

I think I'm getting some help from Amber so hopefully will get it right soon.
Jared
Student

Joined: 07/01/2003 22:58:43
Messages: 96
Offline

Actually you don't have to use the header and footer.php files. You can hard code the index.php, addentry.php and comment.php files to your sites global includes.

Basically you will open up index.php file, and at the top you will put



then at the end of the code you will put



do this for the other two files, and you will be good to go.

The above system requires that your entire site runs on a template system. The advantage being that you only have to ever modify a couple of files to have it propagate the entire website. Guestbook included.

Otherwise, doing a link update might take a long time, if you have to edit many many templates.
[WWW] [Yahoo!] [MSN]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4290
Location: Bristol, UK
Offline

the disadvantage is that it prevents the header being sent when a comment is submitted.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

*BUMP*

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum