sharing params between module instances
Posted: Thu Jul 23, 2009 11:20 am
CMS Made Simple 1.5.4 "Carolina"
I am developing a module for CMSMS I have multiple parts to my module, I have a search form and a results page all from one module.
When I use my search form the module stores the params in an array so the other instances of the module on the page can recall the search term.
My search field is positioned on the right hand side so is called after the results, the param for the search term is only passed to the search box the results do not see the param.
I figure there are several things that could work like using CSS to put the search form first, creating the form from a UDT.
I dont really want to do either of these as they are not elegant solutions, can anyone help?
I am developing a module for CMSMS I have multiple parts to my module, I have a search form and a results page all from one module.
When I use my search form the module stores the params in an array so the other instances of the module on the page can recall the search term.
My search field is positioned on the right hand side so is called after the results, the param for the search term is only passed to the search box the results do not see the param.
I figure there are several things that could work like using CSS to put the search form first, creating the form from a UDT.
I dont really want to do either of these as they are not elegant solutions, can anyone help?