php forum
php mysql forum
php mysql smarty
 
Topic Options
#115911 - 03/07/05 10:30 PM Please help me "de-frame" my site...
joshsaul Offline
Member

Registered: 01/20/03
Posts: 43

   Please help me "de-frame" my site... to Del.icio.us Add to del.icio.us
  Digg Please help me "de-frame" my site... Digg it
I need a little assistance with migrating my site from frames to the header/footer integrated table.

From reading this forum, I realize that I need to add the following to the style:

HEADER
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="SideBars"><tr><td width="15%"><table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" id="Left Sidebar"><tr><td width="100%">&nbsp</td></tr></table></td><td width="70%">

FOOTER
</td> <td width="50%" id="SideBar"> </td> </tr></table>

I see how that lets me run ubb in a table, and I see where to put in the text, but is there any easy way to integrate HTML files as the table source? I already have my content for the top and sidebar worked out in framed HTML, but how do I put that into the table and still keep the source outside of UBB. I need to be able to edit the HTML outside of the style section of the admin page.

Sorry if this is a newbie question.

Top
#115912 - 03/07/05 11:21 PM Re: Please help me "de-frame" my site...
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you won't be able to.
_________________________
Code monkey like Fritos

Top
#115913 - 03/07/05 11:23 PM Re: Please help me "de-frame" my site...
joshsaul Offline
Member

Registered: 01/20/03
Posts: 43
So I have to add all of my content via the admin page?

Top
#115914 - 03/07/05 11:25 PM Re: Please help me "de-frame" my site...
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you are correct sir! heyo!
_________________________
Code monkey like Fritos

Top
#115915 - 03/08/05 02:41 AM Re: Please help me "de-frame" my site...
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
or you can do a file include in Perl through the template files
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#115916 - 03/08/05 12:31 PM Re: Please help me "de-frame" my site...
joshsaul Offline
Member

Registered: 01/20/03
Posts: 43
Charles,

I'm not too familiar with Perl includes. Is it like an HTML include? Can you point me to a good link?

Thanks.

Top
#115917 - 03/08/05 12:55 PM Re: Please help me "de-frame" my site...
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
something like that should work:
Code:
open (FILE, "include.txt") &#0124;&#0124; die "cannot open file: $!";
  undef $/;           # read in file all at once
  print <FILE>;
close FILE;
include that where the header/footer is normally called. probably somewhere in public_common.pl
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top


Moderator:  Gizmo, tackaberry 
Who's Online
1 Registered (Gizmo), 33 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 7
FREAK1 4
Ian_W 4
tackaberry 4
Gizmo 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks