is this possible? I need to dynamically assign a variable used in a templates Model class. This variable will be generated via a CMS page. Below is the template and block in question. How can I pass a dynamically assigned variable to it's model?
<reference name="content">
<block type="catalog/layer_view" name="catalog.leftnav" before="-" template="catalog/layer/view.phtml" ></block>
</reference>
If possible i'd like to assign a variable to this via the block and pass it to the model using session variables (if I cant access this variable from the block outright).
This is the location of the block i'd like to access this variable:
code/core/Mage/Catalog/Block/Layer/View.php
Of course, I will extend this later as it is core atm.