CristianDeluxe Posted October 18, 2010 Share Posted October 18, 2010 How I can check into a template if I'm in the home section?For example: {if ($current_module == 'home'} // Super splash image here {else} // No image {/if} Thanks Link to comment Share on other sites More sharing options...
rocky Posted October 18, 2010 Share Posted October 18, 2010 {if $page_name == 'index'} // Super splash image here {else} // No image {/if} Link to comment Share on other sites More sharing options...
CristianDeluxe Posted October 18, 2010 Author Share Posted October 18, 2010 Thank you very much, is just what I was looking for!Is there no documentation for these things? because I could not find it Link to comment Share on other sites More sharing options...
rocky Posted October 18, 2010 Share Posted October 18, 2010 No, there is no documentation at the moment. You must look at init.php to see the variables that are available. Link to comment Share on other sites More sharing options...
CristianDeluxe Posted October 19, 2010 Author Share Posted October 19, 2010 Thank you very much for your help Link to comment Share on other sites More sharing options...
rocky Posted October 20, 2010 Share Posted October 20, 2010 Please edit your first post and add [sOLVED] to the front of the title. 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