cyberespia Posted June 21, 2012 Share Posted June 21, 2012 I want have for each module a header logo, {if $module name == 'abc'} <img src="header1.jpg"> {elseif $smodule name == 'def'} <img src="header2.jpg"> . . . {/if} There is a code smarty for the module name or how I can get??? Link to comment Share on other sites More sharing options...
orwell Posted June 24, 2012 Share Posted June 24, 2012 If I understand, you want to add an image o top of some of your modules ? If so, you should try editing your module tpl file. If you want to do this the "clean" and correct way, you should override the default TPL instead of editing it directly. To do so, copy the module's tpl file to the corresponding folder in your theme folder. theme/yourTheme/modules/theModule/theModule.tpl Then, edit this tpl file to add your images. Hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now