Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bkellum

Pioneers
  • Posts

    4,854
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by bkellum

  1. Hey, thanks this will with installing so many other mods that aren't compatible with STS.

    Alex

     

     

     

     

     

     

     

     

    It's not that they are not compatible with STS, it's just that they have a portion that does not adhere to osCommerce coding standards and therefore you need to tell STS to ignore them.

     

    The above is mentioned in the STS User Manual as well.

  2. Hi, I have installed Articles Manager_1.57_5_1 and Header Tags_SEO_V_3.2.3 and my site uses the STS Template system. The install appears to work fine up until the point where I insert the code:

     

      /**** BEGIN ARTICLE MANAGER ****/
     if (AUTHOR_BOX_DISPLAY == 'true'){
       require(DIR_WS_BOXES . 'authors.php');
     }
     if (ARTICLE_BOX_DISPLAY == 'true'){
       require(DIR_WS_BOXES . 'articles.php');
     }
     /**** END ARTICLE MANAGER ****/

     

     

     

    When I insert this before the final ?> in the column_left.php file it renders the article and authors info in the central content section and throws the content of the left and right columns all over the shop. If I insert the same code in the column_right.php file it doesn't appear at all, and whilst it doesn't disrupt the position of other items on the page it messes up the Spanish language version of the site.

     

    I've tried it with STS turned off and it works fine with the standard oscommerce template. So I'm presuming my problem lies with my STS.

     

    If anybody has any suggestions as to where the problem might lie so as to narrow down my search, it would be most appreciated.

     

    See this link when adding custom contributions.

     

    You need to add the following in the includes/modules/sts_inc/sts_column_left.php:

    // Article Manager
    
     if (AUTHOR_BOX_DISPLAY == 'true'){
    
    require(DIR_WS_BOXES . 'authors.php');
    
    $sts->restart_capture ('authorsbox', 'box');
    
     }else{
    
    $sts->template['authorskbox']='';
    
     }
    
    
    
     if (ARTICLE_BOX_DISPLAY == 'true'){
    
    require(DIR_WS_BOXES . 'articles.php');
    
    $sts->restart_capture ('articlesbox', 'box');
    
     }else{
    
    $sts->template['articlesbox']='';
    
     }
    

    Now use $articlesbox$ and $authorskbox$ in your template where you want them.

  3. Hello,

     

    I was wondering if there is a way to turn off STS for one or two pages.

     

    I'm trying to use a printable catalog mod. The mod works fine when I turn STS off Is there a way to turn of STS just for catalog/print_catalog.php but leave default enabled so it's still working for all other pages?

     

    Thank You,

    Alex

     

     

    How to exclude a page from being templated in STSv4.5.x and above:

     

    In the sts_default.php file, find the following code:

    if (strstr($scriptbasename, "popup") || strstr($scriptbasename, "info_shopping_cart"))
             return ''; // We don't use template for these scripts

    Add your php file that you want STS to exclude and it will not template that file. Note: Add the script name as follows:

    if (strstr($scriptbasename, "popup") || strstr($scriptbasename, "your_script_here")|| strstr($scriptbasename, "info_shopping_cart"))
             return ''; // We don't use template for these scripts

     

    That should do the trick for you.

    Hope this helped,

  4. Okay, maybe that is now the right way to post my question regarding the STS no show i experience.

     

    I just went through the steps you explained to me again BK.

     

    No show still.

     

    A closer look at your original instructions:

    It says:

     

    etc.....

    - i do not have any folder called "catalog" in my installment of osc2.2!

    I have an Includes folder in my main (root) dir plus another Includes folder in my Admin folder, but i assume your Includes folder (next inside the STS folder) and all folders and files thereafter goes (overwrites) the existing osc2.2 Includes main (root) dir folder (that had in my case only a htaccess file in it, nothing else), right??

     

    Step 2,

    Modify osCommerce files

    all these files are also quoted as going into

    catalog\

    first - which i do not have!

    (i used a hosts quick install Fantastico installation for osc2.2)

     

    So, am i having this problem because i have no

    catalog

    folder and hence placed all files just into

    main

    or

    admin and includes

    folders instead???

     

     

    STS has got to be the easiest contribution to install onto osCommerce. If you can't do it, then you might want to consider hiring someone to do it for you (as with any other contribution you may want installed). It only gets tougher from here folks.

     

    Take your time. Follow the instructions. Get to know the osCommerce software BEFORE you try to install add-ons (such as the Simple Template System). Doing this, would asnwer some of the very basic issues that you are experiencing above such as not knowing that when installation instructions mention "catalog", they are actually refering to the location on your server where you have osCommerce installed, either in the root of your server or in a folder (any folder name that you happend to use).

     

    With that said, the STS instructions state that you need to do 3 things:

     

     

    • Upload all of the files included in the "STS" folder to your osCommerce store. No, this does not mean to simply upload the "STS" folder. It means, upload the files/folders INSIDE of the "STS" folder, keeping the file/folder structure in tact.
    • Now you need to edit some core (stock) files of osCommerce. You either do this manually by following the code edits from the instructions or you simply upload the files from the "Files for RC2" folder over your osCommerce files, replacing the originals with these modified files. Again, this does not mean to simply upload the "Files for RC2" folder. It means, upload the files/folders INSIDE of the "Files for RC2" folder, keeping the file/folder structure in tact.
       
      TIP: Instead of making the edits manually and risk making a mistake, use a file comparison tool such as WinMerge or Beyond Compare to compare your core osCommerce files with the files inside of the "Files for RC2" folder. Merge in the differences and then upload these modified files to your store.
    • Configure STS in the ADMIN of your store. Basically, click on the INSTALL button and then click on the "TRUE" button to enable STS. Leave everything else in the default settings until you get used to using STS.

    That's it. As a matter of fact, most of the contributions that you will install in the future will follow the same format above.

     

    One more thing...you should not be using osCv3 for a live store as it is still in development. You should use osCommerce Online Merchant (RC2a) instead. STSv4.6 will work with osCommerce RC2a perfectly.

  5. Is there a plugin that gives a shop own the means to edit the language definitions without having to edit the PHP code directly? I'd like to give a client the ability to edit the messages and such using a form instead of having to sift through the php code the way you have to in a stock installation.

     

    Thanks,

    ~Jordan

     

     

    I think Jack's addon found here would meet your needs.

  6. Hi it was a fresh install, so I went back to the fresh install backup. I uploaded all the files from both folders. It still will not let me edit it. Also I found that none of the Modules can be edited, (shipping, sts payments, or order totals). I can edit other Administration tools, but not the Module. Thank you for your help.

     

    If your shop admin moduels worked BEFORE installing STSv4.6, then look here.

     

    What version of osCommerce are you using?

    If older than RC2a, then look here.

    STS will not work with osCommerce v3.

  7. Hi All,

     

    I wonder if you could help me with creating a new contact us page.

     

    I would like to simply remove the Categories part from all the pages except for the product_info page.

     

    Many thanks

     

     

    This very simple to accomplish using STS.

    1. First, you need to edit a master product_info template to be used for all product pages. In this template, you would need to be sure to have the categories box variable within the template so that the box will be displayed.
    2. Now, make a master index.php template that does not include the categories box variable to prevent the categories box from showing up on any of the category pages.
    3. Make a contact_us.php.html template page with the layout that you desire. If you want to change the content contact form, you would need to edit the actual contact_us.php page itself and any modifications you make will be displayed in the contact_us.php.html template.

     

     

  8. Topic: Contact and About Page Not Showing Content - STS

     

    Hi all

    I've searched this one and not found a solution yet. I've been trying out the STS-latest version and have created my own template, loaded it into the Modules section in the Admin Section and see the home page correctly. If I click on a link to the contact_us.php page it successfully finds and loads the page but none of the code from the page shows in the main area. The page displays identically like the home page. I've read the manual and see that the sts_template.php page has the includes for the header and the footer. I've not included these but don't see any code in them to affect the main area of the page.

    Can anyone direct me in the right direction here?

    Thanks,

    Frank

     

     

    Did you include the $content$ variable tag within each of the template pages?

  9. how to to 2nd step... i cant find Add On Header Tags Controller

     

     

    Here are some Google search tips:

     

    Search the specific STS version 4 support thread:

    site:www.oscommerce.com/forums [Contribution] sts v4

    site:www.oscommerce.com/forums [Contribution] sts v4 $templatedir

    By adding the search phrase "$templatedir", Google will search the entire STSv4 Forum thread for that phrase.

     

     

    Search the entire osCommerce forum:

    site:www.oscommerce.com/forums sts

    site:www.oscommerce.com/forums "insert your search text here without the quotes"

    By adding the search phrase "sts", Google will search the entire osCommerce Support Forum for that phrase.

     

     

    Search the contributions:

    site:http://www.oscommerce.com/community/contributions simple template system

    site:http://www.oscommerce.com/community/contributions "insert the search contribution name here without the quotes"

    By adding the search phrase "simple template system", Google will search the entire osCommerce contributions for that phrase.

     

    So...

    Do a Google search for: site:http://www.oscommerce.com/community/contributions Header Tags SEO

     

    And that will return the following.

  10. BK, i have used your link in your STS file to post for both times i posted, but i noticed last time when i was looking for answer to my questions that it seemed to be placed in some Forum category with a totally different name.

    I think something in this forums structure redirects to this particular

    # osCommerce Community Support Forums

    # > osCommerce Online Merchant v2.x

    # > Add-Ons

    # > Templates and Images

    sub category, not sure why, but i will try your suggestions over the weekend and than try again to access the correct sub directory to post any further questions if necessary...

     

     

    Once you get to the correct support thread (STSv4 Forum link in my signature below) you would need to click on the "REPLY" button to any of the posts in that thread to post YOUR question and have it display in that thread.

  11. Dear bkellum,

     

    i a newbie at this forum.... hi all... i just install STSv4 & use template freeosc_061...

     

    i got 2 problem... 1 is my 1st letter out 2 time.. please visit http://rndtechs.com/...ex.php?cPath=21

    Let's See What We Have Here Let's See What We Have Here

     

    how to remove one?

     

     

    another 1 is in product details no button buy?

     

    sorry to ask coz i cant find inside forum

     

    How to remove "Let's See What We Have Here":

    1. Remove method 1
    2. or Install Header Tags Controller and control that text as well as gain search engine benefits.

  12.  

    Should I post problems with STS there?

    Isn't it a bit unclear to post every issue in one thread?

     

    Nope. All STS related questions SHOULD be in one thread so that all STS users can benefit. You can then search the thread to find what you need.

     

    Here are some Google search tips:

     

    Search the specific STS version 4 support thread:

    site:www.oscommerce.com/forums [Contribution] sts v4

    site:www.oscommerce.com/forums [Contribution] sts v4 $templatedir

     

     

    Search the entire osCommerce forum:

    site:www.oscommerce.com/forums sts

    site:www.oscommerce.com/forums "insert your search text here without the quotes"

     

    Search the contributions:

    site:http://www.oscommerce.com/community/contributions simple template system

    site:http://www.oscommerce.com/community/contributions "insert the search contribution name here without the quotes"

  13. The blind leading the blind....

     

     

    You guys miss the most important instruction of them all...POST IN THE STSV4 THREAD! This link is provided in the STS User Manual as well as posted in my signature below (STSv4 Forum). I provide FREE support in that thread only so as to keep all STS related questions in one place.

     

    On to the above posts....

     

    STS has got to be the easiest contribution to install onto osCommerce. If you can't do it, then you might want to consider hiring someone to do it for you (as with any other contribution you may want installed). It only gets tougher from here folks.

     

    Take your time. Follow the instructions. Get to know the osCommerce software BEFORE you try to install add-ons (such as the Simple Template System). Doing this, would asnwer some of the very basic issues that you are experiencing above such as not knowing that when installation instructions mention "catalog", they are actually refering to the location on your server where you have osCommerce installed, either in the root of your server or in a folder (any folder name that you happend to use).

     

    With that said, the STS instructions state that you need to do 3 things:

     

     

    1. Upload all of the files included in the "STS" folder. No, this does not mean to simply upload the "STS" folder. It means, upload the files/folders INSIDE of the "STS" folder, keeping the file/folder structure in tact.
    2. Now you need to edit some core (stock) files of osCommerce. You either do this manually by following the code edits from the instructions or you simply upload the files from the "Files for RC2" folder. Again, this does not mean to simply upload the "Files for RC2" folder. It means, upload the files/folders INSIDE of the "Files for RC2" folder, keeping the file/folder structure in tact. TIP: Instead of making the edits manually and risk making a mistake, use a file comparison tool such as WinMerge or Beyond Compare to compare your core osCommerce files with the files inside of the "Files for RC2" folder. Merge in the differences and then upload these modified files to your store.
    3. Configure STS in the ADMIN of your store. Basically, click on the INSTALL button and then click on the "TRUE" button to enable STS. Leave everything else in the default settings until you get used to using STS.

    That's it. As a matter of fact, most of the contributions that you will install in the future will follow the same format above.

     

    One more thing...you should not be using osCv3 for a live store as it is still in development. You should use osCommerce Online Merchant (RC2a) instead. STSv4.6 will work with osCommerce RC2a perfectly.

     

    And last but not least...POST IN THE STSV4 FORUM. PLEASE!!!!

     

     

  14. Hi Sorry if this is not the right place for this, I'm a newbie.

    I just finished installing STS V4.6, Had an error but I got that fixed. Now in admin under "Do you want to use Simple Template System?" I change it to true and update it, it shows up as false? What am I missing? Thanks

     

    ~PWPB

     

    Edit= I see I can not change any info on this, it keeps going back to default.

     

     

    You may have uploaded a file to the wrong folder or you did not complete the installation. Use a file comparison tool such as WinMerge or Beyond Compare to compare the files on your server with the files from the contribution.

     

    Note: You need the files in both the folders "Files for RC2" and "STS" to complete the installation. The files in the "Files for RC2" can be uploaded if your store has not be modified in any way (a new osCommerce installation), otherwise, use these files to compare to where you need to make the necessary code edits.

  15. I keep following links to download this STS 4.6 addon.. but I cannot for the life of me seee where the download is.. all I see are these darn threads about it all.. where is the actual download >?

     

     

    Click on the STSv4.6 link in my signature below. You can also go to the "Add-ons" link at the top of this page and it will take you to all of the available add-ons. You will find Simple Template System listed as one of the if not top downloads. It is listed #2 overall downloads since the beginning of osCommerce.

  16. I have the same problem with this contribution, i have followed your instructions and i have ask you which ftp client to use i found one and used that and still the same thing. files are install in the right folders and the files that need modifing have been because i have other contriubtions install its not so simple for me .

     

    Thank you for you time on this matter.

     

    Regards dj

    smile.gif

     

    There are plenty of FTP programs and I didn't think it was the purpose of this forum to promote one over the other. Try Filezilla.

     

    Regarding your issue being the same as the one above just means you both may have made the same error in your installation.

  17.  

     

    I have innstald a fresh copy and the sts module but why can't I innstall? the infoboxses is missing. please help. thank you

     

    What does your admin/modules.php file look like? Did you compare it with "Files for RC2"/admin/modules.php to see where your error was located?

     

    Also, did you upload ALL OF THE FILES within the "STS" folder to your shop's "includes" folder, especially the includes/modules folder & files?

     

    thumbsup.gif You are showing an incomplete installation of the STS contribution which requires two parts:

    1. Upload each of the "new" files (STS)

    2. and modify each of the effected osCommerce core files (Files for RC2).

  18. Oky doky Bill i'll print off the instruction. I must say i'm upload the file one by one via cpanel as my site have a few mods done to it and this way of uploading has always work for me in the past. But try ,try again i shall but this wan't be last you'll hear from me i bet blush.gifrolleyes.gif

     

    Regrads DJ

     

    ps thank you

     

     

    That is not a reliable method of uploading files. You should purchase yourself a good FTP Client program.

  19. Hi Bill,

    Again i followed your instructions. compared files check and checked again to make sure that they were in the right folders catalog or admin and still no luck on the modual page the install bax is higher that others ie you can see the gray bar with a word in it just above the button but the box with button is over the bar almost 3/4. Realy need this to work but getting frustrated.

     

    regrads DJ crying.gif

     

    Yes, it can be frustrating trying to find out what you did wrong. If you truly feel that you did everything correctly, then it may just be a faulty FTP upload. Try uploading the files again or get a more reliable FTP program. This addon has worked for a ton of users and it wouldn't be in the top downloads if it didn't work for them.

     

    In my opinion, STS has got to be one of the easiest contributions to install so focus on the installation instructions and keep trying.

     

    Good luck.

  20. Hello!

     

    I've a question regarding STS:

     

    Is it possible to create a new_products page within STS and modify it to my liking (just like the other pages)?

    If so, do I have to create any classes or something like that in the STS-files to be able to create a "new_products.php" page in STS?

     

    Regards, Maxiimilian.

     

    Yes, you can create a template for this page that will effect everything but the "content" (stuff in the middle). If you wanted to modify the content, you would need to edit the actual new_products.php script.

  21. So i read the install.html file and found it confusing.

    What do i do here, my Fantastico installation had the

    Catalog

    folder with only an htaccess file installed.

     

    So, i installed first everything under

    2.3 Copy new files

    and after that everything under

    2.4 Modify osCommerce files

    for the 2.2 RC2 version i have just installed brandnew.

     

    Than i went to

    3. Configuration

    checked and refreshed my Admin panel and opened the

    Modules

    tab - and there is no STS menu showing in there - little Rud is lost here, everything so easy with Wordpress, not with this one though, anyone any idea why this happened - or even better, how to get it right??

     

    Installing STS is very easy as well. Be sure to copy the files keeping the same folder structure within the folders (Everything within the STS folder, but not the STS folder and then modify the files that need to be modified (existing files within the osCommerce core files).

     

    I provided a nice set of files already modified in the contribution for you to compare with just in case you got confused. Get yourself a good file comparison program to compare your files installed on your server and the files that came with the contribution to see where you made your mistake.

     

    NOTE: You should post all STS related questions in the STSv4 Forum thread (link is listed in the STS User Manual as well as in my signature below).

  22. Thanks.. but nothing yet...

     

    I would like to understand the error message. The file 'includes/classes/sts.php' exists, and is the new one provided in the contribution package. I don't know why appears this message: (include_path='.;C:\php5\pear')

     

    Some idea?

     

     

    The error is telling you that you are missing some files or the file that it is looking for is in the wrong folder.

     

    The folder structure should me maintained as set in the contribution.

    For example, you should ftp everything inside of the STS folder, which would be the includes folder and everything in it to your catalog folder of your shop (http://mystore.com/catalog/).

     

    Then you need to either FTP everything inside one of the osc version folders (Files for MS2, Files for RC1, or Files for RC2) to your catalog folder of your shop (http://mystore.com/catalog/).

     

    Your catalog folder could be called anything from catalog, shop, store, or could be the very root of your domain such as http://mystore.com/.

  23. Sirs, could you please help me with this error (i did manual installation):

     

    Warning: require(includes/classes/sts.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\tienda\admin\includes\application_top.php on line 174

     

    Fatal error: require() [function.require]: Failed opening required 'includes/classes/sts.php' (include_path='.;C:\php5\pear') in C:\wamp\www\tienda\admin\includes\application_top.php on line 174

     

    Thanks in advance.

     

    Yamal.

     

    Check once again that you did upload all of the new STS files as well as make the correct code modifications to the existing osCommerce files in your shop.

    thumbsup.gif Tip: Use a good file comparison tool to check your modified files with the modified files provided in the contribution.

×
×
  • Create New...