renthemighty Posted November 2, 2016 Share Posted November 2, 2016 i saw in a few threads you guys using hooks to implement sidebar add-ons, but i wanted to add an image without the grey around it .. just an image .. i added it to the sidebar.tpl and it prints it twice .. probably because an an unescaped foreach tag .. help? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 3, 2016 Share Posted November 3, 2016 there are two sidebars - primary and secondary - if you're wanting to do this in the sidebar.tpl template but only want it shown once, you need to specify the sidebar type to use the image. e.g if you want to only show the image with the primary sidebar... {if $sidebar eq $primarySidebar} your image code {/if} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.