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 
guestbook in html page  XML
Forum Index » Advanced Guestbook Forum
Author Message
kbrowder
Beginner

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Hi everyone,

I would like to put the guestbook into one of my .shtml pages, but the instructions say to make it a .php page.

I renamed the page template to gb.php although it is a .shtml page and the guestbook works, but the html part does not show.

Is there a way to do this? I would like the page to fit into the rest of the theme of our web site.

Thanks for any help!

Link to my page: http://7times.org/lazarusgb/gb.php

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
JTD
Graduate

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

I see you are useing Lazarus. Try useing the include code found in the general setting of the admin section. And if you want the GB placed on your main website all you need to do is rename it with a php extension. Also you might want to ask lazarus questions on the lazarus forum located here. http://carbonize.co.uk/Lazarus/Phorum/index.php This is what you are trying to do below correct. My site--> http://www.phantom309drivers.org/guestbook/

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
kbrowder
Beginner

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

JTD wrote:I see you are useing Lazarus. Try useing the include code found in the general setting of the admin section. And if you want the GB placed on your main website all you need to do is rename it with a php extension. Also you might want to ask lazarus questions on the lazarus forum located here. http://carbonize.co.uk/Lazarus/Phorum/index.php This is what you are trying to do below correct. My site--> http://www.phantom309drivers.org/guestbook/

That is exactly what I'm trying to do!

I pasted the php include into my page where I wanted it to go. The page runs and picks up my css code and uses it but doesn't format my page.

I am using html includes so I have named my page as .shtml extensions.

thanks for the reply.k

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
JTD
Graduate

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

kbrowder wrote:
JTD wrote:I see you are useing Lazarus. Try useing the include code found in the general setting of the admin section. And if you want the GB placed on your main website all you need to do is rename it with a php extension. Also you might want to ask lazarus questions on the lazarus forum located here. http://carbonize.co.uk/Lazarus/Phorum/index.php This is what you are trying to do below correct. My site--> http://www.phantom309drivers.org/guestbook/

That is exactly what I'm trying to do!

I pasted the php include into my page where I wanted it to go. The page runs and picks up my css code and uses it but doesn't format my page.

I am using html includes so I have named my page as .shtml extensions.

thanks for the reply.k


Well as you can see it wont work your way. But it is your site not mine.

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
Carbonize
Master
[Avatar]

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

He got it working.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Carbonize wrote:He got it working.

Yes I DID! Thanks guys!

I knew I had done something wrong since it was just an include.

The problem was I had used the "wrong" template with almost the same name!

I suppose nothing like that ever happened to any of you though

I then had to pull all my includes from the page and then rename it to gb.php.

Works GREAT!

Your comments helped very much!!

NOW!!

How do I change the text and maybe image at the top of the page? Is that a header?

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

I think there is a thread about those things in the sticky labelled "read me first..."

also there is a lot of other bits and pieces you may find useful in there to, g/l.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
kbrowder
Beginner

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Auron wrote:I think there is a thread about those things in the sticky labelled "read me first..."

also there is a lot of other bits and pieces you may find useful in there to, g/l.


Thanks to you Auron. I will check that out. Just need to find my way around a bit. Being 73 doesn't help

By the way, Carbonize, if you read this too, I stole one of your great girls when I was there in the early 1950's and brought her home with me.

and we are still together!!!!!

Off to read the 'sticky'.

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
kbrowder
Beginner

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Auron wrote:I think there is a thread about those things in the sticky labelled "read me first..."

also there is a lot of other bits and pieces you may find useful in there to, g/l.


Got some of the text changed, thanks.

Now:
1. How do I change the SIZE of the guestbook image .gif? Mine needs to be longer
2. How can I add a break between "sign the guestbook" and "administration" links on the right hand side.

Right now it breaks right after the LOCK icon, and I would like the LOCK icon to be on the next line with "administrator" link.

THanks Carbonize for a great guest book.

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
Carbonize
Master
[Avatar]

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

body.php in templates unless you are using 1.5 in which case body.tpl in templates/classic

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Carbonize wrote:body.php in templates unless you are using 1.5 in which case body.tpl in templates/classic

Thanks Carbonize but tried changing image sizes.... no good.
Tried changing td width and heights but no good.

Guess I'll just have to leave as is.

Thanks for your help.

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
Carbonize
Master
[Avatar]

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

which image are we talking about?

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Carbonize wrote:which image are we talking about?


gbook.gif. I would like the gbook.gif to be larger if possible. I have made one as you can see on my site. I made it larger but the guestbook keeps reducing the size to fit your format.

My formatted page width also causes the line with "sign in" and "administration" to break after the "lock" icon to the next line leaving the word "administration" on a line by itself.

Thanks friend,

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
Carbonize
Master
[Avatar]

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

in body.php

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 30/10/2005 17:58:54
Messages: 8
Location: Cleveland, TN
Offline

Carbonize wrote:in body.php


Yes. I changed the width to 60%, the width to 250 and height to 50 for the gbook.gif but there did not seem to be any change.

I would like a logo about 1.5 times as big there and would like the sign in and administration to be on one line other than folded back.

Thanks

Ken Browder - Editor
The SevenTimes Journal
"A Journal of Biblical Understanding"
[Email] [WWW]
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum