aoepeople / aoe_layoutconditions Goto Github PK
View Code? Open in Web Editor NEWifconfig for blocks and references
Home Page: http://www.fabrizio-branca.de/magento-layout-xml-conditions.html
ifconfig for blocks and references
Home Page: http://www.fabrizio-branca.de/magento-layout-xml-conditions.html
Fatal error: Uncaught Error: Call to a member function setLayer() on boolean in /var/www/html/app/code/core/Mage/Catalog/Block/Layer/View.php:143 Stack trace: #0 /var/www/html/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Catalog_Block_Layer_View->_prepareLayout() #1 /var/www/html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Aoe_LayoutConditions_Model_Layout)) #2 /var/www/html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('catalog/layer_v...', 'catalog.leftnav') #3 /var/www/html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('catalog/layer_v...', 'catalog.leftnav') #4 /var/www/html/app/code/local/Aoe/LayoutConditions/Model/Layout.php(76): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element)) #5 /var/www/html/app/code/core/Mage/Core/Model/Layout.php(205): Aoe_LayoutConditions_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Elem in /var/www/html/app/code/core/Mage/Catalog/Block/Layer/View.php on line 143
Something like this would also be cool:
<CHECKOUT_PROGRESSBAR ifconfig="featureflag/v2">
<reference name="content">
<block type="aoe_statefulcheckout/parts_progress" name="aoe_statefulcheckout_progress"
template="aoe_statefulcheckout/parts/progress_v2.phtml"/>
</reference>
</CHECKOUT_PROGRESSBAR_1>
<CHECKOUT_PROGRESSBAR ifconfig="featureflag/v1" >
<reference name="content">
<block type="aoe_statefulcheckout/parts_progress" name="aoe_statefulcheckout_progress"
template="aoe_statefulcheckout/parts/progress.phtml"/>
</reference>
</CHECKOUT_PROGRESSBAR>
Usage
<aoe_statefulcheckout_emptycart>
<update handle="CHECKOUT_PROGRESSBAR" />
is used
Could I please request a new tag to include the composer.json file, as this seems to be missing from the current tagged versions (0.1.0, 0.2.0)? This will then allow us to pull in a specific version using composer.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.