techgamer1984 Posted September 26, 2010 Share Posted September 26, 2010 I am redesigning my web site with php coding. I know you can use {php}{/php} inside the .tpl files but I am having a little trouble get it reintegrated with my website. Let me tell you how I have my site setup first Index.php (Main page of site) lol folders config, inc , theme inside config is simple reads my theme information $theme = "./theme/lightblue"; I want to have it setup so I can change colors on my site in just a click (which I have done. Now inside theme folder I have folders lightblue, red, and so on, I have my image set up as such <?php include "config/config.php"; ?> <img src="<?php echo "$theme/images/spacer.gif"?> for some reason I can not include the config file in the .tpl file to reproduce the given effect to change the color I need. I hope I explained that while enough for everyone. Thank you in advanced for your help. 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.