Simple Single Page

Permalink 1 user found helpful
I have a need for a very basic black-and-white text page to be hosted on my site. I just want to launch a kind of pop-up using the shadowbox script with just some basic text. I tried using the single page framework in C5, but that includes the theme too. I just want a plane black text on white html page. How do I do this with C5? Thanks.

bballhermit
 
andrew replied on at Permalink Best Answer Reply
andrew
I'd create a new template in your theme that's called "chromeless_page.php" or something, and make sure it's added as a page type in your site.

Then, make the entire content of that page just something like

<?
$this->inc('elements/header_chromeless.php'); ?>
<?
$a = new Area('Main');
$a->display($c);
?>
<? $this->inc('elements/footer_chromeless.php'); ?>


Then, go into elements/ and duplicate header.php and footer.php as header_chromeless.php and footer_chromeless.php, and open those files. Strip out everything but the most basic HTML like the body, head and title tags. Then, your page will essentially be just white, but it'll still be editable through the CMS.
bballhermit replied on at Permalink Reply
bballhermit
Thanks, that works, now Shadowbox is being goofy. If you have any experience with shadowbox, could you take a look at my black text on white page that opens in shadowbox? It overlays very dark. I have found the overlayOpacity feature that adjusts the overlay on the borders, but I can't find how to adjust the opacity of the viewport anywhere. To see what I mean, click "All Rights Reserved" at the bottom of my page here. www.www.cbearsizzleproductions.com... Thanks.
bballhermit replied on at Permalink Reply
bballhermit
nevermind this question. I just had to actually declare the body bgcolor.