kristoffernolgren Posted December 15, 2007 Posted December 15, 2007 quote from the sts-documentation: 4.3 Placeholder for main content The main content of the page (middle of the page) is put in the $content tag, created in the file: “catalog/includes/modules/sts_inc/column_right.php”. You can also use templates for the content part only. See example in chapter 3.9.2. The file “catalog/includes/modules/sts_inc/column_right.php”. does not exist not in osCommerce base system, nor in the sts module installation. I've looked around for the file, and found an other column_right-file, but it does not seem to contain the content i'm after (looking to remove some tables and stuff) though my php is not greate. Terrible actually, where should I go to change the $content-module? Quote
bkellum Posted December 16, 2007 Posted December 16, 2007 quote from the sts-documentation: 4.3 Placeholder for main content The main content of the page (middle of the page) is put in the $content tag, created in the file: “catalog/includes/modules/sts_inc/column_right.php”. You can also use templates for the content part only. See example in chapter 3.9.2. The file “catalog/includes/modules/sts_inc/column_right.php”. does not exist not in osCommerce base system, nor in the sts module installation. I've looked around for the file, and found an other column_right-file, but it does not seem to contain the content i'm after (looking to remove some tables and stuff) though my php is not greate. Terrible actually, where should I go to change the $content-module? That is a typo in the STS User Manual. It should read: The main content of the page (middle of the page) is put in the $content tag. The content is taken from the PHP script you are running. For example, the $content for index.php is the piece of code you find in index.php, between the call of column_left and the call of column_right. If you want to modify it, you have to modify the script itself. You can also use templates for the content part only. PLEASE post all questions related to STS in the proper forum thread so that ALL can benefit. The link is in my signature below (STSv4 Forum) as well as listed in the STS User Manual. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
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.
Note: Your post will require moderator approval before it will be visible.