cybersnac

Anonymous
Currently, I don't see any way to change the displayed blocks in a topic like you can on a static page, right blocks, left blocks, no blocks.

Is there a way to do this or a hack for this? I need to have topics that have these options if possible.

Thanks again for any help you can provide.

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
You can do it for all articles by editing article.php and changing the arguments for COM_siteHeader() and COM_siteFooter()

Average page:
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;
* ? >
 

cybersnac

Anonymous
Thanks Turias, that is good info. I'm not looking for a global change however, I'd like to be able to specify which blocks are displayed on the individual topics.

Any idea how that is done?

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
If you edit a block, you have a topic selector. Here you can select if the block is shown
- in all topics
- only on the main index page
- only in one specific topic

this is not possible for some "core" blocks wich are called "gldefault" (I don't know why)

geKow

cybersnac

Anonymous
This is correct, but I"m wondering if there is a way to set the block settings on individual "Topics" not blocks. I've buried the blocks that I could using the option you discussed already and some of the default ones remain so I think I need to be able to set the block display settings for the topic.