I have defined a Custom Block in my module and I want display different views in that block when user selects different sections using navigation menu. With the use of hook_block_view() i can set the content that needs to be rendered for that particular block. But how can I render different views based on the user's selection?
For a example;
I have a Block called Customers;
When user selects the Customer List form navigation menu, I want to show a customer list inside Customers Block.
When user selects a Specific Customer, I want to show the detail of that customer inside Customers Block.
What would be the best approach to achieve this in Drupal 7?