Jump to content
rigadin2

[Contribution] STS v4

Recommended Posts

hiay, i just did a fresh install of the mod, the lastest version but i am still seeing the $ tags and the cart itself does not show up, like the products,

 

no content

Edited by tec

Share this post


Link to post
Share on other sites
hiay, i just did a fresh install of the mod, the lastest version but i am still seeing the $ tags and the cart itself does not show up, like the products,

 

no content

Take a look at the "blank template" that was provided in the release. Notice what is required in your template. You are not inserting the required code at the top of your HTML.

 

Let us know if you are still having issues,

 

Bill Kellum


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

this code is in both files, the blank and the other

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html $htmlparams>

<head>

<meta http-equiv="Content-Language" content="en-us">

<!--$headcontent-->

 

now, am i supposed to put my template into the blank one?

Share this post


Link to post
Share on other sites

Hi! I am now having an error on the front page:

 

Fatal error: Cannot redeclare tep_get_category_tree() (previously declared in /home/testsite/shop/includes/modules/sts_inc/sts_user_code.php:33) in /home/testsite/shop/includes/modules/sts_inc/sts_user_code.php on line 33

 

Can you please help me with that? Thanks.

Share this post


Link to post
Share on other sites
I love this contribution, it makes designing so much easier, however, I am having a bit of an issue with the product template portion. I'm not even sure I need it, that's how confused I am.

 

What I am working on is located here Example

 

the area that contains the large box in the middle with the cd, is where I would like the products to be located, we only have 6 and I want them to be 3 to row in that center area with their pictures and such, but I'm unsure how to accomplish that with this system. I have a product template created but I don't know how to get my template page to read it instead of the new products for whatever month....

 

I hope this made sense....any help would be greatly appreciated...

 

 

just bumping this up ...thank you

Share this post


Link to post
Share on other sites
this code is in both files, the blank and the other

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html $htmlparams>

<head>

<meta http-equiv="Content-Language" content="en-us">

<!--$headcontent-->

 

now, am i supposed to put my template into the blank one?

Put this code in your existing template to make it work:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<meta http-equiv="Content-Language" content="en-us">
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>

Hope this helps, Bill Kellum


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

Hi,

 

I got the osplayer contrib working in a clean no contrib oscommerce site but decided to try it also with another osc version which used the STS template system.

 

This time osplayer works fine in the Admin side but I cannot even get the player seen in the catalog side. The code is copied correctly to all the php files as I have triple checked it carefully however the instructs were not for STS.

 

I can only think it does not work because of something to do with the STS templates.

 

Is there anyone who has osplayer working with the STS template system?

 

Any help would be appreciated as it has burnt up 3 days so far of contact experimenting with code all to no avail.

 

Thanks in anticipation.

 

Oz

Share this post


Link to post
Share on other sites

Hey

 

I've made an install of STS v4.2... rulez !

 

So, my question :

I use the $content$ in my index.php.html file in my template folder, and I made some files in the /template/content folder.

All works fine for :

- login.php.html

- product_info.php.html

- shopping-cart.php.html

 

If I use the SAME procedure for the pages contact_us.php and conditions.php, the default pages (in catalog/) are display.

If I create (for test) a conditions.php.html in my template folder, this page is display and not the conditions.php page in catalog.

So I don't understand...

 

Can I use the $content$ variable in my template/index.php.html for display a custom content in content/contact_us.php.html ?

 

Thanks 4 your help !

Share this post


Link to post
Share on other sites
So, my question :

I use the $content$ in my index.php.html file in my template folder, and I made some files in the /template/content folder.

All works fine for :

- login.php.html

- product_info.php.html

- shopping-cart.php.html

 

If I use the SAME procedure for the pages contact_us.php and conditions.php, the default pages (in catalog/) are display.

If I create (for test) a conditions.php.html in my template folder, this page is display and not the conditions.php page in catalog.

So I don't understand...

 

Can I use the $content$ variable in my template/index.php.html for display a custom content in content/contact_us.php.html ?

 

Thanks 4 your help !

I'm not exactly certain what your question is, but I thought I'd pop in here and mention a couple of things that may get you going in the right direction to fix this.

 

The value of $content comes from /catalog/includes/languages/<language>/<pagename>.php in whatever is defined for TEXT_INFORMATION.

 

Here are my notes about how to create a NEW page, but it will help with editing existing pages as well:

  1. Copy an existing page from catalog/ such as ?about.php? to <newpage>.php
  2. Copy an existing page from catalog/includes/languages/english such as ?about.php? to <newpage>.php
  3. (optional) Create a custom STS layout by copying /catalog/includes/sts_templates/<templatename>/ such as about.php.htm to <newpage>.php.htm
  4. Modify /catalog/filenames.php by adding <newpage> file definition
  5. Modify /catalog/includes/languages/English/<newpage>.php with new text
  6. Modify catalog/<newpage>.php to reference new definition from filenames.php

Obviously, steps 2 and 5 would be repeated for other languages.

 

Hope this helps!

Share this post


Link to post
Share on other sites
Hi,

 

I got the osplayer contrib working in a clean no contrib oscommerce site but decided to try it also with another osc version which used the STS template system.

 

This time osplayer works fine in the Admin side but I cannot even get the player seen in the catalog side. The code is copied correctly to all the php files as I have triple checked it carefully however the instructs were not for STS.

 

I can only think it does not work because of something to do with the STS templates.

 

Is there anyone who has osplayer working with the STS template system?

 

Any help would be appreciated as it has burnt up 3 days so far of contact experimenting with code all to no avail.

 

Thanks in anticipation.

 

Oz

 

Which version of osPlayer are you using and where did you get it? If I remember correctly the osPlayer contributions have been removed from the contribution section and the author website is down.

 

- Rigadin


STS v4.5 SP5 is out, and check the STS Power Pack contribution too!

New thumbnailer using phpThumb: oscThumb. Works great.

Share this post


Link to post
Share on other sites

HI,

 

It is 2.1 and I got it from the Contribs here at osc a few days ago.

 

It works fine in a clean install of osc and in the admin side of this STS version, howver it dpoes not even show in the catalog side.

 

It has to be the STS systme which I am at a loss about.

 

Can you help?

 

Thanks

 

Oz

Share this post


Link to post
Share on other sites
Put this code in your existing template to make it work:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<meta http-equiv="Content-Language" content="en-us">
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>

Hope this helps, Bill Kellum

 

 

sory for all of the code i am about to post folks..here is my test/sts_template.html

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html $htmlparams>

<head>

<!--$headcontent-->

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body>

<TABLE cellSpacing=0 cellPadding=1 width=793 align=center bgColor=#000000

border=0>

<TBODY>

<TR>

<TD>

<TABLE cellSpacing=0 cellPadding=1 width=792 bgColor=#ffffff border=0>

<TBODY>

<TR>

<TD>

<TABLE id=Table_01 height=606 cellSpacing=0 cellPadding=0 width=791

align=center border=0>

<TBODY>

<TR>

<TD colSpan=2 rowSpan=5><IMG height=243 alt=""

src="images/index_01.jpg" width=97></TD>

<TD colSpan=7><IMG height=164 alt=""

src="images/index_02.jpg" width=693></TD>

<TD><IMG height=164 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD colSpan=4><IMG height=1 alt=""

src="images/index_03.jpg" width=638></TD>

<TD colSpan=3 rowSpan=3><IMG height=24 alt=""

src="images/index_04.jpg" width=55></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD bgColor=#ffffff colSpan=4> <TABLE class=moduletable cellSpacing=0 cellPadding=0>

<TBODY>

<TR>

<TD> <script src="images/menu.js"

type=text/javaScript></SCRIPT> <STYLE type=text/css>.m0l0iout {

PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #9700aa; PADDING-TOP: 2px; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-ALIGN: left; TEXT-DECORATION: none

}

.m0l0iover {

PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #9700aa; PADDING-TOP: 2px; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-ALIGN: left; TEXT-DECORATION: none

}

.m0l0oout {

BORDER-RIGHT: #ffffff 1px; BORDER-TOP: #ffffff 1px; BORDER-LEFT: #ffffff 1px; BORDER-BOTTOM: #ffffff 1px; TEXT-DECORATION: none

}

