Results 1 to 10 of 2019

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    Reno, NV
    Posts
    123
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Ok, love the mod.

    One change that I made. I currently do not have a Fax for my business, so there is no reason for me to have an empty fax on my invoice.

    I changed line 89-90 on super_invoice.php to this.
    <td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo HEADER_FAX;} ?></td>
    <td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo STORE_FAX;} ?></td>

    so that if down the road I add a fax, and fill the info in the admin, that the information will then automatically show on my invoices, but for now, it doesnt.

    Greg

  2. #2
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    That last suggestion (good one) contains <td> tags...

    People should realize and keep in mind that the default template system of zen is strongly and swiftly moving away from tables, and encouraging the much better system of using <div> tags and css to format/position them. It'll be helpful in this effort if contributions followed suite.

    - Steven

  3. #3
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Super Orders 2.0

    Quote Originally Posted by s_mack
    That last suggestion (good one) contains <td> tags...

    People should realize and keep in mind that the default template system of zen is strongly and swiftly moving away from tables, and encouraging the much better system of using <div> tags and css to format/position them. It'll be helpful in this effort if contributions followed suite.

    - Steven
    I agree <div> is the way to go, but the problem is its just not controlled enough, sometimes you need a hardened way of doing things. Perhaps if w3 starts supporting align again, as well as width, height, and borders, but then that would defeat the purpose.

  4. #4
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    Quote Originally Posted by qhome
    I agree <div> is the way to go, but the problem is its just not controlled enough, sometimes you need a hardened way of doing things. Perhaps if w3 starts supporting align again, as well as width, height, and borders, but then that would defeat the purpose.
    I'm not sure what you mean by "controlled". You are offered a VASTLY superior array of tools for formatting and positioning with css versus standard html.

    The only "good" reason to resist (it is futile though) is being too lazy to learn :) CSS is very tricky for the uninitiated and it isn't an enviable position to have to learn it suddenly. Learn it well I mean. It is worth the effort though, in my opinion... and as the platform continues to migrate that way, laggers only cause themselves more headaches later by not adopting sooner.

    I agree that it is EASIER to do things in tables most of the time, but it is by no means required. My entire site (well, the new one that isn't published yet) doesn't contain a single <table> <tr> or <td> tag. My biggest problem is re-writing contrib code to conform.

    As I've done it, I've written the authors suggesting they adopt and handing them the code on a platter... the same will apply here if I ever get around to installing this contrib. I'm ahead of myself here though... I haven't even looked at the SO code to see if any of the above applies :)

    So I'll shut up now.

    - Steven

  5. #5
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Super Orders 2.0

    i don't know if it really matters though.. since thats what goes on the invoice.. so its all admin side. if the store owner and other employees aren't having a problem with it.. i don't think it would really matter :)

    for the catalog side though, i agree with everything s_mack says :)

  6. #6
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    Lol... I didn't even think about it being on the admin side - so you're right, it puts it on the backburner of a 12 element stove.

    - Steven

  7. #7
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: Super Orders 2.0

    Quote Originally Posted by gmoyle
    One change that I made. I currently do not have a Fax for my business, so there is no reason for me to have an empty fax on my invoice.

    I changed line 89-90 on super_invoice.php to this.
    <td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo HEADER_FAX;} ?></td>
    <td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo STORE_FAX;} ?></td>

    so that if down the road I add a fax, and fill the info in the admin, that the information will then automatically show on my invoices, but for now, it doesnt.
    Good call, I've added that logic to the source. You'll see it in the next version.

    I am going to ignore the CSS vs. table discussion that this post generated, and ask that you all do the same. If you want to discuss layout, we have a forum for that; stay on topic.
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  8. #8
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    Quote Originally Posted by BlindSide
    I am going to ignore the CSS vs. table discussion that this post generated, and ask that you all do the same. If you want to discuss layout, we have a forum for that; stay on topic.
    I apologize BS. I guess I was having a self richeous moment. Not only off topic, but barely applicable since we're in admin with this mod. I just finished a debate at the university where I work on the merits of accessible web development and I was still in a "mood". Won't happen again.

    - Steven

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 797
    Last Post: 23 Mar 2024, 06:51 AM
  2. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  3. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM
  4. Super Orders 2.0 postage marks with Super Orders
    By sketchhgal in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Mar 2009, 03:05 PM
  5. Edit Orders and Super Orders, anyone doing that?
    By swamyg1 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Feb 2009, 06:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR