{"id":278,"date":"2016-04-27T13:47:52","date_gmt":"2016-04-27T11:47:52","guid":{"rendered":"http:\/\/blog.momo-webdevelopment.de\/?p=278"},"modified":"2016-06-26T13:52:13","modified_gmt":"2016-06-26T11:52:13","slug":"choose-controller-action-with-flexform-switchablecontrolleractions","status":"publish","type":"post","link":"https:\/\/blog.momo-webdevelopment.de\/?p=278","title":{"rendered":"choose controller action with flexform (switchableControllerActions)"},"content":{"rendered":"<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;T3DataStructure&gt;\r\n&lt;sheets&gt;\r\n&lt;general&gt;\r\n&lt;ROOT&gt;\r\n&lt;TCEforms&gt;\r\n&lt;sheetTitle&gt;XXX&lt;\/sheetTitle&gt;\r\n&lt;\/TCEforms&gt;\r\n&lt;type&gt;array&lt;\/type&gt;\r\n&lt;el&gt;\r\n&lt;switchableControllerActions&gt;\r\n&lt;TCEforms&gt;\r\n&lt;label&gt;Views&lt;\/label&gt;\r\n&lt;onChange&gt;reload&lt;\/onChange&gt;\r\n&lt;config&gt;\r\n&lt;type&gt;select&lt;\/type&gt;\r\n&lt;items type=&quot;array&quot;&gt;\r\n&lt;numIndex index=&quot;1&quot; type=&quot;array&quot;&gt;\r\n&lt;numIndex index=&quot;0&quot;&gt;First view&lt;\/numIndex&gt;\r\n&lt;numIndex index=&quot;1&quot;&gt;Controller-&gt;action;Controller-&gt;actionFromExtLocalconf1;Controller-&gt;actionFromExtLocalconf2; &lt;\/numIndex&gt;\r\n&lt;\/numIndex&gt;\r\n&lt;numIndex index=&quot;2&quot; type=&quot;array&quot;&gt;\r\n&lt;numIndex index=&quot;0&quot;&gt;Second view&lt;\/numIndex&gt;\r\n&lt;numIndex index=&quot;1&quot;&gt;Controller-&gt;action1&lt;\/numIndex&gt;\r\n&lt;\/numIndex&gt;\r\n&lt;\/items&gt;\r\n&lt;\/config&gt;\r\n&lt;\/TCEforms&gt;\r\n&lt;\/switchableControllerActions&gt;\r\n&lt;\/el&gt;\r\n&lt;\/ROOT&gt;\r\n&lt;\/general&gt;\r\n&lt;\/sheets&gt;\r\n&lt;\/T3DataStructure&gt;\r\n\r\n<\/pre>\n<p>configuration from ext_localconf.php will be overwritten! If you need it, put it like line20 after &#8220;;&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>configuration from ext_localconf.php will be overwritten! If you need it, put it like line20 after &#8220;;&#8221;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-extensions","category-typo3"],"_links":{"self":[{"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278"}],"version-history":[{"count":5,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.momo-webdevelopment.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}