Jump to content

CharlieSummers

Members
  • Content count

    14
  • Joined

  • Last visited

Profile Information

  • Real Name
    Charlie Summers
  1. CharlieSummers

    [Contribution] STS v4

    Your shared hosting company should allow you shell access (SSH, not telnet) to your server area; if it doesn't, you should find another hosting partner. (I routinely edit directly on the server with Crimson Editor - other editors also allow editing files via FTP, eliminating Windows...er...anomalies.) (If you have many websites you manage, you should consider a colo and root the box; I cannot tell you how many times managing my own machine has saved me from someone else's knuckleheaded mistakes...of course, I then have to deal with my own knuckleheaded mistakes...) As a general question about the STS system (not targeted to TracyS), can I assume there is no direct answer to my earlier question on acquiring direct access to the InFoBox object's data and methods through the template? (While I am currently trying to find the frelling title of the frelling infobox, having access to the entire object would eliminate future issues...)
  2. CharlieSummers

    [Contribution] STS v4

    I wouldn't use Windows for a server, prefering a stable operating system. But if I did, I'd go here.
  3. CharlieSummers

    [Contribution] STS v4

    (*sigh*) Clearly you didn't do a "full text search," since I did and found what you seek. And seriously - if you're talking about your #2, two of us have already told you (one publically, one privately) that it is in the file: /catalog/includes/languages/english/checkout_success.php:define('TEXT_SUCCESS', 'Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days.'); This is clearly not an STS4 issue. If you are referring to #1, it is defined in variables in two seperate files. A simple grep -r will show you which files. This is not an STS4 issue, either. As for number 3, third verse same as the others - nothing to do with STS4. Please learn how to use grep -r, and post to the appropriate threads. This thread is large enough without being cluttered with questions having nothing to do with the thread topic.
  4. CharlieSummers

    [Contribution] STS v4

    Hum...another minor problem... If I activate templates, the category "pages" don't respect the Configuration->Images->"Image Required" setting and display a broken image. Setting Modules->STS->"Use Templates" to false eliminates the problem. Is it something I did in screwing around with the templates? Seems to be using the standard sts_template.html $content replace, and although the list itself is coming from infobox_product_listing.php.html, the head ("Let's See What We Have Here" and graphic) doesn't seem to be something I'm mucking with. (I'm already planning on a workaround using a blank image, but I wouldn't mind tracking this down...)
  5. CharlieSummers

    [Contribution] STS v4

    It's ok; you aren't expected to be 24/7 unpaid tech support. I appreciate the time you put in, so you won't ever be rushed by me. (*sigh*) That won't work. I'd ask you to trust me, but since I don't have an honest face, let me show you the code I'm using for the header of the Categories box: <table border="0" cellpadding="0" cellspacing="0" style="background: url(images/left_bg.gif)" width="200"> <tr> <td><img src="images/left_left.gif" width="21" height="29" border="0" alt=""></td> <td><img src="images/spacer.gif" width="7" height="1" border="0" alt=""></td> <td width="170"><div class="lb">PRODUCT CATEGORIES</div> <div class="lw">PRODUCT CATEGORIES</div></td> <td><img src="images/left_right.gif" width="6" height="29" border="0" alt=""></td> </tr> </table> As you can see, I am printing the title over the background graphic twice, using two completely different CSS styles - I think it's a cool effect, but that's kinda beside the point. Clearly, altering infoBoxHeading isn't going to do me a lick of good in this situation. (And imagine the yuck factor if I replace "PRODUCT CATEGORIES" above with $headertext, which includes its own table row and cell...been there, have tears.) Besides, even if it looked fine, I want to strtoupper() the string - and again, I know, I know, I can replace the declarations, but it shouldn't be necessary (and would screw up any other templates I might have that would prefer word-case). The question reverts back to, "How can I get the box title?" This shouldn't be this tough...should it? (And before you suggest it, I know I can make a seperate template for all of them and hard-code the box title as I did for the Categories box, or other work-arounds. But they all feel kludgy...I mean, surely the unadulterated title is sitting somewhere in the object...isn't it? We be programmers...let the computer do the work!) THAT'S THE ONE! (Sorry, too much excitement. At least now I can fix that one easily.)
  6. CharlieSummers

    [Contribution] STS v4

    There almost has to be...it is automagically taking on the attributes of the general infobox.php.html happily enough (it looks like the sidebar boxes, with a seriously screwed-up graphical header/title), so there must be some way to override the puppy. (I hope?)
  7. CharlieSummers

    [Contribution] STS v4

    Ooh, that's one I missed...but nope, that's not it. And it isn't catalog.whats_new.php.html, either. So far I've tried: catalog.new_products.php.html catalog.product_listing.php.html (actually for category lists, etc.) catalog.whats_new.php.html infobox.new_products.php.html infobox_product_listing.php.html infobox.products.php.html infobox.whats_new.php.html ...with no joy yet. (It has to be there somewhere, though. I keep adding HTML comments so I can see who's being handled by what, and eventually I have to stumble on the right name...) Problem with changing the class is, I can't get to the class directly from the template (.php.html) file. I tried a few "simple" data reads and things get ugly. I am definitely uncomfortable altering tableBox->infoBoxHeaderTemplate without spending a whole lot more time getting comfortable with the STS-altered tableBox class. I would have thought something like this would have been easily-accessable...but then, osCommerce tends to be a pretty wild hybrid of HTML, PHP, and CSS, so I'm not surprised it isn't. Heck, you'd think the raw $content field would be accessable, too, but... As I said, I could do that, and may have to, but they would all be copies of themselves except for the replacements of hard-coded titles, and that seems silly since the unaltered title has to be sitting around somewhere. Yeah, but there's no way I've been able to discover to find out which one we're doing from within the template file. This is the stickler for me...if I had a simple way to know who was calling, I could deal with answering within conditionals. Appreciate the thoughts...if you think of anything else, please share!
  8. CharlieSummers

    [Contribution] STS v4

    My apologies if this is dealt with elsewhere...I've been searching up a storm, and have managed to answer most of my questions between Google and the documentation, but there are two answers I just can't find. 1) Is there a simple way to get the box title? $headertext is replaced with all of the data including the table and worse for me assigns the infoBoxHeading class, and while PHP code will run in the infobox.php.html file I can't find any way to get to the object itself from within the template. I want to do some manipulation of the title (strtoupper() for starters) and assign it my own class before dropping it on the graphic. I surely missed something, since it seems it should be really simple to grab the title string. (The only infobox I've been able to get exactly the way I want is the Categories, and that because I'm using the UL_Categories add-on, and I manually set up the box header. I suppose I could make a bunch of different infobox templates in the boxes/ directory and set each box up as well, but since I plan on doing the same thing to all of them, it seems...wasteful.) 2) I know I missed a big one here, and feel really stupid asking, but I cannot find the infobox template name for the product list box used on the "standard" front page as the "New Products" box. I've tried infobox.new_products.php.html, infobox_product_listing.php.html, infobox.products.php.html...well, you get the idea, but still it's using infobox.php.html which squashes it up pretty good. ;) If I missed the obvious, please feel free to trout-slap me as necessary.
  9. CharlieSummers

    [Contribution] Independent SEO URL Validation

    Am in the process of reworking an old storefront; mirrored existing database then updated, installed fresh testbed of RC2 so I can afford to screw around without hurting the currently "real" store. Installed Ultimate Seo Urls 2.2.2E Fixed RELOAD to testbed, then installed Independent SEO URL Validation 1.0.2 as per instructions (including "If you use this with 2-2.2e..." - checked that twice to make sure I didn't miss rem-ing any validate lines). Categories immediately went to heck-in-a-handbasket; they were being reported as "http://<<site>>/catalog/-c-NN.html" (N=number) which redirected as 404 to the index. Fix was to remove modified 2.2.2E seo.class.php and replace with 2.1d seo.class.php - everything fine, categories now properly reporting "http://<<site>>/catalog/<<cat-name>>-c-NN.html" and properly redirecting if given /-c-NN.html. Dunno if it means anything, but figured I should report it.
  10. Although I've been working with PHP/MySQL for years, I'm a newbie to osCommerce so _please_ forgive me if my question regarding this module is really simplistic. I've read through the entire thread, and this doesn't seem to have been answered. I am putting together a store where I want product groups to have seperate shipping charges. That is, for Widgets (any widget, whether round, square, or pointed, each of which are seperate items) I want the shipping rate to be, say, $1 for the first, $0.75 for each additional. For WingDings, the shipping price might be $2 for the first, and $1.25 for each additional. What I'm not clear on is whether this module will give me that; will this module cross items for using the additional shipping rates? (Item WID_001 and WID_002 are in the cart; shipping should total $1.75.) My thanks for your indulgance.
×