I have create one module for displaying latest product review, module works perfectly and reviews are display on frontend side.
But what I have requirement is admin can select where to display this block on frontend side, either on right sidebar or left sidebar or in main content area.
I have provided dropdown selection for admin to select one layout for display, but on frontend how we can determine which layout to use for display of block, can we put condition in layout xml? Or there is another method to detect?
We can give ifconfig
in action tag but its not suitable for my requirement.
What I have do right now is display block in left bar, and block is display in left side bar.
<reference name="left">
<my block />
</reference>