Jump to content

[Solved] Advanced smarty: How to call or remove left or right block loops @ the page tpl level with an example.


Recommended Posts


   {if !$content_only}

{if $page_name != 'index'}



<!-- Right -->

               {$HOOK_RIGHT_COLUMN}


{/if}



I found this smarty level code in the footer.tpl of a theme. What this little snippet does is remove the right side blocks only on the home page. The categorizes and single product page display both the right and left columns. Pretty cool huh?

What I need is the rest of the picture! How do I add or remove the right or left blocks loop on a single product page or a categorizes page? I have searched but have not been able to find any posts on advance smarty block placement or loops on a full page level like the right & left columns.

Can anyone point me in the right direction? Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...