Iframe troubles

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
StonedDevil

Iframe troubles

Post by StonedDevil »

Script URL: http://www.coreyeacret.info/index.php?i=/g_book/
Version of script: 1.33
Version of PHP: 4
Hosting company: cwhnetworks.com
Have you searched THIS FORUM for your problem: yes
If so, what terms did you try: iframe, iframe link

Write your message below:

Well, first off, awesome scripts, it is exactly what i was looking for, and i about crapped myself when is saw it fit perfectly on my site.

Now, what i need help with, is my site uses iframes. And i have the guestbook coming up in the iframe. Now it fits perfect, thats not my problem. What my problem is, is that when they click the link to go back to coreyeacret.info, they end up getting the main page loading in the iframe, which of course doesn't work all that well.

I was just wondering if you could help and tell me, or show me where to edit to make it reload the home page in the iframe, or if i just need to change in the settings the url to my board to home.html or if that will break something else.

THanks in advance, and once again, friggin perfect script for what i needed, gr8t job m8 :D

Sincerly,
Corey E.
Aka. StonedDevil
AIM: StonedDevil05
E-mail: StonedDevil@Gmail.com
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello StonedDevil,

I think the link you should insert is something like http://www.coreyeacret.info/home.html or ../home.html if you want that page to load in your iframe.

But because you have a nice menu always on your page i think it looks better to remove the back to link altogether from your guestbook page. This requires some editing of the gbook.php file but you already have done that so that should not be a problem.

Change the following (line numbers are from the original gbook.php file)
Find lines 635 - 636 - 637

Code: Select all

<p align=\"center\"><a href=\"$settings[website_url]\">Back to $settings[website_title]</a>
| <a href=\"gbook.php\">View guestbook</a>
| <a href=\"gbook.php?a=sign\">Sign guestbook</a></p>
and change it to this

Code: Select all

<p align=\"center\"><a href=\"gbook.php\">View guestbook</a>
| <a href=\"gbook.php?a=sign\">Sign guestbook</a></p>
If you have changed it you will only have the sign guestbook and view guestbook links on the top of your page.

Greetings,
Henrie
StonedDevil

Post by StonedDevil »

Thank you very much. Its exactly what i needed.

And thanks for the compliment on my menu. I worked my but off on it :D
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It does look nice, good job! :D
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Guest

Post by Guest »

Hi,

I looked at your site and lots of links seem to bring up a non page or the main menu in the ifrsme, needs some sorting out buddy.

Only telling you, as it doesnt look very professional when a non existent page pops up or the navigation is all muddled up.

FB
StonedDevil

Post by StonedDevil »

Anonymous wrote:Hi,

I looked at your site and lots of links seem to bring up a non page or the main menu in the ifrsme, needs some sorting out buddy.

Only telling you, as it doesnt look very professional when a non existent page pops up or the navigation is all muddled up.

FB
Lol i know, its because the site is a work in progress, its not done yet, no where near. But since i use alot of php, i have to have it uploaded. So more pages are added every day, even just place marker pages, but im slowly getting there, just takes time, this site has a large amount of content, and i havent even gotten started on most of it yet, ive just gotten most of the scripts installed, and started with the resume section :D
stoneddevil

Post by stoneddevil »

Klemen Stirn wrote:It does look nice, good job! :D
Thank you very much :D
Post Reply