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 
GB modify index  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi All,

Ok! Guest book running!!

Now...... What is the file I can change to do this:

I am trying to make the page look like this page that you are reading this post on.

I presume you take a blank page, make two tables then in the right table put the code for body.php.
In the left table I can add links and pics?

I tried it on the two index.html pages but no JOY..... still brings up the default page...

Thanks!
JTD
Graduate

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

Actually you are way off base. Contact Carbonize about it. And is this sorta what you are meaning.

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



Exactly!!!!!!!

tis what I need....>>>http://www.ravenprom.org/guestbook/

Any clue?
Carbonize
Master
[Avatar]

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

Both the Ravenprom guestbook layout and my entire site were achieved using a simple snippet of PHP code. It is a function called include. First design a page placing the word guestbook where you want the guestbook to go. Remember that the guestbook is a pretty big item. Next you go through the HTML and everything from the start up until the word Guestbook you save into a file called header.php. You then take everything from the end of the word guestbook right up to the very end and save it to a file called footer.php. You now have two choices. The first is to overwrite the header.php and footer.php files that already exist in the guestbooks templates. Second is to place the newly made header and footer files in your webspace and place include ('header.php'); just after the initial <? in index.php of your guestbook then place include ('footer.php'); before the closing ?>.

By now you are probably confused as hell but I hope not. If I get chance I will make a simple demonstration and upload the files somewhere. My entire site only has a sinlge header and footer file that is used by every page.

Carbonize
I am not the maker of the Advanced Guestbook

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



Thanks Carbonize!

Its kinda like ssi but with php.

I follow you BUT some samples would be great! I bet I am not the only one who have thought of this. Might want to save the samples for others

U ROCK!
JTD
Graduate

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

Here I can provide you with the samples I have.

http://www.ravenprom.org/downloads/Raven1.zip

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



Hi,

I took your zip file and edited header.php to what I need.
When I open header.php in IE it shows fine. When I open raven.html THAT shows the original file for raven.

I changed the original to header.bak
I edited it in frontpage and saved as header.php.
Thought it might be an IE cache thing but not.....
All files are in the dir so it cant be a path problem

Wassssup with that??

Thanks!
Carbonize
Master
[Avatar]

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

raven.html is just the page I made to show what th efinished product should look like. The three pages needed are header, footer and content.php. You goto content.php in your browser and it should add the header and footer in the right places.

Carbonize
I am not the maker of the Advanced Guestbook

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



Thanks a bunch for putting up with my ignorance!

When I open content.php with IE I get this:

<?php
$title = 'Ravens Downloads';
$maintitle = 'main content title';
include('header.php');
?>
<most ofl your latin stuff I deleted to keep this post short>

nostrud exerci tation ullamcorper
<?php include('footer.php'); ?>

I shouldnt have to upload to get it to work because yours works just fine on local box....

again THanks!
JTD
Graduate

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

I think you do have to have the content.php file in there also.

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



Well I loaded em up and "some of my changes" are there. Somehow I blew the tables......

back grouns is supposed to be black and some other things dont show....


http://gomyfamilyfirst.net/boards/movies/

g
Anonymous



I gave up on the mods to your code. I started a new one using your instructions. It lights up ok but no GB?

Where and in what is the call for GB?

I put the word "Guestbook" in per your post. Is that suppsed to be a function call?

Thanks!

http://gomyfamilyfirst.net/boards/movies/
ps yeepers i know the pics dont show...I will fix that once we get it running
Anonymous



Hi,
Under Guestbook put the include function

<? include("guestbook/index.php"); ?>

dependent on where you have it installed.

or if you wish to use the full url use <? include('http://mydomain.com/guestbook/index.php'); ?>

just throw one of them in the table where you have the work guestbook.

Hope that helps.
JTD
Graduate

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

Ok at the top and of your index.php file you need to add this. changing the path ofcourse to whatever yours is.

<?php include('/home/ravenpro/public_html/guestbook/header.php'); ?>


Also at the bottom add this changing the path as needed.

<?php include('/home/ravenpro/public_html/guestbook/footer.php'); ?>

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



Hi All,

I AM fairly ignorant but I have some intelligent help!

Carbonize is on the scene!

He changed my header, footer, and index.phps.
Still not working. The GB does not populate. Carbonize is in the UK...+6 hrs and works nights so I am standing by....

Some times the simplest of things can just kick our butts!!!

I really appreciate everyones help!
We will prevail!
G
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum