Page 1 of 1

Iframe troubles

Posted: Thu Nov 03, 2005 8:55 pm
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

Posted: Thu Nov 03, 2005 10:14 pm
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

Posted: Fri Nov 04, 2005 12:27 am
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

Posted: Fri Nov 04, 2005 8:27 am
by Klemen
It does look nice, good job! :D

Posted: Fri Nov 04, 2005 1:35 pm
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

Posted: Sun Nov 06, 2005 10:19 pm
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

Posted: Sun Nov 06, 2005 10:20 pm
by stoneddevil
Klemen Stirn wrote:It does look nice, good job! :D
Thank you very much :D