Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS how to change index content?


josemv

Recommended Posts

Hi,

 

maybe I'm a little stupid, but can't find the way to change the contents on index page using STS. Need to add a main offer on the home page a single product.

 

I was looking for answers trough the forums and in the code but no look. This a store previously created for somebody and its my first try with STS.

 

The point when can't continue is on catalog/includes/column_right.php can't figure what kind of content it's been captured there:

 

<?php
/*
 $Id: column_right.php,v 1.1 2003/09/08 19:26:22 jhtalk Exp jhtalk $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
 // STS: ADD
 $sts_block_name = 'columnleft2columnright';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

 require(DIR_WS_BOXES . 'reviews.php');


 // STS: ADD
 $sts_block_name = 'reviewsbox';
 require(STS_RESTART_CAPTURE);

?>

 

That page is included on includes/sts_display_output.php around around line 238

 

$template['content'] = strip_content_tags($sts_block['columnleft2columnright'], 'content');

 

defined on column_right.php

 

./includes/column_right.php:  $sts_block_name = 'columnleft2columnright';

 

 

Thansk,

Jose

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...