Update:
I was able to hack the CP Styles template to add the on/off var for the custom header, and get the CP to generate an updated style file with the new HeaderCustom var.
I was even able to get public_common to spit out the desired header, with:
[code][/code]But sadly
I could not figure out how to get UBB to include the external html file in place of the standard $Header.
I think I need an extra subroutine in public_common.pl that will process the CustomHeader var.
Here's what it needs to do:
- Get the html file defined by a path in $CustomHeader
- Print the contents of that html file in place of var $Header
Guessing I need to use either:
require (file path)
include (file path)
open (FILE)
print (FILE)
or some combination of the above...
Here's a link to my *rough* development document, if you want to see what I've done so far.
http://www.skusaonline.com/test/GGR_Style_Mod_development.txt I had to revert to the original style setup, 'cause my deadline's right on top of me. But I still need to come up with a solution for the regional forums (news boards). Here's where it's going (test site):
http://www.skusaonline.com/test/template.htm And here's a link to one of the regional areas that uses frames to display the header, menu, and sidebar. These frames are what I'm trying to output via UBB, but keep the html separate so users can edit them w/o the CP:
http://www.skusaonline.com/test/ Any suggestions greatly appreciated!
Regards,
Greg Stasko
SKUSA Online!