I'm new to magento. I don`t have permission to modify the controller file. So I'm creating new module with block to make my requirement works. Now everything works fine.
But, now based on the condition, i need to load the different layout. (one with left sidebar and another without left sidebar). I have to load the layout xml file through block code.
I don't know how to do with block. Can anyone help me?