GetSimple Support Forum
Constant conflicts - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Constant conflicts (/showthread.php?tid=17294)



Constant conflicts - Oleg06 - 2024-05-23

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.


RE: Constant conflicts - Oleg06 - 2024-05-24

(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]);
?>



RE: Constant conflicts - audiprinter - 2024-09-16

(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.