qaiserrs Posted May 20, 2011 Share Posted May 20, 2011 (edited) Dears I am trying to explore STS template system. i direly feel that i need help from someone who has already been through it. What i need to do is simple. I just want to show a banner/box in the right column which is added from the OSC admin. I have done the following steps: 1: added a banner from admin banner manager. 2: created a file in the includes/boxes directory under name customBanner.php 3: added this line in column_right.php include(DIR_WS_BOXES . 'customBanner.php'); 4: And finally added the following code to customBanner.php <?php if ($banner = tep_banner_exists('dynamic', '170x158')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> This code is basically used for OSC without STS template. Now i need to know how STS template giving output in php.html files e.g.<td>$specialbox</td>. I mean how this variable is getting value from the sts. and how can i show advertisement box in the right column. Your in time help will be great for me. Regards Qaiser Edited May 20, 2011 by qaiserrs 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.