Posts: 1,928
Threads: 88
Joined: Apr 2010
Can anyone make it so that this plugin does not interfere with the short news of the News Manager plugin in the sidebar?
http://get-simple.info/extend/plugin/calendar/300/
There are plugins that use $content variable and they constantly conflict with each other.
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2024-05-23, 23:54:25)Oleg06 Wrote: Can anyone make it so that this plugin does not interfere with the short news of the News Manager plugin in the sidebar?
http://get-simple.info/extend/plugin/calendar/300/
There are plugins that use $content variable and they constantly conflict with each other.
Found a solution.
Code:
<?php
global $filters;
foreach ($filters as $i => $row)
if ($row['function'] == 'c_client_calendar')
unset($filters[$i]);
?>
Posts: 1
Threads: 0
Joined: Sep 2024
(2024-05-24, 18:44:07)Oleg06 Wrote: (2024-05-23, 23:54:25)Oleg06 Wrote: Can anyone make it so that this plugin does not interfere with the short news of the News Manager plugin in the sidebar?
http://get-simple.info/extend/plugin/calendar/300/
There are plugins that use $content variable and they constantly conflict with each other.
Found a solution.
Code:
<?php
global $filters;
foreach ($filters as $i => $row)
if ($row['function'] == 'c_client_calendar')
unset($filters[$i]);
?>
It's worked Oleg06. Thanks for sharing.