{"action":"created","issue":{"url":"https://api.github.com/repos/bezumkin/pdoTools/issues/140","labels_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/140/comments","events_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/140/events","html_url":"https://github.com/bezumkin/pdoTools/issues/140","id":104079473,"number":140,"title":"How to use Fenom on Resource or Template","user":{"login":"adamwintle","id":167075,"avatar_url":"https://avatars.githubusercontent.com/u/167075?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwintle","html_url":"https://github.com/adamwintle","followers_url":"https://api.github.com/users/adamwintle/followers","following_url":"https://api.github.com/users/adamwintle/following{/other_user}","gists_url":"https://api.github.com/users/adamwintle/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwintle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwintle/subscriptions","organizations_url":"https://api.github.com/users/adamwintle/orgs","repos_url":"https://api.github.com/users/adamwintle/repos","events_url":"https://api.github.com/users/adamwintle/events{/privacy}","received_events_url":"https://api.github.com/users/adamwintle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bezumkin/pdoTools/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-31T15:49:27Z","updated_at":"2015-09-09T08:28:38Z","closed_at":null,"body":"I've tried the Fenom code on a chunk and this works; however, on a Template or a Resource, nothing is parsed. \r\n\r\nIn the System Settings I have `pdotools_fenom_parser` = `yes`\r\n\r\nThis is the code I place into my Template:\r\n\r\n```\r\n$modx->runSnippet('pdoPage',array(\r\n    'element' => 'getResources',\r\n    'parents' => 0,\r\n    'tpl' => 'article.panel.fenom',\r\n    'pageLimit' => '3',\r\n    'includeTVs' => 'first-image,portals',\r\n));\r\n```"},"comment":{"url":"https://api.github.com/repos/bezumkin/pdoTools/issues/comments/138823217","html_url":"https://github.com/bezumkin/pdoTools/issues/140#issuecomment-138823217","issue_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/140","id":138823217,"user":{"login":"adamwintle","id":167075,"avatar_url":"https://avatars.githubusercontent.com/u/167075?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwintle","html_url":"https://github.com/adamwintle","followers_url":"https://api.github.com/users/adamwintle/followers","following_url":"https://api.github.com/users/adamwintle/following{/other_user}","gists_url":"https://api.github.com/users/adamwintle/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwintle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwintle/subscriptions","organizations_url":"https://api.github.com/users/adamwintle/orgs","repos_url":"https://api.github.com/users/adamwintle/repos","events_url":"https://api.github.com/users/adamwintle/events{/privacy}","received_events_url":"https://api.github.com/users/adamwintle/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T08:28:38Z","updated_at":"2015-09-09T08:28:38Z","body":"I still couldn't get the Fenom code to work on any MODX template - so I will come back to this later. \r\n\r\nDo you have demo code on any site? "}}