Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 43
J
Member
OP Offline
Member
J
Joined: Jan 2003
Posts: 43
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


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.

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
you won't be able to.

Joined: Jan 2003
Posts: 43
J
Member
OP Offline
Member
J
Joined: Jan 2003
Posts: 43
So I have to add all of my content via the admin page?

Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
you are correct sir! heyo!

Joined: Oct 2000
Posts: 2,667
C
Veteran
Offline
Veteran
C
Joined: Oct 2000
Posts: 2,667
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?
Sponsored Links
Joined: Jan 2003
Posts: 43
J
Member
OP Offline
Member
J
Joined: Jan 2003
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.

Joined: Oct 2000
Posts: 2,667
C
Veteran
Offline
Veteran
C
Joined: Oct 2000
Posts: 2,667
something like that should work:
Code
open (FILE, "include.txt") || 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?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,552
Posts293,830
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 219
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 8
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,809
Greg Hard 4,625
Top Posters(30 Days)
stell 3
Morgan 1
isaac 1
Gizmo 1
Top Likes Received
isaac 66
Gizmo 12
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.052s Queries: 28 (0.021s) Memory: 3.3036 MB (Peak: 3.5069 MB) Data Comp: Zlib Server Time: 2021-03-08 10:11:26 UTC
Valid HTML 5 and Valid CSS