{"action":"created","issue":{"url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/3","labels_url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/3/comments","events_url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/3/events","html_url":"https://github.com/stevewithington/MuraPlugin/issues/3","id":103507552,"number":3,"title":"Instantiation of /extensions/contentrenderer.cfc with MuraScope","user":{"login":"Jimcumming","id":6583251,"avatar_url":"https://avatars.githubusercontent.com/u/6583251?v=3","gravatar_id":"","url":"https://api.github.com/users/Jimcumming","html_url":"https://github.com/Jimcumming","followers_url":"https://api.github.com/users/Jimcumming/followers","following_url":"https://api.github.com/users/Jimcumming/following{/other_user}","gists_url":"https://api.github.com/users/Jimcumming/gists{/gist_id}","starred_url":"https://api.github.com/users/Jimcumming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jimcumming/subscriptions","organizations_url":"https://api.github.com/users/Jimcumming/orgs","repos_url":"https://api.github.com/users/Jimcumming/repos","events_url":"https://api.github.com/users/Jimcumming/events{/privacy}","received_events_url":"https://api.github.com/users/Jimcumming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T13:20:21Z","updated_at":"2015-08-27T15:05:28Z","closed_at":null,"body":"Hi Steve,\r\n\r\nI've come across an issue whilst using your plugin example. When you are using the CFC based display method the MuraScope doesn't get passed to the content renderer. In fact you end up with the PluginConfig set as $ instead. \r\n\r\nThis is happening because MuraCMS/requirements/mura/plugin/pluginManager.cfc doesn't pass $ to the contentrenderer on init. See https://github.com/blueriver/MuraCMS/blob/develop/requirements/mura/plugin/pluginManager.cfc#L2322\r\n\r\nI'm not sure if this is an issue with Mura or with the Plugin. I was hoping you could shed some light. \r\n\r\nThanks\r\n\r\nJim\r\n"},"comment":{"url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/comments/135462618","html_url":"https://github.com/stevewithington/MuraPlugin/issues/3#issuecomment-135462618","issue_url":"https://api.github.com/repos/stevewithington/MuraPlugin/issues/3","id":135462618,"user":{"login":"stevewithington","id":251648,"avatar_url":"https://avatars.githubusercontent.com/u/251648?v=3","gravatar_id":"","url":"https://api.github.com/users/stevewithington","html_url":"https://github.com/stevewithington","followers_url":"https://api.github.com/users/stevewithington/followers","following_url":"https://api.github.com/users/stevewithington/following{/other_user}","gists_url":"https://api.github.com/users/stevewithington/gists{/gist_id}","starred_url":"https://api.github.com/users/stevewithington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevewithington/subscriptions","organizations_url":"https://api.github.com/users/stevewithington/orgs","repos_url":"https://api.github.com/users/stevewithington/repos","events_url":"https://api.github.com/users/stevewithington/events{/privacy}","received_events_url":"https://api.github.com/users/stevewithington/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T15:05:28Z","updated_at":"2015-08-27T15:05:28Z","body":"@Jimcumming,\r\n\r\nDo you have an error message or anything that you can point me to that you're actually running into? I'm asking because my plugin's contentRenderer.cfc is initialised during the `onSiteRequestStart()` method of my eventHandler.cfc, and I'm passing in the mura scope there. Then, any methods of the plugin's contentRenderer are available as `$.muraPlugin.{yourMethodName()}`.\r\n\r\nIn other words, I'm not actually stuffing the plugins' contentRenderer methods into Mura's contentRenderer. I hope that makes sense."}}