Jump to content

smashing

Members
  • Content count

    85
  • Joined

  • Last visited

1 Follower

Profile Information

  1. To be truthful, I never understood that whole part of ceating my own class. Most contributions are simple drag/drop, changes to existing files etc but not creating new classes I don't know what to do here!!!! Let me go thru the instructions from the manual one by one. 1.Choose the plugin that is closest to your desired functionality to extend. Ok I want to have multiple dropdowns so... 2.Copy the plugin file you want to extend to a new name in catalog/includes/classes. I copy pad_multiple_dropdowns.php to my catalog/includes/classes directory. I'm not changing the name. 3.Change the require_once line and the extends part of the class definition to refer to the class you have chosen to extend. ???? Please help me with this or post an example of something you have done. 4.Update the class name to match the file name of your new plugin. Since I have no clue on number 3 above, I don't know where to update the class name in this step Could you Ralph or anyone else post a sample of actual files how it should be done?
  2. I am having trouble installing this contribution - please help. To quote from the install instructions manual included in the download, in the part that reads:Appendix: Creating a Product Attribute Display Plugin: My question: in which file is this change to be implemented?
  3. smashing

    [contribution] Simple Template System (sts)

    Hi Thanks for replying. What I do find is this: If a user is logged in they will keep their cookie, and their osCid will successfully follow them from page to page as long as they click on links I have provided in the sts_template (all of those links I make sure to link with $sid at the end of course) except if they click on any link in the the $catmenu - bingo they lose the $sid and have to re-login to checkout for example. Please check out the site for yourself overhere (still in developement) Were can I see your site for your example?
  4. smashing

    [contribution] Simple Template System (sts)

    Yes I am but I can't add it to the catmenu's form I tried changing the name of the form to incoprporate $sid and i've tried appending it to the values sent as GET in the form but haven't had good results. I'll elaborate if you want me to.
  5. smashing

    [contribution] Simple Template System (sts)

    I tried searching for an answer to this one but it doesn't look like it has bugged anybody yet which is weird. Anybody know how to add the osCsid to the $catmenu? It is not being included and hence the osCid is lost. PLEASE HELP!!!
  6. Post # 46 of this thread Post # 47 of this thread (reply by Matt) My question: Which file are these changes to take place? Has anyone had any luck naming images with the order # appended to it? Please help!
  7. smashing

    [contribution] Simple Template System (sts)

    Hi everybody, First of all, this is worth noting: STS's readme file says that the $specialfriendbox will display either the Specials Box or the Tell A Friend Box (depending on page viewed). Interestingly, so will the $bestseller Box display the Product Notification Box on certain pages! This is not noted in the readme file. Now to my particular problem, I made a couple of different templates for viewing different categories, and placed them all in the includes/sts_templates directory. I find that the $bestseller box will not be displayed at all on an index.php page if we're showing a particluar category/sub-category. In other words it will only show best seller information on an index.php page if the index.php page requested is exactly that: the home page itself. Any ideas where to fix this?
  8. This post is regards to the STS contribution by Brian Gallager. First of all: STS's readme file says that the $specialfriendbox will display either the Specials Box or the Tell A Friend Box (depending on page viewed). Interestingly, so will the $bestseller Box display the Product Notification Box on certain pages! This is not noted in the readme file. Now, I made a couple of different templates for viewing different categories, and placed them all in the includes/sts_templates directory. I find that the $bestseller box will not be displayed at all on an index.php page if we're showing a particluar category/sub-category. In other words it will only show best seller information on an index.php page if the index.php page requested is exactly that: the home page itself. Any ideas where to fix this?
  9. smashing

    [contribution] Simple Template System (sts)

    Hi Brian , I Simply LOVE your contribution - In my eyes I really think its THE most important contribution out there and it should be standard in the next release of OSCommerce!!! Here is the URL to the site It's almost up and running, and as you see, I've totaly changed the whole 'look and feel' you'd never guess it's OsCommerce! Anyway I see 1 little problem at the moment. When you first visit the page the following is visible right at the bottom of the page: </ This is because for some reason the word 'html' is s stripped from the last tag on the page so instead of the closing </html> tag you just get </ . On an Macintosh I've found that (although the source code is screwed up) the browser doesn't display it and seems to process the page correctly even without the closing </html> tag, but on a Windows OS </ is clearly visible. Even more interesting is the fact that if refreshed the problem will disappear! Any idea what to do?
  10. smashing

    Infobox Skin Manager v2.0

    OOPS: "That'll teach me to type out the install instructions with such haste!" What you probably meant was: "That'll teach me to not type out the install instructions with such haste!" Anyway, finished installation here, and now am getting this: Warning: Failed opening 'includes/boxes/categories.php' for inclusion (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 45 Warning: Failed opening 'includes/boxes/manufacturers.php' for inclusion (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 52 Fatal error: Failed opening required 'includes/boxes/whats_new.php' (include_path='./:/usr/local/lib/php') in /www/catalog/includes/column_left.php on line 56 I think this is due to folder "boxes" now being empty?
  11. smashing

    Infobox Skin Manager v2.0

    I'm currently in the process of installing your contribution, I bumped into a typo in your readme.txt file. Where you have: in /admin/includes/languages/english add: I think you really meant to say: english.php
×