Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 43
Member
Member
Offline
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
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
you won't be able to.

Joined: Jan 2003
Posts: 43
Member
Member
Offline
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
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
you are correct sir! heyo!

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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
Member
Member
Offline
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
Veteran
Veteran
Offline
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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)