Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 5 votes

[Contribution] STS v4


  • You cannot reply to this topic
6117 replies to this topic

#6041 matrix2223

  • Community Member
  • 859 posts
  • Real Name:Eric
  • Gender:Male
  • Location:MD USA

Posted 08 December 2010, 08:24

View Postmultimixer, on 15 November 2010, 08:37, said:

Yes, I have it working, whats the problem?
I cant seem to get the info box to display. Also the script stops a the article box and fails to load the rest of the page.

Thanks for your help
Eric
Eric

Keep up on osCommerce changes and updates at Github | Understand osCommerce a little further at OsCommerce Documentation | Copy and paste your error message in Google add "in osCommerce" at the end to get relevant answers to most issues.


#6042 matrix2223

  • Community Member
  • 859 posts
  • Real Name:Eric
  • Gender:Male
  • Location:MD USA

Posted 08 December 2010, 08:32

View Postatlasoff, on 29 November 2010, 16:38, said:

I have a store where I have STS and Header Tags SEO installed. In my header.php file, if I have any of the following lines, my store breaks to the point of a WHITE SCREEN :( in IE Explorer (although it works perfectly fine and well in Firefox). This is making me nuts! If I comment out everything, the store works fine minus any of the Header Tags SEO functionality which I need to work desperately. If anyone can throw me a bone on this one, I'll owe you my first born. (her name is Chloé, and she's a doll) :P

Julie
Make sure in your sts template your head section look like this
<head>
<!--$headcontent-->
<link rel="stylesheet" type="text/css" href="$templatedir/stylesheet.css">
</head>

Only the <!--$headcontent--> needs to be there to get all the header tag code and head information to display
Eric

Keep up on osCommerce changes and updates at Github | Understand osCommerce a little further at OsCommerce Documentation | Copy and paste your error message in Google add "in osCommerce" at the end to get relevant answers to most issues.


#6043 El_Heso

  • Community Member
  • 151 posts
  • Real Name:Tony Jansson

Posted 19 December 2010, 09:46

Hi!
I have a problem with STS, i have this code i header in index.php.html:
<script language='javascript' type='text/javascript'>

function showDiv(pass) {
var divs = document.getElementsByTagName('div');
for(i=0;i<divs.length;i++){
if(divs[i].id.match(pass)){//if they are 'see' divs
if (document.getElementById) // DOM3 = IE5, NS6
divs[i].style.visibility="visible";// show/hide
else
if (document.layers) // Netscape 4
document.layers[divs[i]].display = 'visible';
else // IE 4
document.all.divs[i].visibility = 'visible';
} else {
if (document.getElementById)
divs[i].style.visibility="hidden";
else
if (document.layers) // Netscape 4
document.divs[i].visibility = 'hidden';
else // IE 4
document.all.divs[i].visibility = 'hidden';
}
}
}

</script>