.m0l0oover {

BORDER-RIGHT: #ffb325 1px solid; BORDER-TOP: #ffb325 1px solid; BORDER-LEFT: #ffb325 1px solid; BORDER-BOTTOM: #ffb325 1px solid; TEXT-DECORATION: none

}

.m0l1iout {

PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #ffffcc; PADDING-TOP: 2px; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-ALIGN: left; TEXT-DECORATION: none

}

.m0l1iover {

PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #9700aa; PADDING-TOP: 2px; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-ALIGN: left; TEXT-DECORATION: none

}

.m0l1oout {

BORDER-RIGHT: #d1ccdb 1px solid; BORDER-TOP: #d1ccdb 1px solid; FILTER: alpha(opacity=95); BORDER-LEFT: #d1ccdb 1px solid; BORDER-BOTTOM: #d1ccdb 1px solid; BACKGROUND-COLOR: #9700aa; TEXT-DECORATION: none

}

.m0l1oover {

BORDER-RIGHT: #ffb325 1px solid; BORDER-TOP: #ffb325 1px solid; BORDER-LEFT: #ffb325 1px solid; BORDER-BOTTOM: #ffb325 1px solid; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none

}

</STYLE> <script language=JavaScript>

<!--

var MENU_ITEMS = [

['Home','http://www.vervedevelopments.com/home/',{ 'tw' : '_self' , 'sb' : 'Home'}],

['Features','http://www.vervedevelopments.com/informational_pages/about_verve/features.html',{ 'tw' : '_self' , 'sb' : 'Features'},

['About Us','http://www.vervedevelopments.com/informational_pages/about_verve/about_us.html',{ 'tw' : '_self' , 'sb' : 'About Us'}],

['Articles','',{ 'tw' : '_blank' , 'sb' : 'Articles'},

['eCommerce','http://www.vervedevelopments.com/ramblings/ecommerce_articles/',{ 'tw' : '_self' , 'sb' : 'eCommerce'}],

['CMS','http://www.vervedevelopments.com/ramblings/content_management_systems/',{ 'tw' : '_self' , 'sb' : 'CMS'}],

['In My Opinion','http://www.vervedevelopments.com/ramblings/in_my_opinion/',{ 'tw' : '_self' , 'sb' : 'In My Opinion'}],

['Rules of Business','http://www.vervedevelopments.com/ramblings/business/',{ 'tw' : '_self' , 'sb' : 'Rules of Business'}],],

['the Secret','http://www.vervedevelopments.com/informational_pages/about_verve/the_secret.html',{ 'tw' : '_self' , 'sb' : 'the Secret'}],

['Search Site','http://www.vervedevelopments.com/component/option,com_search/Itemid,60/',{ 'tw' : '_self' , 'sb' : 'Search Site'}],

['Site Map','http://www.vervedevelopments.com/component/option,com_sefservicemap/Itemid,65/',{ 'tw' : '_self' , 'sb' : 'Site Map'}],],

['Services','http://www.vervedevelopments.com/services/core_services/',{ 'tw' : '_self' , 'sb' : 'Services'},

['Web Development','http://www.vervedevelopments.com/services/core_services/internet_development.html',{ 'tw' : '_self' , 'sb' : 'Web Development'}],

['Media Design','http://www.vervedevelopments.com/services/core_services/media_design.html',{ 'tw' : '_self' , 'sb' : 'Media Design'}],

['Joomla & OSC','http://www.vervedevelopments.com/services/core_services/joomla_and_oscommerce.html',{ 'tw' : '_self' , 'sb' : 'Joomla & OSC'}],

['Joomla','http://www.vervedevelopments.com/services/core_services/joomla.html',{ 'tw' : '_self' , 'sb' : 'Joomla'},

['Features','http://www.vervedevelopments.com/services/core_services/joomla_features.html',{ 'tw' : '_self' , 'sb' : 'Features'}],

['Joomla Addons','http://www.vervedevelopments.com/services/core_services/joomla_add_ons.html',{ 'tw' : '_self' , 'sb' : 'Joomla Addons'}],],

['OsCommerce','http://www.vervedevelopments.com/services/core_services/oscommerce.html',{ 'tw' : '_self' , 'sb' : 'OsCommerce'},

['OSC Features','http://www.vervedevelopments.com/services/core_services/oscommerce_features.html',{ 'tw' : '_self' , 'sb' : 'OSC Features'}],],],

['Portfolio','http://www.vervedevelopments.com/portfolio/portfolio_main/portfolio.html',{ 'tw' : '_self' , 'sb' : 'Portfolio'},

['Gallery','http://www.vervedevelopments.com/component/option,com_zoom/Itemid,35/',{ 'tw' : '_self' , 'sb' : 'Gallery'}],],

['News','',{ 'tw' : '_blank' , 'sb' : 'News'},

['Verve News','http://www.vervedevelopments.com/news/latest/',{ 'tw' : '_self' , 'sb' : 'Verve News'}],

['News Feeds','http://www.vervedevelopments.com/news_feeds/',{ 'tw' : '_self' , 'sb' : 'News Feeds'}],],

['Shop','http://www.vervedevelopments.com/external/shop.html',{ 'tw' : '_self' , 'sb' : 'Shop'}],

['Contact','http://www.vervedevelopments.com/contact_us/',{ 'tw' : '_self' , 'sb' : 'Contact'}],

];

-->

</SCRIPT> <script language=JavaScript>

<!--

var MENU_POS = [

{

 

'height': 15,

'width': 80,

 

'block_top': 0,

'block_left': 0,

 

'top': 0,

'left': 80,

 

'hide_delay': 50,

'expd_delay': 50,

'css' : {

'outer': ['m0l0oout', 'm0l0oover'],

'inner': ['m0l0iout', 'm0l0iover']

}

},

{

'height': 20,

'width': 120,

'block_top': 18,

'block_left':20,

'top': 20,

'left': 0,

'css': {

'outer' : ['m0l1oout', 'm0l1oover'],

'inner' : ['m0l1iout', 'm0l1iover']

}

},

{

 

'block_top': 5,

'block_left':98,

'css': {

'outer' : ['m0l1oout', 'm0l1oover'],

'inner' : ['m0l1iout', 'm0l1iover']

}

 

}

]

-->

</SCRIPT>

<DIV

style="LEFT: 0px; WIDTH: 560px; POSITION: relative; TOP: 0px; HEIGHT: 15px">

<script language=JavaScript>

<!--

new menu (MENU_ITEMS, MENU_POS);

-->

</SCRIPT>

</DIV></TD>

</TR>

</TBODY>

</TABLE></TD>

<TD><IMG height=22 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD colSpan=4 rowSpan=2><IMG height=56 alt=""

src="images/index_06.jpg" width=638></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD colSpan=3><IMG height=55 alt=""

src="images/index_07.jpg" width=55></TD>

<TD><IMG height=55 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD background=images/index_08.jpg rowSpan=4><IMG

height=295 alt="" src="images/index_08.jpg" width=19></TD>

<TD><IMG height=1 alt="" src="images/index_09.jpg"

width=78></TD>

<TD><IMG height=1 alt="" src="images/index_10.jpg"

width=492></TD>

<TD background=images/index_11.jpg colSpan=2

rowSpan=2><IMG height=66 alt="" src="images/index_11.jpg"

width=25></TD>

<TD colSpan=2><IMG height=1 alt=""

src="images/index_12.jpg" width=158></TD>

<TD background=images/index_13.jpg colSpan=2

rowSpan=2><IMG height=66 alt="" src="images/index_13.jpg"

width=18></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD vAlign=top width=570 bgColor=#ffffff colSpan=2 height=293

rowSpan=2> <TABLE width="100%" class=contentpaneopen>

<TBODY>

<TR>

<TD width="100%">$content</TD>

</TR>

</TBODY>

</TABLE></TD>

<TD vAlign=top width=158 bgColor=#ffffff colSpan=2 height=65>

<TABLE width="100%" cellPadding=0 cellSpacing=0 >

<TBODY>

<TR>

<TH align="left" vAlign=top><font face="Arial, Helvetica, sans-serif"

size="1">$myaccountlogoff |<br>

$cartcontents |<br>

$checkout<br>

</font></TH>

</TR>

<TR>

<TD align="left" valign="top">

<p><font face="Arial, Helvetica, sans-serif" size="1">$catmenu</font></p>

<p><font face="Arial, Helvetica, sans-serif" size="1">$categorybox</font></p>

<p><font face="Arial, Helvetica, sans-serif" size="1">$manufacturerbox</font></p>

<p><font face="Arial, Helvetica, sans-serif" size="1">$whatsnewbox</font></p>

<p><font face="Arial, Helvetica, sans-serif" size="1">$searchbox</font></p>

<p><font face="Arial, Helvetica, sans-serif" size="1">$cartbox

</font></p></TD>

</TR>

</TBODY>

</TABLE>

<TABLE class=moduletable cellSpacing=0 cellPadding=0>

<TBODY>

<TR>

<TH vAlign=top><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Popular

</font></TH>

</TR>

<TR>

<TD> <UL class=mostread>

<LI class=latestnews><A class=mostread

href="http://www.vervedevelopments.com/portfolio/portfolio_main/portfolio.html">Portfolio</A>

<LI class=latestnews><A class=mostread

href="http://www.vervedevelopments.com/informational_pages/about_verve/about_us.html">About

Us</A>

<LI class=latestnews><A class=mostread

href="http://www.vervedevelopments.com/services/core_services/internet_development.html">Internet

Development</A>

<LI class=latestnews><A class=mostread

href="http://www.vervedevelopments.com/informational_pages/about_verve/the_secret.html">the

Secret</A>

<LI class=latestnews><A class=mostread

href="http://www.vervedevelopments.com/services/core_services/joomla_add_ons.html">Joomla

Add Ons</A> </LI>

</UL></TD>

</TR>

</TBODY>

</TABLE>

<TABLE cellSpacing=0 cellPadding=0>

<TBODY>

<TR>

<TD height="266">

<TABLE cellSpacing=0 cellPadding=1 width="100%"

align=center bgColor=#000000 border=0>

<TBODY>

<TR>

<TD> <TABLE cellSpacing=0 cellPadding=4 width="100%"

bgColor=#ffffff border=0>

<TBODY>

<TR>

<TD bgColor=#62008b> <DIV align=center><FONT

color=#ffffff size="2" face="Verdana, Arial, Helvetica, sans-serif"><STRONG>Business Development and

Marketing</STRONG></FONT></DIV></TD>

</TR>

<TR>

<TD align="center" valign="top"><A

href="http://www.thebusinessdevelopers.com/"

target=_blank><IMG height=171

alt="Business Development Services" hspace=0

src="images/120AdSEM.jpg" width=120

vspace=10 border=0></A> </TD>

</TR>

</TBODY>

</TABLE></TD>

</TR>

</TBODY>

</TABLE></TD>

</TR>

</TBODY>

</TABLE></TD>

<TD><IMG height=65 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD background=images/index_16.jpg rowSpan=2><IMG

height=229 alt="" src="images/index_16.jpg" width=24></TD>

<TD rowSpan=2><IMG height=205 alt=""

src="images/index_19.jpg" width=1></TD>

<TD width=158

height=204 colSpan=2 align="center" vAlign=top bgColor=#ffffff> </TD>

<TD rowSpan=2><IMG height=205 alt=""

src="images/index_21.jpg" width=1></TD>

<TD background=images/index_18.jpg rowSpan=2><IMG

height=229 alt="" src="images/index_18.jpg" width=17></TD>

<TD><IMG height=204 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD colSpan=2 rowSpan=3><IMG height=28 alt=""

src="images/index_22.jpg" width=570></TD>

<TD colSpan=2 rowSpan=3><IMG height=28 alt=""

src="images/index_23.jpg" width=158></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD><IMG height=26 alt="" src="images/index_24.jpg"

width=19></TD>

<TD colSpan=2 rowSpan=2><IMG height=27 alt=""

src="images/index_25.jpg" width=25></TD>

<TD colSpan=2><IMG height=26 alt=""

src="images/index_26.jpg" width=18></TD>

<TD><IMG height=26 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD background=images/index_27.jpg rowSpan=2><IMG

