I have coded the controller in /catalog/common/store with the class ControllerCommonStore
the model for this was done
and I wrote the view as pickstore.tpl in the theme/default/common/pickstore.tpl
I can get the view when I set the option $this->response->setOutput(....... in the controller and browse for the url
but I have to input the view similar to the currency drop down menu in the header file.
I also edited the header.tpl and also controller header.php
I cant add the required view in the header
Basically it has list the stores from where the products can be brought (eg:for a cloth company; it should list from the database <li>Raymond</li> <li>Arrow</li>