then this under the body tag:
<?php
if (HOLIDAY_SETTINGS == 'on')
{
?>


<div id="F512" >

<a href="javascript:showDiv('F256')"><img src="info.png" border="0"></a>
</div>

<div id="F256" style="position: absolute; left:250px; top:0px; visibility: hidden">
" here is the ordinary code for the page "

</div>

and my problem is that in the case i click the image the "normal" page shows ( that´s the point ) but every sts tag ex. $categorybox$ don´t show at all it´s blank in the space there it should be a category menu

Any idea how to make this work?

Regards Tony

#6044 ajpeters

  • Community Member
  • 132 posts
  • Real Name:A. John Peters

Posted 22 December 2010, 13:30

View PostSnaggs, on 28 November 2010, 01:07, said:

Just a quick question.

Does STS 4.6 work with OSc 2.3.1? If so, which set of install files should I use?

Thanks in advance
Any answers to this? About ready to hand edit and test.
John

#6045 multimixer

  • Community Sponsor
  • 3,592 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 24 December 2010, 05:59

View Postajpeters, on 22 December 2010, 13:30, said:

Any answers to this? About ready to hand edit and test.
John

No it's not working. If you want to use STS, then take the previous version (RC2a), upgrade it to 2.3 (using the upgrade guide) and then istall on it STS 4.6
Looking for a way to create your own osCommerce template ? click

#6046 bcecilfoxc

  • Community Member
  • 1 posts
  • Real Name:Bob Cecil

Posted 29 December 2010, 18:41

View Postmultimixer, on 24 December 2010, 05:59, said:

No it's not working. If you want to use STS, then take the previous version (RC2a), upgrade it to 2.3 (using the upgrade guide) and then istall on it STS 4.6


Can I make the assumption that eventually it will be upgraded to 2.3? If anybody knows

#6047 multimixer

  • Community Sponsor
  • 3,592 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 02 January 2011, 09:36

View Postbcecilfoxc, on 29 December 2010, 18:41, said:

Can I make the assumption that eventually it will be upgraded to 2.3? If anybody knows

I think that Bill Kellum is working on this read
Looking for a way to create your own osCommerce template ? click

#6048 satkin2

  • Community Member
  • 50 posts
  • Real Name:Steven Atkin

Posted 02 January 2011, 18:56

Hi,
Not sure if you'll be able to help me or not, but as it's a layout issue and I'm using STS I thought I'd see what those of you with more knowledge than me thought.

All pages on my siteare looking and working as I wish in most browsers, Firefox, Chrome, Safari etc;

However, in Internet Explorer, the non osCommerce pages are also working fine for me, such as this, but the osCommerce pages are being laid out terribly, such as this. (The links need to be viewed in Internet Explorer to see the differences).

I know that IE causes problems that other browsers don't but I'm struggling to get it looking right. If I put text-align: center in my template, I get the whole page centred (but not with the full with border) but it also centers my text which I don't want.

I'm really struggling to work out how I can resolve this. Have any of you had similar issues or are you able to offer some advice on how I'd fix it?

Thanks

Steve

Edited by satkin2, 02 January 2011, 19:11.


#6049 psintra

  • Community Member
  • 11 posts
  • Real Name:Paulo

Posted 02 January 2011, 18:57

Hello, I´m using STS with Magic zoom. I need to increase the size of the thumb image located here /images/nameofpicture_thumb.jpg. This is just for product info page. How and where I can change that? The admin of oscommerce doesn´t show me any option to choose the size of thumbnail. Thank you. Isa

#6050 Dianna668

  • Community Member
  • 11 posts
  • Real Name:Dianna
  • Gender:Female

Posted 02 January 2011, 22:09

Hi all, this might be a really stupid question, I've used STS before and LOVED it but it's been a couple of years. I have a fresh install of OSCommerce V2.3.1. I'm wanting to install the LATEST version of STS but want to make sure it's compatible with OSC V2.3.1. The STS V4 shows up in the V2.3.1 templates available on the forum but the documention/tutorial of STS V4 does not look like it indicates that it's compatiable. What is the best/latest greatest version STS install that is compatible for OSC V2.3.1?

#6051 ajpeters

  • Community Member
  • 132 posts
  • Real Name:A. John Peters

Posted 03 January 2011, 00:25

View PostDianna668, on 02 January 2011, 22:09, said:

Hi all, this might be a really stupid question, I've used STS before and LOVED it but it's been a couple of years. I have a fresh install of OSCommerce V2.3.1. I'm wanting to install the LATEST version of STS but want to make sure it's compatible with OSC V2.3.1. The STS V4 shows up in the V2.3.1 templates available on the forum but the documention/tutorial of STS V4 does not look like it indicates that it's compatiable. What is the best/latest greatest version STS install that is compatible for OSC V2.3.1?
See posts 6046 and 6047 above.

John

#6052 Dianna668

  • Community Member
  • 11 posts
  • Real Name:Dianna
  • Gender:Female

Posted 03 January 2011, 01:46

View Postajpeters, on 03 January 2011, 00:25, said:

See posts 6046 and 6047 above.

John


Thank you so much John! :-) ETA: well how embarrassing that it was a few posts above! And I did try to search for this info before posting. Thx!

Edited by Dianna668, 03 January 2011, 01:47.


#6053 Dianna668

  • Community Member
  • 11 posts
  • Real Name:Dianna
  • Gender:Female

Posted 03 January 2011, 07:30

View Postbcecilfoxc, on 29 December 2010, 18:41, said:

Can I make the assumption that eventually it will be upgraded to 2.3? If anybody knows


View Postmultimixer, on 02 January 2011, 09:36, said:

I think that Bill Kellum is working on this read


View Postajpeters, on 03 January 2011, 00:25, said:

See posts 6046 and 6047 above.

John


Hi all, I do hope I'm following forum rules so not to bump my own posts, if so I apologize in advance. I'm trying to figure out what to do with my store build. I've research Bill's article on STS and how OSC V2.3 works etc. I've debated using 2.3 and just deal with the PHP side of things which I'm quasi okay with, not an expert by far. However, after using STS a couple of years ago, I feel at a loss without it and would very much like to use it for this build. So I realize that I need one of the older versions, i.e. 2.2 RC2a, but now my dilemma is that I cannot find the download for any of the older versions below 2.3 and the new Beta 3. Does anyone know how I can obtain a V2.2 for download? Or have I missed the boat and can now no longer get it? i.e. meaning I'm out of luck to get to use STS? :(

I'm not too sure about V2.3 as it stands because of all the limited contributions for it. Most contributions seem to still be for 2.2 unless most still work with the new one. So that's a CON for using 2.3. But the PRO is that at least one is using the most latest full release version and I don't want to get outdated with a new store.

So I'm scratching my head on what is the best route to take. If OSC V3 official release will be ultimate then I can worry about that at that time, or if STS is released for the later versions. I'm thinking that I should just run with the V2.2 but now if I can find the download? Or any suggestion?

#6054 bkellum

  • Community Member
  • 4,893 posts
  • Real Name:Bill Kellum
  • Gender:Male
  • Location:Chicago

Posted 05 January 2011, 03:44

View PostDianna668, on 03 January 2011, 07:30, said:

So I'm scratching my head on what is the best route to take. If OSC V3 official release will be ultimate then I can worry about that at that time, or if STS is released for the later versions. I'm thinking that I should just run with the V2.2 but now if I can find the download? Or any suggestion?


For those who can't wait for the STSv5 release that is compatible with osCv2.3.1, I suggest the following:
1. upgrade to osCv2.3.1 using the upgrade guide but leave out the default osCommerce template upgrades.
2. Then, install STSv4.6 using the "manual" method within the STSv4.6 install instructions.

What the above will get you is the following:
1. The latest osCommerce stable build (minus the default template engine)
2. The latest version of the Simple Template System.

Note: Many are finding the default template engine that comes with osCv2.3.1 very daunting and limiting. By leaving out the template engine, you still get all of the great security upgrades that osCv2.3.1 brings as well as a very easy to use template system (STSv4.6).