height=15 alt="" src="images/index_27.jpg" width=19></TD>

<TD background=images/index_28.jpg colSpan=2

rowSpan=2><IMG height=15 alt="" src="images/index_28.jpg"

width=18></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD bgColor=#ffffff colSpan=6 rowSpan=2> <DIV align=center>

<TABLE cellSpacing=0 cellPadding=0 width="90%" border=0>

<TBODY>

<TR>

<TD> <DIV align=center><A class=footer

href="http://www.vervedevelopments.com/">Home</A> - <A

class=footer

href="http://www.vervedevelopments.com/informational_pages/about_verve/about_us.html">About

Us</A> - <A class=footer

href="http://www.vervedevelopments.com/services/core_services/">Services</A>

- <A class=footer

href="http://www.vervedevelopments.com/services/core_services/internet_development.html">Custom

Web Development</A> - <A class=footer

href="http://www.vervedevelopments.com/services/core_services/joomla.html">Joomla

Services</A> - <A class=footer

href="http://www.vervedevelopments.com/services/core_services/oscommerce.html">OsCommerce

Services</A> - <A class=footer

href="http://www.vervedevelopments.com/services/core_services/media_design.html">Media

Design</A> - <A class=footer

href="http://www.vervedevelopments.com/portfolio/portfolio_main/portfolio.html">Portfolio</A>

-<A class=footer

href="http://www.vervedevelopments.com/news/latest/">

Verve News</A> - <A class=footer

href="http://www.vervedevelopments.com/component/option,com_sefservicemap/Itemid,65/">Site

Map</A> - <A class=footer

href="http://www.vervedevelopments.com/contact_us/">Contact

Us</A> <BR>

<FONT size=2>Verve Developments is Part of

the CDS family of <A class=footer

href="http://www.thebusinessdevelopers.com/services/services_main/business_development_services.html"

target=_blank>business development services</A></FONT></DIV></TD>

</TR>

</TBODY>

</TABLE>

</DIV></TD>

<TD><IMG height=14 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD><IMG height=4 alt="" src="images/index_30.jpg"

width=19></TD>

<TD colSpan=2><IMG height=4 alt=""

src="images/index_31.jpg" width=18></TD>

<TD><IMG height=4 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD colSpan=9> <DIV align=center><IMG height=22 alt=""

src="images/index_32.jpg" width=790> <FONT size=2>All content,copy

and artwork is copyright ?2006 Verve Developments </FONT></DIV></TD>

<TD><IMG height=22 alt="" src="images/spacer.gif"

width=1></TD>

</TR>

<TR>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=19></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=78></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=492></TD>

<TD><IMG height=1 alt="" src="images/spacer.gif"

width=24></TD>

<TD>

Share this post


Link to post
Share on other sites

Hi,

 

I have been asked to redsign someones website and i have used STS 4.2 to create a template. I copied the clients website to my server and set up a test site. i have installed STS and created a template and everything works fine.

 

However when i installed everything on my clients site the links to 'my accout' and 'checkout' went to a blank page. The site worked fine otherwise.

 

Would this have anything to do with my client is using a shared SSL certificate? or could it be something else?

 

Any suggestions would be much appreiciated.

 

Thanks

Ben

Share this post


Link to post
Share on other sites
I'm not exactly certain what your question is, but I thought I'd pop in here and mention a couple of things that may get you going in the right direction to fix this.

 

The value of $content comes from /catalog/includes/languages/<language>/<pagename>.php in whatever is defined for TEXT_INFORMATION.

 

Here are my notes about how to create a NEW page, but it will help with editing existing pages as well:

  1. Copy an existing page from catalog/ such as ?about.php? to <newpage>.php
  2. Copy an existing page from catalog/includes/languages/english such as ?about.php? to <newpage>.php
  3. (optional) Create a custom STS layout by copying /catalog/includes/sts_templates/<templatename>/ such as about.php.htm to <newpage>.php.htm
  4. Modify /catalog/filenames.php by adding <newpage> file definition
  5. Modify /catalog/includes/languages/English/<newpage>.php with new text
  6. Modify catalog/<newpage>.php to reference new definition from filenames.php

