Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    478
    Plugin Contributions
    3

    Default Writing Code for Admin Panel Add-On

    Is there some sort of guide to writing SQL statements for modules that use the ACP to set their options?

    For example, I'm trying to write the following option but can't figure out how to do it:

    - Dropdown menu of: 7 days, 14 days, 21 days, 28 days, 30 days, Other.
    - Other: INPUT box for the admin to use.

  2. #2
    Join Date
    Aug 2005
    Posts
    26,512
    Plugin Contributions
    9

    Default Re: Writing Code for Admin Panel Add-On

    All that I have seen is in the wiki

    http://www.zen-cart.com/wiki/index.php/Developers
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,829
    Plugin Contributions
    169

    Default Re: Writing Code for Admin Panel Add-On

    If you spend some time looking at Sales Report, you can see how it's done.
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  4. #4
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    478
    Plugin Contributions
    3

    Default Re: Writing Code for Admin Panel Add-On

    Quote Originally Posted by swguy View Post
    If you spend some time looking at Sales Report, you can see how it's done.
    Not sure what you mean with this one.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,829
    Plugin Contributions
    169

    Default Re: Writing Code for Admin Panel Add-On

    Go to the Free Software Add Ons at the top of this page. Find and download "Sales Report." Read the code and you'll see how some of the things you're asking about can be accomplished.
    That Software Guy, Plugin Moderator. Store: http://www.thatsoftwareguy.com/store/
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 

Similar Threads

  1. C Panel and Code
    By dovershire in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2010, 06:02 PM
  2. Admin Settings - Allowing someone else access my admin panel.
    By europod in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 5 Nov 2008, 03:22 AM
  3. Can't log in to admin panel
    By dan_up35 in forum Basic Configuration
    Replies: 1
    Last Post: 12 Aug 2008, 06:52 PM
  4. Replies: 0
    Last Post: 7 Apr 2008, 07:13 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
  •