Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:24 pm EST

Geeklog Forums

conflicting index.html and index.php


Status: offline

Lygernight

Forum User
Newbie
Registered: 01/28/06
Posts: 11
Location:Earth - Circa 1981
OK guys, now I'm scratching my head on this one and I know of one way to do this but i'm not sure if there's an easier fix.

On my site http://www.dayoffireguild.com everything seems to be alright with the links and everything, or so I thought.

I have an index.html which is the framed version of the site you'll see when you goto the above address. I want it to be the way you see it. The problem now lies in when you click on the logo at the top of the page...it reloads www.dayoffireguild.com which then opens an instance of the frames inside the lowerframe. Now instead of one mp3 player you will see 2...it'll progress to get more the more you click on the logo. I could go onto infinity with millions of mp3 players.

Now cleary I didn't want this to happen, however the only fix I see at the moment is moving every geeklog file thats in my root directory into it's own folder.

1 question though, will that be an easy fix? Can i just redirect the information in the config.php file to say they index.php file is located somewhere else now? or will this effect the complete installation again?
My other question is could we just add something to the code that makes the logo a link to make it target=_top after the href tag? I dunno where this is in the files though. Just need a lil help because i'm confused.
 Quote

Status: offline

Lygernight

Forum User
Newbie
Registered: 01/28/06
Posts: 11
Location:Earth - Circa 1981
oh nevermind i found it....man i wish i would find these things before I open a post.

it was in the header.thtml file located in my layout folder. I just added the target="_top" to break out of the frames.

simply changed


<a href="{site_url}/">


to


<a href="{site_url}/" target="_top">
 Quote

All times are EST. The time is now 11:24 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content