Results 1 to 10 of 347

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Editable Home Page Centerboxes

    Glenn,
    I got the zip file and installed it. It works perfectly. Guess I had it pretty much installed from the older version, created my own sql patch that worked, but I was hung up on the "layout settings" stuff which doesn't apply.

    Your beta version is cleaner (removed extra | unnecessary define files) and includes the sql patch needed for the page registration in v1.5

    I can install on a test site if you want to see it in action (or if other forum members want to see it)

    Thanks for your excellent work and contributions to the community!

    Tina

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by charmedbytina2 View Post
    Glenn,
    I got the zip file and installed it. It works perfectly. Guess I had it pretty much installed from the older version, created my own sql patch that worked, but I was hung up on the "layout settings" stuff which doesn't apply.

    Your beta version is cleaner (removed extra | unnecessary define files) and includes the sql patch needed for the page registration in v1.5

    I can install on a test site if you want to see it in action (or if other forum members want to see it)

    Thanks for your excellent work and contributions to the community!

    Tina
    Yep the version available in the downloads was my original brainstorm (born out of necessity to make a particular client requested layout work).. It was never updated for Zen Cart 1.5 which is why you did not see the layout options in the admin configuration.. Glenn has certainly made this a much better thing than it was.. Now I just need to do as I promised and update that daggone readme file.. **LOL**
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Editable Home Page Centerboxes

    I am trying to make the middle boxes the same height (based on the height on the tallest one) and just can't find the right way of doing it.

    The site I am testing on is here

    Help.......

    Thanks, Tina

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    Version 2.0 of Editable Home Page Centerboxes is now available in Plugins.
    http://www.zen-cart.com/downloads.php?do=file&id=1069
    It is compatible with Zen Cart v1.5.x.

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    Version 2.0 of Editable Home Page Centerboxes is now available in Plugins.
    http://www.zen-cart.com/downloads.php?do=file&id=1069
    It is compatible with Zen Cart v1.5.x.
    You rock Glenn!!!! You took my orginal hack and turned it into real code.. I am sooo grateful!! You turned this into a REAL plugin!! Sooooo awesome!!!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    Version 2.0 of Editable Home Page Centerboxes is now available in Plugins.
    http://www.zen-cart.com/downloads.php?do=file&id=1069
    It is compatible with Zen Cart v1.5.x.
    Okay.. so the ONLY thing that would make this add-on even better is if there is a way to get the sidebox content to display inside the middleboxes...

    WordPress provides something similar to what I am asking about in that in WordPress widgets can appear in any "widgetized area" (still called sidebars) which means that widgets can be displayed in horizontal or vertical layouts ANYWHERE on the page you want them to appear versus being relegated to only the traditional vertical left and right sidebar locations.

    I've been experimenting and found that I can call some not all sideboxes (like the categories sidebox) on a defined page using something like
    Code:
    <?php require(DIR_WS_MODULES . 'sideboxes/featured.php'); ?>
    However, that code does not work on the middleboxes defined pages.. Hoping some one has a clue how I could display the following sideboxes inside the middleboxes:

    • Specials
    • Featured Products
    • Best Sellers


    I am stumped and while I have a plan B, it would sure be nicer if I could just display the content of these sideboxes inside the middleboxes.. Anyone have any ideas??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Okay.. so wanted to post a few recommended changed to the CSS and the middleboxes_controller.php that are needed. The first change was pointed out a few months ago, but the details of the changes required were not very clear in that previous post..

    So first the CSS changes..

    Find this in the stylesheet:
    Code:
    #navColumnMiddleWrapper {
        margin: auto;
        overflow:hidden; 
        }
    Replace it with this:
    Code:
    #navColumnMiddleWrapper1 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper2 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper3 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper4 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper5 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper6 {
        margin: auto;
        overflow:hidden; 
        }
    
    #navColumnMiddleWrapper7 {
        margin: auto;
        overflow:hidden; 
        }
    This corrects the middlebox wrapper ID's to match the way they are generated from the Middlebox Controller. This is required so that the rest of the stylesheet declarations will work correctly. (Especially if you want to use the class that will make all the middleboxes line up at the bottom)

    In the includes/templates/YOUR_TEMPLATE/templates/tpl_middlebox_controller.php file change this:
    Code:
    <h2><?php echo constant('BOX_HEADING_MIDDLEBOX' . $box_no); ?></h2>
    To this:
    Code:
    <h2 class="middleBoxHeading"><?php echo constant('BOX_HEADING_MIDDLEBOX' . $box_no); ?></h2>
    This will add back the class that controls the format of the middlebox headers.

    LOVE LOVE LOVE what Glenn has done to streamline and automate this!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    To set standard middlebox wrapper styling in the stylesheet, change the
    #navColumnMiddleWrapper {
    to
    .navColumnMiddleWrapper {
    The #navColumnMiddleWrapper1 {} rules can then be added for any individual wrapper/group styling desired.

    Without touching PHP files, there are already handles to address all middlebox headings:
    .middleboxContainer h2 {}
    or specific headings:
    #middlebox_1 h2 {}

    I don't recall how much I did with the stylesheet; it may want a makeover to reflect the full scope of the latest version.

 

 

Similar Threads

  1. v154 Editable Invoices & Packing Slips [Support]
    By dbltoe in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2015, 11:44 PM
  2. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  3. Move Define Page Text to bottom of page, below centerboxes
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:13 AM
  4. Editable Home Page Centerboxes click-able links
    By colhemm in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Feb 2011, 09:04 PM
  5. Image above centerboxes on main page
    By direwolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2008, 06:40 PM

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