My setup
I have two modules installed:
- one takes an
idand builds a product collection from this using theid to lookup anattribute-valuepair (mod1)- The other offers a way of narrowing a search down (
mod2)The true url I am on is
/mod1/page/view/id/<id#>
Desired outcome
To be able to pass the attribute-value as a hidden field to the second module
Question
How do I access the object and functions from
mod1when I’m in the layout file formod2?
If more information is required, please let me know.
The way the module needed to be loaded was as follows:
Where in the controller this had been set:
Then I could use the defined methods normally.
This may be an overly specific issue, should I just delete the question?