<![CDATA[ Context based plugins - MODX Community Forums]]> https://forums.modx.com/thread/?thread=24504 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-394979 Vitalized Sep 28, 2011, 02:40 AM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-394979 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-125000 TheBoxer Apr 23, 2011, 11:39 AM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-125000 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124999 Quote from: DangerMouse1981 at Apr 19, 2011, 08:06 PM

This is a really great point however - the vast majority of components / extras are not context aware. Is there a reason for this? Is it particularly difficult to build in?

DM

In the front end, it’s often automatic. In the Manager, you’re always in the ’mgr’ context. If there’s a resource involved, you can easily check the context of the resource and act accordingly.
]]>
BobRay Apr 19, 2011, 04:23 PM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124999
<![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124998
DM]]>
DangerMouse1981 Apr 19, 2011, 03:06 PM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124998
<![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124997 ]]> BobRay Apr 19, 2011, 02:04 PM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124997 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124996 TheBoxer Apr 19, 2011, 09:49 AM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124996 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124995 BobRay Apr 19, 2011, 09:23 AM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124995 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124994 TheBoxer Apr 19, 2011, 08:28 AM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124994 <![CDATA[Re: Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124993
$contextName = $modx->context->get('key');

]]>
BobRay Apr 18, 2011, 04:56 PM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124993
<![CDATA[Context based plugins]]> https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124992
Think, that this would help everyone who is managing multi-site based on contexts...

-- sorry I posted it to bad forum and I can’t delete it :-/]]>
TheBoxer Apr 18, 2011, 04:15 PM https://forums.modx.com/thread/24504/context-based-plugins#dis-post-124992