Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 9 votes

[contribution] Simple Template System (sts)


5806 replies to this topic

#5721 multimixer

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

Posted 01 October 2010, 04:21

View Poststefan1959, on 30 September 2010, 22:22, said:

Where is andy's sale in the above screen-shots? No address line, only tabs and they don't show and name like andy.
In fact those screen-shots where taken from another site. I'm really curious where you got that info from!!!

Steve

Come on, the path of the images you placed is www.andysbiggaragesale.com/images/ScreenShot1.gif
Looking for a way to create your own osCommerce template ? click

#5722 Jacktoyl

  • Community Member
  • 1 posts
  • Real Name:Jaconia Toyloy

Posted 01 October 2010, 05:49

I am getting this message: Fatal error: Cannot redeclare class sts_popup_image in /home/empress4/public_html/shop/includes/modules/sts/sts_popup_image.php on line 16. Does anyone know how to resolve this?

#5723 funkygee

  • Community Member
  • 8 posts
  • Real Name:.:FG:.

Posted 01 October 2010, 18:44

Hi!
I'm a newbie to STS for OSC.I have a localized version of OSC 2.2RC2a in hungarian, with some security tweaks, and others. I'have just installed it with sample data. The question is, how does STS affects my language localization on my installed OSC: all files should be copied are about english version. Do I need to have spec version os STS to work properly with my installation?
Many Thanks,
FG.

#5724 stefan1959

  • Community Member
  • 16 posts
  • Real Name:Stephen Petersen

Posted 01 October 2010, 20:04

View Postmultimixer, on 01 October 2010, 04:21, said:

Come on, the path of the images you placed is www.andysbiggaragesale.com/images/ScreenShot1.gif

Ahhh, didn't know that info was available, you do look close.

#5725 bkellum

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

Posted 02 October 2010, 05:45

View Postfunkygee, on 01 October 2010, 18:44, said:

Hi!
I'm a newbie to STS for OSC.I have a localized version of OSC 2.2RC2a in hungarian, with some security tweaks, and others. I'have just installed it with sample data. The question is, how does STS affects my language localization on my installed OSC: all files should be copied are about english version. Do I need to have spec version os STS to work properly with my installation?
Many Thanks,
FG.


You would need to add your language to any language files included in the STS contribution. For example:
admin/includes/languages/*your_language*/modules.php
and
admin/includes/languages/*your_language.php*
and
includes/languages/*your_language*/modules/sts/sts_default.php
includes/languages/*your_language*/modules/sts/sts_index.php
includes/languages/*your_language*/modules/sts/sts_popup_image.php
includes/languages/*your_language*/modules/sts/sts_product_info.php

You can use the files within any of the existing language folders/files to edit and modify to your desired language and then save it as the proper language file name.
Bill Kellum

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

#5726 bkellum

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

Posted 02 October 2010, 05:48

View PostRob1962, on 30 September 2010, 10:44, said:

Hi all

I am trying to resolve a problem with this
<base href="http://www.landyspecials4x4.com//">

and this
<link rel="stylesheet" type="text/css" href="//includes/sts_templates/multiple/stylesheet.css">
were it has the double //.

Both of wich i have no idea of were the program gets this code from but looking at the code i found this :

return  "\n<!-- start $commentlabel //-->\n$tmpstr\n<!-- end $commentlabel //-->\n";

and i thought that things like <!-- //--> were there to comment things out and made the code become green , this however is in gray ( with just the word "return" in blue )

Is this correct??

Thanks for your time.

Gr, Rob


Usually, the // double forward slash indicates an extra forward slash within your configure.php path settings and not related to STS.
Bill Kellum

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

#5727 remnorz

  • Community Member
  • 9 posts
  • Real Name:Efren Perez

Posted 04 October 2010, 22:01

In the STS system, where would I disable the products from showing in the main page?

#5728 remnorz

  • Community Member
  • 9 posts
  • Real Name:Efren Perez

Posted 04 October 2010, 22:17

View Postremnorz, on 04 October 2010, 22:01, said:

In the STS system, where would I disable the products from showing in the main page?

Edit***

Sorry for the post, I took a few minutes and read the pdf file included with the contribution and found what I was looking for.

Edit***

#5729 bkellum

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

Posted 04 October 2010, 23:54

View Postremnorz, on 04 October 2010, 22:01, said:

In the STS system, where would I disable the products from showing in the main page?


Just so you're clear...you would do this simply by creating a "home page" template: index.php_0.html
Bill Kellum

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

#5730 remnorz

  • Community Member
  • 9 posts
  • Real Name:Efren Perez

Posted 05 October 2010, 04:01

Something strange is happening, the sts system is working as intended, I can modify everything and I'm happy with it, but, when I try to test the actual cart features nothing is working, using the default products when I try to add it always says my cart is empty so I can't test the checkout process... Has someone else come across this problem?

#5731 falk99

  • Community Member
  • 8 posts
  • Real Name:Dean Miller

Posted 11 October 2010, 11:50

View Postbkellum, on 27 September 2010, 04:14, said:

If you were using STS4.x or later, it would simply be a matter of uploading everything from the latest build. If you were using STS3.x or older, then you would need to remove most if not all of the previous STS installation, such as you have to remove the old STS code from several files in the catalog/includes folder: header.php, footer.php, application_bottom.php and application_top.php, then you can start installing the new STS. Keep in mind, you will need both the new STS file modifications as well as the existing file modifications from the latest version.


