Page 6 of 35 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 347
  1. #51
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Thank you, this all worked.

    Ladydee

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

    Default Re: Editable Home Page Centerboxes

    Just a suggestion, the Firefox Web Developer tools are a GODSEND for identifying which styles to edit. Strongly suggest getting this tool.. Also the Zen Cart developers toolkit would have helped you identify where to edit the boxes title. If you had searched for "Put your title here", you would have been lead to the language files Muzz pointed out..

    Quote Originally Posted by deemurphy View Post
    Thank you, this all worked.

    Ladydee
    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.
    Quote Originally Posted by deemurphy View Post
    I would like to know how we change the title size (tried this in my template, template, tpl_middlebox1_default.php by changing the h1 to h2, did not work) , the box size (too long), also how do we change the titles outside of admin? Tried something that was written and it did not work Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

    Thank you
    LadyDee
    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. #53
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Thank you very much everything worked. You have to make sure in the title that you have both "fans'

    LadyDee

  4. #54
    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!

  5. #55
    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

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

    Default Re: Editable Home Page Centerboxes

    Update on this.. So I finally had a little free time to take a look at this, and I'm still stumped.. Can't figure out why you cannot show a products category on the main page when these boxes are in place.


    The centerboxes for Featured Products, Specials, and New Products all still appear, but a selected product category does not..


    Honestly I am stumped as to why.. I never noticed when I first submitted this mod.. The site I created these middleboxes for was ONLY going to display the middleboxes instead of a products category on the main page..


    I am TOTALLY open to help and suggestions..

    Quote Originally Posted by Muzz View Post
    OK.. I got the layout Boxes working.

    However, there is an issue that will need to be resolved!

    When I had the:

    Configuration > Layout Settings >Main Page - Opens with Category

    ON in the admin the center boxes wouldn't work.

    When I turned this feature off they appear!

    The Opens with Categpry means that there are text links of each category listed just below main page area on the front page.

    I had these on with button images I had created. ie Buttons with brands logos on them.

    Unfortunately, I don't know understand php to resolve!

    but somehow the CenterBox MOD overrides the ability to have both?
    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. #57
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    Which one is blocked? From muzz' post, I have the impression that if you have both a homepage category listing and a middlebox activated, the middlebox is the one that doesn't show.
    I don't know what files are included in the mod; if one of them is /includes/templates/your_template/templates/tpl_index_default.php, that file would be replaced when categories are active by tpl_index_categories.php.

  8. #58
    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
    Which one is blocked? From muzz' post, I have the impression that if you have both a homepage category listing and a middlebox activated, the middlebox is the one that doesn't show.
    I don't know what files are included in the mod; if one of them is /includes/templates/your_template/templates/tpl_index_default.php, that file would be replaced when categories are active by tpl_index_categories.php.
    MY HERO!! You are right sir.. The /includes/templates/your_template/templates/tpl_index_default.php is indeed the file where my middlebox code is, and your explanation explains WHY the middleboxes disappear when you turn on the setting to display a category on the main page..


    So thinking out loud here (I'll go look of course..) If one wants BOTH the product categories and the middleboxes on the main page, does the way to achieve this require I should ALSO add the middlebox code to the tpl_index_categories.php file too??
    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.

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

    Default Re: Editable Home Page Centerboxes

    Yes, that should do it.
    A more elegant way would be to have the middlebox code in its own file, so it just has to be called by perhaps one new line in the relevant tpl_index_ file. This would make maintaining and improving the middlebox code easier for the future. I have been doing this kind of thing for my mods as I update them.

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

    Default Re: Editable Home Page Centerboxes

    Oh, and tpl_index_categories.php is also used by interior category listing pages, so if the middleboxes are only supposed to appear on the homepage, you would have to have a test for that, or else put the middlebox call inside the (homepage-only) "$show_welcome" loop.

 

 
Page 6 of 35 FirstFirst ... 4567816 ... LastLast

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