Posted on: 02/23/04 09:48am
By: Anonymous (cybersnac)
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.
Topic block settings
Posted on: 02/23/04 10:18am
By: Turias
You can do it for all articles by editing article.php and changing the arguments for COM_siteHeader() and COM_siteFooter()
Average page:
* <?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;
* ? >
Topic block settings
Posted on: 02/23/04 10:29am
By: Anonymous (cybersnac)
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?
Topic block settings
Posted on: 02/23/04 12:10pm
By: geKow
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
Topic block settings
Posted on: 02/23/04 01:13pm
By: Anonymous (cybersnac)
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.