Page 22 of 35 FirstFirst ... 12202122232432 ... LastLast
Results 211 to 220 of 347
  1. #211
    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
    After looking at all the pieces of code to handle sideboxes, I was able to rethink the process and greatly simplify it. With the sidebox filename in middlebox_filenames.php (replacing 'define_middlebox_x' with 'best_sellers'), the controller can handle them each appropriately. Making that one edit renders the corresponding define file irrelevant, as the sidebox will be called in its place during middlebox group processing. I still have to test it to make sure there isn't some other bump in the road (like Zen Cart define pages editor looking for a best_sellers define file and throwing an error??) which may require alternate coding...
    I think I could kiss you Glenn!!! This is exciting news.. I am ANXIOUSLY waiting to see the final code.. You are beyond 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.

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

    Default Re: Editable Home Page Centerboxes

    I have just gotten this working to display a sidebox in a middlebox group. I had the outline working, but ran into the fact that anything called from a function loses page variables unless they are explicitly declared "global"... which obviously is not acceptable for universal use. I had to rework the function into a module file (a bit more cumbersome to insert the call into the tpl_index_ files), but once I did that it worked like a charm.
    I also bypassed the question of renaming FILENAME_DEFINE_ constants by putting the filename call into admin. Now you can set each middlebox location and whether you want a particular sidebox to appear in its place.

    I need to migrate the working files back to the mod folder and do a few more tweaks, and then I can send out beta testing zips to anybody who wants to try it (Diva:).

  3. #213
    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
    I have just gotten this working to display a sidebox in a middlebox group. I had the outline working, but ran into the fact that anything called from a function loses page variables unless they are explicitly declared "global"... which obviously is not acceptable for universal use. I had to rework the function into a module file (a bit more cumbersome to insert the call into the tpl_index_ files), but once I did that it worked like a charm.
    I also bypassed the question of renaming FILENAME_DEFINE_ constants by putting the filename call into admin. Now you can set each middlebox location and whether you want a particular sidebox to appear in its place.

    I need to migrate the working files back to the mod folder and do a few more tweaks, and then I can send out beta testing zips to anybody who wants to try it (Diva:).
    Heck yeah I wanna try this!!!! Do you still have my e-mail address???
    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. #214
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    It took a bunch of debugging for "minor" issues, but I think I now have it stable and tested for various configurations. Please try to break it so any remaining bugs can be worked out before submitting.
    Diva, I have sent you a copy. Anybody else who wants one, please send me your e-mali address (broken up so the forum software doesn't xxxx it out).

    Examples:
    Click image for larger version. 

Name:	middle-sideboxes1.jpg 
Views:	74 
Size:	19.8 KB 
ID:	11300Click image for larger version. 

Name:	middle-sideboxes2.PNG 
Views:	62 
Size:	18.4 KB 
ID:	11301

  5. #215
    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
    It took a bunch of debugging for "minor" issues, but I think I now have it stable and tested for various configurations. Please try to break it so any remaining bugs can be worked out before submitting.
    Diva, I have sent you a copy. Anybody else who wants one, please send me your e-mali address (broken up so the forum software doesn't xxxx it out).

    Examples:
    Click image for larger version. 

Name:	middle-sideboxes1.jpg 
Views:	74 
Size:	19.8 KB 
ID:	11300Click image for larger version. 

Name:	middle-sideboxes2.PNG 
Views:	62 
Size:	18.4 KB 
ID:	11301
    ***Does the happy dance!!*** Glenn you are the BEST!!!
    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. #216
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    just to let you know ive installed the beta and everything installed without a problem

    quickly put 3 boxes on my front page at bottom, nice addon

    www.catchagrip.co.uk

    thanks
    bn

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

    Default Re: Editable Home Page Centerboxes

    Very nice! The new feature is particularly suitable for being able to use stock sideboxes when you have a single-column layout as you do. Nicely styled, too, to fit with your site's look.

  8. #218
    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
    Very nice! The new feature is particularly suitable for being able to use stock sideboxes when you have a single-column layout as you do. Nicely styled, too, to fit with your site's look.
    I agree with Glenn.. Well done indeed!!!

    Quote Originally Posted by gjh42 View Post
    Very nice! The new feature is particularly suitable for being able to use stock sideboxes when you have a single-column layout as you do. Nicely styled, too, to fit with your site's look.
    OMG Glenn!! This is simply awesome!!! Really outstanding work.. I had to make some adjustments to get the middleboxes to line up at the bottom while keeping my rounded borders on the bottom.. (I think I did this right as I must confess that I still don't fully understand why my "fix" works..)

    http : // clientlaserdiscvault(dot)overthehillweb(dot)com/

    With this add-on I can now create some cool looks with Zen Cart that are similar to looks I can achieve with WordPress.. Being able to put sideboxes wherever I want them to appear on the site adds some much needed flexibility to styling Zen Cart.. This will provide me with some cool options I can explore if I pair this with the already existing options to turn on and off sideboxes on certain pages..

    Seriously Glenn... this is well done.. You REALLY took this add-on to the next level!!!
    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. #219
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    V3.0 has been submitted to Plugins. I have added two new middlebox locations, to appear on all pages either above or below individual page content. This will facilitate use of stock sideboxes on single-column websites.

  10. #220
    Join Date
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Hi All
    I am trying to install version 1.0 which is suitable for my zen 1.3.8a, all went well and each file is where it's supposed to be.
    I can see them in the define pages editor.
    However I cannot see anything in the template (on the web site itself)
    I have hunted around and I cannot find an on off switch anywhere. Seems strange as there was no SQL to ru and there were no files to put into the admin folder.
    So I cannot figure out how this module is controlled. Any assistance would be much appreciated
    Thank you
    Regards
    Renz

 

 
Page 22 of 35 FirstFirst ... 12202122232432 ... 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