SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started by: ehsizzup on September 02, 2010, 05:31:02 PM
-
Is there a block that only shows at specific times of day?
-
bump
-
There is no such block, however you could alter the block show system so that certain blocks are shown only at certain times of the day.
The place I would add such code is in the Sources/Subs-Portal.php file, in the 'getBlockInfo' function, before the code below:
if (!empty($show) && !getShowInfo($row['id_block'], $row['display'], $row['display_custom']))
continue;
If you need help with the actual code which needs to be added, then feel free to ask.
-
im afraid that's as beyond my abilities.
can you help?
-
I am also interested in this. Can you provide us with code please?
-
Any update on this? Hoping to use this feature for my site. All help is appreciated.
-
No progress from me, but still interested.