Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change $Content


kristoffernolgren

Recommended Posts

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?

Link to comment
Share on other sites

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.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...