Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    10
    Plugin Contributions
    0

    Default How to add a new sidebox from scratch?

    We are trying to add a new side box for a customization for a client. I want to make sure we do it *right* instead of just hacking it.

    Here is what I can gather:

    add a file in /includes/modules/sideboxes/custom_sidebox_name.php
    This is the actual meat that has the functioning code.

    and then add a file in /includes/templates/template_default/sideboxes/tpl_custom_sidebox_name.php
    This is the code for how the box looks- it looks like this is actually required in the preceding file?

    I'm not worried about a defining language file because the entire site is exclusively English.

    Am I even in the right ballpark?

    Also, what actually makes the file appear in the sidebox controller so it can be turned on and controlled in the admin?

    Thank you in advance for any help!
    :)
    Jenn

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: How to add a new sidebox from scratch?

    Am I even in the right ballpark?

    Also, what actually makes the file appear in the sidebox controller so it can be turned on and controlled in the admin?
    You're hitting a home run.


    The sideboxes are auto-magic and as long as you have the right files in the right places, The Zen Cart Admin will find them.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to add a new sidebox from scratch?

    You could also try the Blank Sidebox mod which puts everything where it belongs. Works great for me.

  4. #4
    Join Date
    Jun 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: How to add a new sidebox from scratch?

    Thank you so much, guys! Zencart can be a little overwhelming just to dive in and find everything- but I'm slowly finding my way. :)

 

 

Similar Threads

  1. How to layout the product info page from scratch? (anybody wanna help me???)
    By toomanyknots in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Oct 2015, 06:00 AM
  2. How to add new link to categories sidebox?
    By bluelightnin6 in forum Setting Up Categories, Products, Attributes
    Replies: 25
    Last Post: 12 Jan 2012, 11:15 PM
  3. How do I add a new link to sidebox?
    By windrising in forum Basic Configuration
    Replies: 1
    Last Post: 16 Feb 2007, 10:42 PM
  4. how to add a new empty sidebox??
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2006, 03:51 AM

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