I am new to Magento, I have searched everywhere but i didnt get any sufficient criteria for this task. I got project in Magento in which there is a custom module enables us to add experts of the site. but when I try to add a new expert I dont see store view option there. How can I display that option while adding an expert.
My requirement is to show content based on current store view but the field to select store view on add/edit page is missing while other custom modules have this option enabled. as the project is live I don't want to try some random code that may effect any other section.
Try like below.
Mage::getModel('catalog/product')->getCollection()
->setStoreId($myStoreId);
Where Mage::app()->getStore->getStoreId();
will be your store id.