Welcome to Geeklog, Anonymous Tuesday, July 15 2025 @ 11:41 am EDT
Geeklog Forums
Right Blocks
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!
16
11
Quote
All times are EDT. The time is now 11:41 am.
- 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