adanob Posted December 14, 2015 Posted December 14, 2015 I am trying to find the best way to move the boxes on the index.php page without changing the box position on all the other pages. Currently I am using v2.4 with boxes positioned to the right. The file that I am coding is template_bottom.php So far I have tried editing the css but that moves the boxes on every page.
♥John W Posted December 14, 2015 Posted December 14, 2015 Use a conditional statement with basename like if (basename($PHP_SELF) == 'index.php') { // do it this way } else { // do it that way } I'm not really a dog.
adanob Posted December 14, 2015 Author Posted December 14, 2015 Thanks. What a great idea! I ended up doing this: <?php } require(DIR_WS_INCLUDES . 'template_bottom_index.php'); //this file has different style parameters than 'template_bottom.php which is on all the other pages. I will change my code to your suggestion (www.fossilbeach.com)
♥John W Posted December 14, 2015 Posted December 14, 2015 Glad I could hlep. :) I'm not really a dog.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.