Obviously, steps 2 and 5 would be repeated for other languages.

 

Hope this helps!

 

Thanks for your answer Rabel.

But, I don't want to create a new page. I try to customize a page there by default in OsCommerce.

 

Take a exemple :

I want to modifiy the display on the page "conditions.php"

I edit in admin the module 'default' of STS for use the template "mine/template.php.html"

 

template.php.html :

<?php DEFINE ('STS_END_CHAR', '$'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html $htmlparams$>
<head>
<!--$headcontent-->
</head>
<body>
My template<br>
$content$
</body>
</html>

...a good design :P

 

In includes/modules/sts/

I duplicate sts_product_info.php to sts_conditions.php

I make a search/replace to the string 'product_info' and I replace by 'conditions'

 

In includes/modules/sts_inc/

- I make conditions_sts.php

include (DIR_WS_MODULES.'sts_inc/conditions.php');
$sts->template= array_merge($sts->template,$template_conditions );
$sts->template['sysmsgs']= $messageStack->output('header');

 

- I make conditions.php

<?php
$template_conditions['test'] = "hello";
?>

 

in /includes/sts_templates/mine/content/

I make conditions.php.html

<?php DEFINE ('STS_CONTENT_END_CHAR', '$'); ?>
$test$

 

In admin

Install the module conditions and activate.

 

When I go my browser to the page conditions.php, the template is display correctly, but the $content$ is the same of the page conditions.php who are in the root of my shop.

 

I want to customize the content of the page by the template variable system of STS.

I make this operation with succes for the pages shopping_cart.php, product_info.php and login.php

 

So I don't understand why I can't make the same for this pages ?

Share this post


Link to post
Share on other sites

hmm my code did not seem to paste properly in the post....can someone please take a look here.....

 

and tell me what is wrong with me template, i took the html code and put it in a text file to show you

 

http://www.vervedevelopments.com/sts_template.txt

 

this is what my cart looks like

http://www.vervedevelopments.com/VerveShop/

Share this post


Link to post
Share on other sites

If that code at the top of Bill's post was for me (osplayer problems) I really thank you for your time however I didn't notice anything different when I replaced the current code which is below, with the one in the post.

 

I pasted the code over this in the sts_template.html.

 

<html>

<head>

<!--$headcontent-->

<script LANGUAGE="JavaScript" SRC="$templatepath/sts_osc_javascript.js"></SCRIPT>

<link rel="stylesheet" type="text/css" href="$templatepath/stylesheet.css">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>$title</title></head>

<body>

 

Wow this has got be beat! I have it working in a clean osc shop but for some strange reason can't get it to work with the contrib LoadedAU version with STS.

 

As all the code is correctly placed as per the osplayer install instructs, the problem just has to be something missing in the STS or another contrib code is causing.

 

The osplayer should show when a product is shown when the browser URL

/product_info.php?cPath=21&products_id=30.

 

Have doen 15 shops over the years stacked with contribs, however this has me beat!

 

Hopefully an angel arrive :)

Share this post


Link to post
Share on other sites

I am setting up the new STS v4.2 with Header Tags Controller 2.5.9 on a new oscommerce intall. I get the following warnings:

 

Warning: main(includes/modules/sts_inc/ headertags.php) [function.main]: failed to create stream: No such file or directory in c:\websites\danielrsarno188\crikeyspies.com\catalog\includes\modules\sts_inc\sts_display_output.php on line 21

 

Warning: main() [function.main]: Failed opening 'includes/modules/sts_inc/ headertags.php' for inclusion (include_path='.;c:\php4\pear') in c:\websites\danielrsarno188\crikeyspies.com\catalog\includes\modules\sts_inc\sts_display_output.php on line 21

 

I changed the permissions for all header_tags.php to full permissions.

 

I am on a windows server with IIs

 

Can anyone help?

Thanks

spwd01

Share this post


Link to post
Share on other sites
I am setting up the new STS v4.2 with Header Tags Controller 2.5.9 on a new oscommerce intall. I get the following warnings:

 

Warning: main(includes/modules/sts_inc/ headertags.php) [function.main]: failed to create stream: No such file or directory in c:\websites\danielrsarno188\crikeyspies.com\catalog\includes\modules\sts_inc\sts_display_output.php on line 21

 

