Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:41 pm EST
Geeklog Forums
Right Blocks
sinbad
Anonymous
I'm trying to have the right blocks display on some pages by following the examples in lib-common.php but not having any luck. Creating a test page with this in it...
<?php
require_once('lib-common.php');
$display .= COM_siteHeader(); //Change to COM_siteHeader('none') to not display left blocks
$display .= "Here is your html for display";
$display .= COM_siteFooter(true); // Change to COM_siteFooter() to not display right blocks
echo $display;
?>
... displays the page, but with no right blocks. Toggling COM_siteFooter(true) / COM_siteFooter() in index.php does show/not show the right blocks on the home page so I assume there something more needed in the example code to make it work. Any suggestions? thx!
Text Formatted Code
<?php
require_once('lib-common.php');
$display .= COM_siteHeader(); //Change to COM_siteHeader('none') to not display left blocks
$display .= "Here is your html for display";
$display .= COM_siteFooter(true); // Change to COM_siteFooter() to not display right blocks
echo $display;
?>
... displays the page, but with no right blocks. Toggling COM_siteFooter(true) / COM_siteFooter() in index.php does show/not show the right blocks on the home page so I assume there something more needed in the example code to make it work. Any suggestions? thx!
11
7
Quote
All times are EST. The time is now 03:41 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content