I ipload the files from the latest verison. Then on the shop i get a error message: *Fatal error*: Allowed memory size of 67108864 bytes exhausted (tried to
> allocate 30720 bytes) in


The emory_limit in php.ini is set already to 96mb. Is it realy possibli that STS need that much memory?

#5732 marinereef

  • Community Member
  • 1 posts
  • Real Name:Serge

Posted 11 October 2010, 18:41

Hi everyone,

Could I use also the latest release to work with OS 3?

Thanks for the answer

#5733 bkellum

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

Posted 11 October 2010, 23:17

View Postmarinereef, on 11 October 2010, 18:41, said:

Hi everyone,

Could I use also the latest release to work with OS 3?

Thanks for the answer

No, not at this time. Maybe a later STS release but the current 4.6 and older is not compatible with osC v3.x.

[img]http://forums.oscommerce.com/public/style_emoticons/default/thumbsup.gif[/img] A new (final) version of the osCommerce 2.2 series is about to released as v2.3. I will be working to make STS compatible with that version first.
Bill Kellum

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

#5734 remnorz

  • Community Member
  • 9 posts
  • Real Name:Efren Perez

Posted 16 October 2010, 06:55

I'm having a problem with using the ie conditional and the sts module, for some reason (and I've tried almost everything) when I do the if gte IE 7 or IE etc to link a special css it simply doesn't work. I can even leave the special css empty and it still will default to the standard css I'm using. I'm going crazy trying to figure this out...

If I put some text on the conditional it shows on the top of the page, so I know it's detecting the IE version correctly but it will not load the css for some reason :(.

#5735 bkellum

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

Posted 16 October 2010, 09:02

View Postremnorz, on 16 October 2010, 06:55, said:

I'm having a problem with using the ie conditional and the sts module, for some reason (and I've tried almost everything) when I do the if gte IE 7 or IE etc to link a special css it simply doesn't work. I can even leave the special css empty and it still will default to the standard css I'm using. I'm going crazy trying to figure this out...

If I put some text on the conditional it shows on the top of the page, so I know it's detecting the IE version correctly but it will not load the css for some reason [img]http://forums.oscommerce.com/public/style_emoticons/default/sad.gif[/img].


Check your doctype for each template page.
Bill Kellum

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

#5736 remnorz

  • Community Member
  • 9 posts
  • Real Name:Efren Perez

Posted 16 October 2010, 19:35

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

what should it be at?

#5737 atlasoff

  • Community Member
  • 26 posts
  • Real Name:Julie
  • Gender:Female
  • Location:Mexico

Posted 17 October 2010, 10:50

Can anyone who's successfully implemented the "Products Listing in Columns" contribution in a store using the STS template share the customizations you made to make the contrib work with the template?

Here's one person who would be INSANELY grateful. And I do mean insane.

:)

Thanks in advance for your help!!

Julie :)

Edited by atlasoff, 17 October 2010, 10:51.


#5738 multimixer

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

Posted 17 October 2010, 11:11

View Postatlasoff, on 17 October 2010, 10:50, said:

Can anyone who's successfully implemented the "Products Listing in Columns" contribution in a store using the STS template share the customizations you made to make the contrib work with the template?

Here's one person who would be INSANELY grateful. And I do mean insane.

:)

Thanks in advance for your help!!

Julie :)

can you give a link to the addon?
Looking for a way to create your own osCommerce template ? click

#5739 atlasoff

  • Community Member
  • 26 posts
  • Real Name:Julie
  • Gender:Female
  • Location:Mexico

Posted 17 October 2010, 15:22

View Postmultimixer, on 17 October 2010, 11:11, said:

can you give a link to the addon?

Actually, in looking up the link for "Product Listing in Columns" (http://addons.oscommerce.com/info/112) to give it to you, I found a much newer contribution "[TiM's osC Solutions] Products in Columns" (http://addons.oscommerce.com/info/7159) that implies it works happily for STS users!

So instead of you spending one lick of time trying to help me solve my problem, I'll first give this contribution a shot and report back with the results.

*Thank you* so much for responding!!

:)

Julie

#5740 atlasoff

  • Community Member
  • 26 posts
  • Real Name:Julie
  • Gender:Female
  • Location:Mexico

Posted 17 October 2010, 15:37

View Postatlasoff, on 17 October 2010, 15:22, said:

Actually, in looking up the link for "Product Listing in Columns" (http://addons.oscommerce.com/info/112) to give it to you, I found a much newer contribution "[TiM's osC Solutions] Products in Columns" (http://addons.oscommerce.com/info/7159) that implies it works happily for STS users!

So instead of you spending one lick of time trying to help me solve my problem, I'll first give this contribution a shot and report back with the results.

*Thank you* so much for responding!!

:)

Julie

OOH-LA-LA. Turns out, TiM's osC Solutions Products in Columns (http://addons.oscommerce.com/info/7159) IS THE BOMB! I upload a *one* file only, don't have to make modifications, it updates the DB immediately without any work on my part, and voila! I have my colums!!!!!

Oh my gosh, I feel like dancing down my street right now. No joke.

Julie :thumbsup:

Edited by atlasoff, 17 October 2010, 15:37.