Warning: main() [function.main]: Failed opening 'includes/modules/sts_inc/ headertags.php' for inclusion (include_path='.;c:\php4\pear') in c:\websites\danielrsarno188\crikeyspies.com\catalog\includes\modules\sts_inc\sts_display_output.php on line 21

 

I changed the permissions for all header_tags.php to full permissions.

 

I am on a windows server with IIs

 

Can anyone help?

Thanks

spwd01

Check your installation files...particularly 'includes/modules/sts_inc/ headertags.php' . This file may be missing from your install.

 

Hope this helps,

 

Bill Kellum


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
Put this code in your existing template to make it work:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<meta http-equiv="Content-Language" content="en-us">
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>

Hope this helps, Bill Kellum

 

ok, I am lost, lack of sleep perhaps, the sts_template.html is the file i have my template in and the $tags

now what am i supposed to put in the blank file? the right side is showing fine, but the content in the middle doesnt

 

thoughts?

Share this post


Link to post
Share on other sites
ok, I am lost, lack of sleep perhaps, the sts_template.html is the file i have my template in and the $tags

now what am i supposed to put in the blank file? the right side is showing fine, but the content in the middle doesnt

 

thoughts?

How did you install STS4.2? Did you upgrade from a previous version? You may have not updated the includes/column_right.php. At the beginning of this file it should look like this:

// START STS 4.1
if ($sts->display_template_output) {
$sts->restart_capture ('content');
} else {
//END STS 4.1

Hope this helps you out,

 

Bill Kellum


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
How did you install STS4.2? Did you upgrade from a previous version? You may have not updated the includes/column_right.php. At the beginning of this file it should look like this:

// START STS 4.1
if ($sts->display_template_output) {
$sts->restart_capture ('content');
} else {
//END STS 4.1

Hope this helps you out,

 

Bill Kellum

 

 

the code is in that file, the right column works ok, it the middle of the cart, its not showing any of the items or pages, the middle of it is blank

 

i hve this in the center on my file

 

$content

 

i also have $content in the blank template

 

this is my blank template

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<meta http-equiv="Content-Language" content="en-us">
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
$content
</body>
</html>

 

my template code is in the sts_template.php like the links i posted above

Share this post


Link to post
Share on other sites

Hi,

I have installed the new release of this contribution "STS v4.2 with Header Tags Controller 2.5.9" but I have problem with Header Tag Controller. I have installed this contribution on a new fresh osc. I have installed everything according to the manual and added headertags.php to all file parameters. My problem is that the header tags are not working for any page. It is showing the default tags for all pages. When I go to Text Control, all pages are shown in RED. Also in that page (Text Control) I have one set of extra boxes that has no label. I have a first set for default title, description and keyword, then I have another set without any name, then a set for allprods, index .... I'm not sure if this is how it should be or this is a mistake and that is an extra set.

 

Any help is much appreciated.


Regards,

Share this post


Link to post
Share on other sites
Hi,

I have installed the new release of this contribution "STS v4.2 with Header Tags Controller 2.5.9" but I have problem with Header Tag Controller. I have installed this contribution on a new fresh osc. I have installed everything according to the manual and added headertags.php to all file parameters. My problem is that the header tags are not working for any page. It is showing the default tags for all pages. When I go to Text Control, all pages are shown in RED. Also in that page (Text Control) I have one set of extra boxes that has no label. I have a first set for default title, description and keyword, then I have another set without any name, then a set for allprods, index .... I'm not sure if this is how it should be or this is a mistake and that is an extra set.

 

Any help is much appreciated.

Check the following since there is a difference in the "upload" folder and the "clean_osc" folder in the contribution:

 

Add to the top of includes/header_tags.php, just before the first "require" line:

 

require(DIR_WS_FUNCTIONS . 'clean_html_comments.php');

 

You can find this in the clean_osc version of this file, but not in the update version.

 

Move the includes/function/clean_html_comments.php file from the clean_osc directories.

 

 

 

Let me know if you are still having issues (include how you installed), Bill Kellum


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×