|
|
Joined: Jan 2003
Posts: 43
Member
|
Member
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 43
Member
|
Member
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
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
you are correct sir! heyo!
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
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?
|
|
|
|
Joined: Jan 2003
Posts: 43
Member
|
Member
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
Joined: Oct 2000
Posts: 2,667 |
something like that should work: 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?
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|