Latest News: (loading..)

Analog

Members
  • Content count

    5
  • Joined

  • Last visited

1 Follower

About Analog

Profile Information

  • Real Name
    Chris Faust
  1. Nevermind the above, figured it out.
  2. Is there a way to do this in the current version? Inside function sts I tried if (strstr($scriptbasename, "checkout")) { $this->display_template_output = false; } else if ((MODULE_STS_DEFAULT_STATUS == 'true') || ($this->display_debug_output == true)) $this->display_template_output = true; else { $this->display_template_output = false; return; } But that didn't work. TIA
  3. Thanks for the extra info Bill, I don't think that 1st option would do it, I don't know how I could define everything with references like that for it to work. It might be possible but I can't wrap my head around it. The 2nd thing I would love to do, but again I can't figure out how to make a content template out of the index page, I tried to create one and point the template pointer in the index.php page but I could never get the content area to show up. Maybe it will become a little clearer when/if I get down to the product level and use it for the details page. As far as those other 2 modules, I saw them and it seemed like only one of them really had changed things but then it also said that in a lot of things there was still a mix of old and new. I had the impression that it might get me closer but wouldn't be the end all. Thanks for the bit about the infoboxes, I'm not having any issues with those as it was the first thing I tackled (although that was probably what I should have done as what I did was make a new function in includes/classes/boxes called "nonTableBox" and used that everplace that had a call to "tableBox"). But that did lead me to sts_index.php where I found function replace (&$template) { $template['content']=sts_strip_content_tags($template['content'], 'Index content'); } Commenting that out at least keeps the content area intact as it is in index.php, so now at least I can hack away at index.php to change the look and feel. I feel like a train going down the tracks to oblivion, hackity, hackity, hackity.... No updates for me as everything is tooo altered :) Thanks!
  4. Thanks Bill, that's helpful (and I'm sure will be useful in the future), unfortunately that doesn't seem to be my problem. I think its something in sts_strip_content_tags or the like, it appears to be the result of a combination of things though. I'm starting to get the feeling that trying to have 100% control over the entire content area in the product listing is going to be next to impossible? If I look at index.php around line 237, I can see the product list start, it looks like <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"> <?php echo HEADING_TITLE; ?> </td> If I try to comment out all that HTML then really weird things happen where my starting comment is gone but the ending is left. It looks like sts_strip_content_tags is getting rid of that 1st cell and table, so instead I have to do <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <!-- <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"> --> <?php echo HEADING_TITLE; ?> <!-- </td> --> That at least gets comments out what I want from index.php, but something someplace is still adding a table around things because what I end up with is <!-- start Index content //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <!-- <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"> --> Let's See What We Have Here <!-- </td> --> I can't figure out for the life of me where or how that block of code is getting that top table tag, although it seems like the: <!-- start Index content //--> Is coming from "sts_strip_content_tags" but as I remember (in one of the dozens attempts I've made to track this down) I think the table is in there already when $tmpstr is passed to that function, however its not in index.php and there is nothing I can see before that code section in index.php that would draw it out. Sooo frustrating!!!!!! :)
  5. Hello, Forgive me as I know this has been asked before (I've been searching for hours), but I haven't yet found the answer. I'm using STS 4.6 in multipage mode using the index module etc, the plan it to totally re-skin the whole site. I need to completely remove all html tables, rows, cell etc from everything. What is the best way to go about this in the category/products page (what appears when you click on a category)? In other words, how can I skin what is getting defined for $content$? I see that some of it is in index.php and I could do what is needed in there, but then somewhere along the way STS is putting some things in its own table (or it's happening someplace else as the outer table that is appearing is not in index.php). Any ideas? I'm new to OSC, but I'm slowly getting it. I have STS serving up my custom cat pages, figured out how to do the infoboxes to get rid of all the default html etc but these product/category listings seem like a different animal. TIA!