Results 1 to 10 of 347

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Any way to have 3 different images in the header for each middlebox?

    I can only seem to have one image for all three headers.
    That wasn't the plan!

  2. #2
    Join Date
    Sep 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Hello,

    I'm trying to get 6 centerboxes also and am wondering if Dee's mod is available somewhere. I tried to go to Dee's example site and it's under construction.

    Dee, is there a place to download the whatever changes you've made or is there and example/documentation of what you did to get the 6 boxes?

    I'm a css/php noob, have zc 1.3.8 installed on a windows testing server, purchased template installed and Editable Centerboxes mod installed, customized and working with 3 boxes.

    Thank you in advance for any help you can give.

    Kimo

  3. #3
    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 guitarz View Post
    Hello,

    I'm trying to get 6 centerboxes also and am wondering if Dee's mod is available somewhere. I tried to go to Dee's example site and it's under construction.

    Dee, is there a place to download the whatever changes you've made or is there and example/documentation of what you did to get the 6 boxes?

    I'm a css/php noob, have zc 1.3.8 installed on a windows testing server, purchased template installed and Editable Centerboxes mod installed, customized and working with 3 boxes.

    Thank you in advance for any help you can give.

    Kimo
    Quick answer.. Cloning the middleboxes is pretty easy.. (Tedious, but easy) Each middlebox has a number of support files needed for each one. They are easy to identify as they are all named something like middlebox_#, etc.

    You will need to clone each of these files in the same folders they are found. Then re-name the cloned files from wherever it says middlebox_# to the new middlebox number (4, 5, 6 etc)

    Once you have cloned all of the middlebox files, you'll then need to edit the contents of each file and change the classes IDs, and definitions to match the new middlebox number. (ie: wherever it says middlebox_1, change to middlebox_4, etc) This part is pretty easy (though tedious) You'll only need to change the middlebox number to match the new middlebox.

    You'll then need to edit the CSS file to add the additional classes and IDs needed for the new middleboxes.. Again this is easy, you can copy the existing classes and IDs and simply change the number to match your new middlebox.
    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.

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

    Default Re: Editable Home Page Centerboxes

    I will be submitting an updated version of this module tomorrow. Thanks to gjh42 for his selfless help on this.. The module has a much simple more intelligent codebase which supports as many middleboxes as you wish.

    Additionally, the module will now have admin controls to configure the middlebox position, and to define the number of middleboxes to display. The module includes the code for up to NINE middleboxes. (See in action here: http://zentestcart.overthehillweb.com)

    Users who want more middleboxes can modify the module to support more, with a little work of course. (Requires cloning the additional middleboxes and a SQL update to update the admin controls to execute -- a little work but VERY doable -- if I can do it so can ANYONE!!)

    In light of the new update I wanted to summarize all the tips/hints/suggestions for modifying and/or using this module.

    Tips on modifying the title bar for the middleboxes.
    Quote Originally Posted by Muzz View Post
    I changed my titles here:

    \includes\languages\english\extra_definitions\YOUR TEMPLATE\


    middlebox_1.php
    middlebox_2.php
    middlebox_3.php

    Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');


    You edit the size of the font tile in the stylesheet_middleboxes.css file

    h2.middleBoxHeading, h2.middleBoxHeading a {
    font-size: 1.2em;
    color: #96b710;

    }

    Edit the font there as I just tested and that works for me.
    Quick tips on how to clone the middleboxes
    Quote Originally Posted by DivaVocals View Post
    Quick answer.. Cloning the middleboxes is pretty easy.. (Tedious, but easy) Each middlebox has a number of support files needed for each one. They are easy to identify as they are all named something like middlebox_#, etc.

    You will need to clone each of these files in the same folders they are found. Then re-name the cloned files from wherever it says middlebox_# to the new middlebox number (4, 5, 6 etc)

    Once you have cloned all of the middlebox files, you'll then need to edit the contents of each file and change the classes IDs, and definitions to match the new middlebox number. (ie: wherever it says middlebox_1, change to middlebox_12, etc) This part is pretty easy (though tedious) You'll only need to change the middlebox number to match the number of the new middlebox.

    You'll then need to edit the CSS file to add the additional classes and IDs needed for the new middleboxes.. Again this is easy, you can copy the existing classes and IDs and simply change the number to match your new middlebox.
    I wanted to point out that if this module is installed correctly you do NOT need to copy ANY of the override files to the the default_template folders, and in fact you should NOT be copying ANY of the files from this mod into the default_template folder. Just be sure to re-name all of the YOUR_TEMPLATE folders in the module's fileset to match the folder name of your store's template and this module will work the FIRST time you install it. In my experience most install issues with ANY Zen Cart module is due to incomplete/incorrect installs.
    Quote Originally Posted by deemurphy View Post
    One of the things I found out was that I have to place the files that are in whatever templates you are using like the css file and tpl_index_default also have to go into the css directory of the template_default and the same for the tpl_index_default
    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.

 

 

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