RE: propose a code change in box structure

burt <[email protected]>
Newsgroups gmane.comp.web.oscommerce.suggestions
Message-ID <c31edb84ce36088a7e60deb1ae726e68@osCommerce-Forums>
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=191947#191947
----------------------------------------------------------------

I have stripped Osc right down and removed the class structure for all boxes...for me this is easier to change a sites look.

Here is my categories box:

[code]
<?php
// removed lots of PHP and comments for this thread to make it readable
?>
<!-- categories //-->
          <tr>
            <td class="infoBoxHeading">
<?php
  echo BOX_HEADING_CATEGORIES;
?>
            </td>
          </tr>
          <tr>
            <td class="infoBoxContents">
<?php
// removed lots of PHP for this thread to make it readable
echo $categories_string;
?>
            </td>
          </tr>
<!-- categories_eof //-->
[/code]

I have stripped out the majority of the code, just for this thread.  But it works in exactly the same way as any other box.

.css is very simple.  By doing this I have a w3 validated Oscommerce Shop, which has to be a good way forward.  My next task is to fully change Oscommerce to xhtml but this is in the future sometime - it's not important just now.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.