Results 1 to 10 of 347

Hybrid View

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

    Default Re: Editable Home Page Centerboxes

    Glad it's working, and admin control sounds like a good improvement. I think you want the top set of middlebox code below
    PHP Code:
    <?php } else { ?>
    <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
    <?php ?>
    If it is above that, the middleboxes above the category listing can only show when the define_main_page is enabled (if ($show_welcome == true)). This change will not affect the location of the top middlebox set.

    I would suggest adding a third option, to put the middleboxes below the featured etc. centerboxes (just below the while loop). If you are adding the switch anyway, you can easily make it more flexible now.

  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 gjh42 View Post
    Glad it's working, and admin control sounds like a good improvement.
    OMG you rock!!! You are one of the many personalities on this forum who I truly admire.. Thanks sooooo much.. I am TRULY grateful for your code.. Gonna do some more tweaking here.. Hope ya don't mind me tapping you on the shoulder to grade my "final" paper!! I couldn't have done this without you!!!

    I think the admin controls will make this module soooo much easier for folks to use.. This leaves the user only needing to use CSS to tweak the middleboxes in terms of look & feel and positioning, etc. I'll add a few tips on "common" basic kinds of tweaks in the readme..


    Quote Originally Posted by gjh42 View Post
    I think you want the top set of middlebox code below
    PHP Code:
    <?php } else { ?>
    <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
    <?php ?>
    If it is above that, the middleboxes above the category listing can only show when the define_main_page is enabled (if ($show_welcome == true)). This change will not affect the location of the top middlebox set.
    It's tough when you're not really a coder making sure you don't put something in the wrong place.. So thanks for that.. I made the change accordingly..


    Quote Originally Posted by gjh42 View Post
    I would suggest adding a third option, to put the middleboxes below the featured etc. centerboxes (just below the while loop). If you are adding the switch anyway, you can easily make it more flexible now.
    I had already done that, but wanted to get your "grade" on how I executed the positioning code before I included it..

    This is shaping up quite nicely now.. I have cloned three more middleboxes and I am currently testing how this new code works with more than 3 middleboxes enabled. So far so good with my testing.. Your code gave this module the flexibility that it needs with a LOT less code..
    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
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    So following Glenn's suggestion I went a whole bunch of steps further and now I think this new version is ready for submission.. I've tweaked this so that there are SEVEN possible positions for the middleboxes. Three if you do not have categories set to display and four if you do. There should be something for everybody in this now without folks having to do a lot of modifications on their own. Once installed and configured any remaining styling can easily be handled via the included stylesheet... I think that covers everything.. If anyone thinks there's anything I might be overlooking let me know.. I'm on a roll now..
    Quote Originally Posted by gjh42 View Post
    Glad it's working, and admin control sounds like a good improvement. I think you want the top set of middlebox code below
    PHP Code:
    <?php } else { ?>
    <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
    <?php ?>
    If it is above that, the middleboxes above the category listing can only show when the define_main_page is enabled (if ($show_welcome == true)). This change will not affect the location of the top middlebox set.

    I would suggest adding a third option, to put the middleboxes below the featured etc. centerboxes (just below the while loop). If you are adding the switch anyway, you can easily make it more flexible now.
    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
    Sep 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Has this module been updated to include all these admin features? I cant seem to locate it in the download section.

    Thanks In advance.

    M

    PS> GREAT mod.

  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 boselixer View Post
    Has this module been updated to include all these admin features? I cant seem to locate it in the download section
    Not yet.. got tied up with another client project.. But send me a PM and I can send you the files for the updated version.. It's pretty much what will be submitted as soon as my time permits.. Only real thing I need to do to the core files is double check them against the latest Zen Cart version just in case there are mods from core files needed -- should be pretty easy for you to make those checks yourself.. The readme is what needs to be updated, but the rest of the module files is going to be the final version that will be submitted..

    Quote Originally Posted by boselixer View Post
    PS> GREAT mod.
    Thanks.. But a special thanks has to go to Glenn.. His contribution is what really makes this new version really cook!!!!
    Last edited by DivaVocals; 7 Oct 2010 at 08:58 PM.
    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
    Nov 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Hello

    I am setting up a website and am using the editable home page centerboxes. I set up the centeboxes just to see them working. However as of yet I have no content to enter into the boxes. So I need to hide them until I have content for them.

    Is there a quick way to hide the menu's from the homepage, like I can do for the likes of new products centerboxes, etc, or must I delete the php files until I need them again.

    Any help will be much appreciated.

    Regards,


    Eamon

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

    Default Re: Editable Home Page Centerboxes

    You should be able to hide them by adding to the bottom of your stylesheet

    .middleBoxContainer {display: none;}

    This assumes that the class name has not changed since I last saw the files.
    If you need more help, post a link to see your site live.

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

    Default Re: Editable Home Page Centerboxes

    Glenn is absolutely right.. the CSS change will do the trick..

    Also I will be submitting the latest update to this mod soon.. Been swamped and unable to wrap up my testing and bundling of this new version.. The new version has admin options for turning off the middleboxes..
    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