:( I have experienced a string of tragedies in the last 3 months that has really taken up my time, hence, the long wait for STSv5.

:thumbsup: If anyone wants to collaborate on bringing STSv5 to a reality, and contribute, here is what should be considered:

1. STSv5 install needs to focus on either disabling the default template engine in osCv2.3.1, or better yet, configure STSv5 to take advantage of the new template engine and work along side of it (bring STS functionallity to the template engine).

2. The latter suggestion would continue the strong tradition of keeping STS an on/off option in the admin, meaning that if you want to see what your shop looks like without STS, just simply turn it off in the admin and then the default template engine would work just like a stock osCv2.3.1 shop.
The other benefit of this is that once the bulk of the other contributions are upgraded to work with osCv2.3.1, then STSv5 would not conflict with them. Yet, an even better scanario would be to have an either/or option in the admin to have STSv5 work along side of the default template engine or alone as the current STSv4.6 does. I metion this only because some designers may not want to use the grid system that comes with the default template engine and would rather stick with what they know, which is what makes STS so great anyway.

3. Redo all of the sample templates to work with STSv5/osCv2.3.1.

4. Consider droping support for older versions of osC (before v2.3.1). I don't recommend this as there is a huge shop base out there built on older versions of osCommerce.

If needed, you can send me your work/email contact info via a private message in this forum.
Bill Kellum

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

#6055 kyser

  • Community Member
  • 21 posts
  • Real Name:kyser
  • Gender:Male

Posted 07 January 2011, 18:40

View PostBrian-Bear, on 22 March 2010, 11:47, said:

Hi Bill
Yes it appears to use sts_template.php.html ok for the product page but will not pick up product_info.php.html for the product page. Here is a link on the Ultimate SEO 5 thread but maybe I have missed someething
http://forums.oscommerce.com/index.php?app=core&module=search&do=quick_search&search_sort_by=date&search_sort_order=desc&type_2=topic&type_id_2=336702&search_term=sts&search_filter_app[forums]=1&st=25

any help much appreciated.
If I turn off Ultimate SEO5 all works OK.

I got exactly the same prob with ultimate seo url 5 pro from fwr, product_info.php.html does not display correctly.
if someone got a detailed solution please share, it seems also that the usu5 forum members have STS discrimination to discuss about that prob.
As many members got the same prob , I judged that I don't have a mistaken installation.

thanks for sharing a fix!

Edited by kyser, 07 January 2011, 18:41.


#6056 johnnybebad

  • Community Member
  • 672 posts
  • Real Name:Johnny

Posted 22 January 2011, 09:16

Hi,

I am having trouble getting the boxes headertags.php, headertags_seo_silo.php to work properly inside sts.

Can you give me pointers on what code should go in which files.

I can get them showing but not properly.

Thanks in advance
Getting better with mods but no programmer am I.

#6057 johnnybebad

  • Community Member
  • 672 posts
  • Real Name:Johnny

Posted 23 January 2011, 20:34

My link

The site above has the headertags seo contribution installed aswell as sts. Outside of sts it works fine.

Until I checked my code it didnt work quite like it should in sts.

I now have it working but as you can see from the link posted I have my left, right and content columns + the headertag box/s in another column.

I have trawlled through this time and time again, and have at least got somewhere with it but need to know where I should be looking to ressolve the headertag box remaining issue of correct placement.

Any help will be much appreciated.
Getting better with mods but no programmer am I.

#6058 OSC_Neub

  • Community Member
  • 7 posts
  • Real Name:Joe
  • Gender:Male

Posted 25 January 2011, 15:42

I am using sts templating for my site that I converted over from interspire to Oscommerce because it has SO MANY more modules and abilities:)

Anyways, I have searched this forum and cannot find a suitable answer, so please excuse this post if its a duplicate or if the answer is in plain site!!

With that said I am trying to include a header.php file for use in my templates, so that I can change the header once and be done. I have tried to include a header.php file into my index.php.html, but it does not work.

Anyone have any suggestions?

Thanks in advance!!

#6059 mkansari

  • Community Member
  • 10 posts
  • Real Name:Mohammed Khalid Ansari

Posted 25 January 2011, 16:20

Will anyone please tell me if there is any contribution to include coupon & voucher code during checkout??

#6060 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 27 January 2011, 04:43

Hey Bill,

Long time no chat- LOL Got a question for ya- have you ever considered setting up a WYSIWYG editor on the admin side for those non-programmers/coders to be able to edit the look/feel of the STS Templates? Does this exist and I just don't know it? I have a marketing dept. that would love to be able to make adjustments to the products and to the templates via a WYSIWYG in the admin section. I can find contributions for setting up the products this way - but I haven't seen one yet for the templates. Since we run STS for our templates (and I LOVE it!!) I thought I'd see if you have anything already setup or have any ideas on this one ;-) Thanks!
~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics