Last active
December 15, 2015 20:19
-
-
Save janpapenbrock/5317652 to your computer and use it in GitHub Desktop.
Magento XML: ifconfig example from ajaxsearch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<reference name="left"> | |
<block type="core/template" name="left.search" as="leftSearch" before="-"> | |
<action method="setTemplate" ifconfig="ajax_search/general/enabled"><template>ajaxsearch/leftsearch.phtml</template></action> | |
</block> | |
</reference> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<-cms_index_index->
<-reference name="content"->
<-block type="feedback/index" name="feedback_index" template="feedback/index.phtml" ifconfig="feedback/settings/status"/->
</-reference->
</-cms_index_index->
The above is not working as expected. Any idea why?