Update helper.php

Adding support for alternative layout
Merge pull request #22 from ivanramosnet/patch-2

Update helper.php