-
Content count
4,854 -
Joined
-
Last visited
-
Days Won
2
Everything posted by bkellum
-
[contribution] Simple Template System (sts)
bkellum replied to DiamondSea's topic in Templates and Images
This is most likely from uploading the wrong application_top.php or sts.php in the wrong folder on your server. -
[contribution] Simple Template System (sts)
bkellum replied to DiamondSea's topic in Templates and Images
STS does not require any changes to the configure.php files. If you are having the same problem as the others you listed, it is because of user error on your part. You need to focus on the installation and install STS completely and accurately. -
Add a background color to div id="content-wrapper" which is within your template stylesheet.
-
Link to STS support page
-
I answered your question in the STS thread.
-
Use your web browser's developer tools to show you what CSS style is being used for that or any other portion of your site. Then use that informatio to modify that style.
-
Turn off the Product Info template feature for STS and see if it works then. If it does, then you need to add the customized code to the includes/modules/sts_inc/product_info.php. STS Newbie Link
-
Need to insert unique content into a category or subcategory page
bkellum replied to hostricity's topic in Templates and Images
Yes, there are no database changes in any STS versions or with this one. STSv4 and higher will work perfectly with all versions of HTC SEO. You are also perfect fine with staying withy STSv4.5.8 as it has been proven to be very stable. STSv4.6 allows you to easily switch between templates in the admin via an nice drop down menu and also provides more flexibility in your designs. Come visit the official STSv4 Support Forum (link is in my signature below: STSv4 Forum). -
Need to insert unique content into a category or subcategory page
bkellum replied to hostricity's topic in Templates and Images
You are most likely using STSv4.5.8. If you use a file comparison tool such as WinMerge or Beyond Compare, you can very easily upgrade your version of STS to the latest STSv4.6. Note: I will be uploading a new version by the end of the week; STSv4.6.2 which includes some bug fixes and a newer method for creating module infobox templates. -
Need to insert unique content into a category or subcategory page
bkellum replied to hostricity's topic in Templates and Images
Will not effect SPPC in any way. -
Need to insert unique content into a category or subcategory page
bkellum replied to hostricity's topic in Templates and Images
The site administrator's didn't take into account that the current method could quickly get out of hand with so many categories/subcategories. It works just fine for a shop with few of each but that is not the case here. I think the best option is to use HTC SEO contribution. This will provide a very easy method for adding descriptions to each category/subcategory/product page within the Admin. It simply adds extra fields to the category/product page creation process that the shop owner can add via the Admin and STS will automatically add it to the $content tag of a single category or product page. This would allow you to get rid of all of the numerous category/subcategory templates and have a single home page template (index.php_0.html) and a single category template (index.php.html) and a single product page template (product_info.php.html). The extra benefits of installing HTC SEO is that is also provides the necessary Search Engine Meta Tags needed for your shop to be found by Google, etc. Highly recommended as it works flawlessly with STSv4.5 and above. Hope this helped you out, -
The fix is shown in post #5900 above. This would not have anything to do with any issues as the line that shows the version inwhich this code was implemented is a simple comment ( anything after the forward slashes is not rendered in PHP). The correct fix is the link I posted above on how to fix the osCommerce bug regarding navigation history.
-
Guess you didn't see my post #5900 above. The other issue is a osCommerce issue not related to STS. See this post:
-
Rob, If you recently downloaded osCommerce, you should use the RC2 folder. Anytime you manually install a contribution that also provides the files that need to edited as well, it helps to compare the two to see where things may have gone wrong. With that said, the error lies in my instructions. I mistakenly cropped some of the code out in the "cut and paste" when making the manual instructions. Make sure you did not add an extra } at the end of that code segment. It should look like the following: eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');"); // STS V4.6 drop start } else { if($key == 'MODULE_STS_TEMPLATE_FOLDER'){ $dir_name = array(); if ($handle = opendir('../'.MODULE_STS_TEMPLATES_FOLDER.'/')) { while (false !== ($file = readdir($handle))) { $pos = strpos($file, "."); if($pos === false){ $dir_name[] = array("id" => $file, "text" => $file); $i++; } } closedir($handle); } $keys .= tep_draw_pull_down_menu('configuration[MODULE_STS_TEMPLATE_FOLDER]', $dir_name, $value['value']); }else{ $keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']); } } // STS V4.6 drop end $keys .= '<br><br>'; } $keys = substr($keys, 0, strrpos($keys, '<br><br>'));
-
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.
-
[contribution] Simple Template System (sts)
bkellum replied to DiamondSea's topic in Templates and Images
Seeing how "coolwool_1221" has never so much as even posted in the forums, I highly doubt his upload was valid to begin with. Seeing that there IS NO missing folders in the previous download (Feb 2010), I'm sure this was nothing more than a virus attack or attempted spam. -
http://forums.oscommerce.com/index.php?showtopic=295660&st=3720&p=1227006entry1227006 Important Posts for the STS newbie: Post #3755: http://forums.oscomm...p;#entry1226986 Post #4326: http://forums.oscomm...p;#entry1303555 Post #4974: http://forums.oscomm...p;#entry1361366 Post #3772: http://forums.oscomm...p;#entry1227769 Post #3757: http://forums.oscomm...p;#entry1227006
-
Yep. Look in the "docs" folder that came with the contribution. Included, is a flow chart for each of the modules and how STS works with templates with that particular module is installed.
-
You should visit the STS Power Pack site (a site dedicated to all STS add-ons) as it provides a nice tutorial on how to do this.
-
Yes. Just create a template page for each of them and then leave out the $content$ variable.
-
STS 4.6 and images as options contribution
bkellum replied to designerdecor's topic in Templates and Images
Hi Kelly, You should post in the proper support thread for STS related questions. The above would be an user error on your part. -
The links have always worked perfectly for me. Maybe your browser or PC??
-
Hello Steve and welcome to the STSv4 Support Thread. Unlike the comment you recieved in your previous post, STS is the most downloaded contribution from osCommerce.com. With that said, there are MANY users who use and enjoy STS. Just thought I would throw that out there at no charge Note: Unless you are making a "content" template, there is no need for a includes/sts_templates/*your_template_folder*/content folder. Oh, and by the way, unless you are adding a "static" page to your site, you will always need the $content$ variable in your template. Take a look at the following posts regarding naming your template: http://forums.oscomm...3entry1400113 If you are still having problems after that, please come back and let us know. Hope that helped,
-
Your problem is completely USER ERROR. Your installation of STS is not working correctly. THE "MODULES" DIRECTORY IS NOT THE CORRECT FOLDER TO UPLOAD TEMPLATES!!!!!!!!!!!!!!! PLEASE INSTALL STS AS PER THE INSTRUCTIONS AND THEN TEST. Select the sample template folders from the drop down menu in the admin and veiw each template set in a browser. If everything is OK, then upload any new STS templates to the http://www.*YOUR_SHOP.COM*/*YOUR_SHOP_ROOT_FOLDER*/includes/sts_templates/**UPLOAD_YOUR_COMPLETE_NEW_TEMPLATE_FOLDER_HERE** Get your template folder out of the includes/modules/ folder.
-
Your post was already answered in the STS Support Thread. Please do not double post.