Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 01:01 pm EST
Geeklog Forums
Topic block settings
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.
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.
6
9
Quote
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:
* 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;
* ? >
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;
* ? >
10
5
Quote
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?
Any idea how that is done?
8
9
Quote
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
- 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
8
23
Quote
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.
7
7
Quote
All times are EST. The time is now 01:01 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