Page 28 of 35 FirstFirst ... 182627282930 ... LastLast
Results 271 to 280 of 347
  1. #271
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by kitten091182 View Post
    Great mod, it's perfect for what I need. I have it installed fine, just wondering if there is a good way to display it only on the product listing page? I have it above the main bit with position 8 at the moment, but I don't want it displaying on the other pages. I know I can create separate stylesheets for the pages with display:none in them, but is there a simpler way, something like the if statement in tpl_main_page which disables left and right columns on certain pages?
    Thanks
    Hello Kitten,

    My experience with this mod has not been so good as far as modifications to it goes, it has limitations that are hopefully going to be addressed soon.

    I have used this mod Short Descriptions for Categories 1.2 (in v1.3.9h), for categories, but if I remember correctly it can be modified to use on the product description page(s) - as an alternative to EHPC. (please do not shoot the Messenger if I am wrong)

    cheers, Mike

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

    Default Re: Editable Home Page Centerboxes

    The best way to limit the middleboxes to the product listing page will be to move the middlebox code from /includes/templates/your_template/common/tpl_main_page.php to /includes/templates/your_template/templates/tpl_index_product_list.php.

    Delete this from tpl_main_page.php:
    PHP Code:
    <?php 
    $box_loc 
    '8';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    and paste into tpl_index_product_list.php just below
    <div class="centerColumn" id="indexProductList">
    to get this:
    PHP Code:
    <div class="centerColumn" id="indexProductList">
    <?php 
    $box_loc 
    '8';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    <h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
    (You can put it just above
    <div class="centerColumn" id="indexProductList">
    if that suits your pirposes better.)
    Putting it inside the listing code is tricky; if you want to do that, ask for help. I believe I helped someone else with that before.
    Last edited by gjh42; 18 Jan 2014 at 01:48 AM.

  3. #273
    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 shags38 View Post
    Hello Kitten,

    My experience with this mod has not been so good as far as modifications to it goes, it has limitations that are hopefully going to be addressed soon.
    "Limitations"?? Editable Homepage Midleboxes works EXACTLY as described. It installs and configures easily.. So what "limitations" are you referring to??

    Quote Originally Posted by shags38 View Post
    I have used this mod Short Descriptions for Categories 1.2 (in v1.3.9h), for categories, but if I remember correctly it can be modified to use on the product description page(s) - as an alternative to EHPC. (please do not shoot the Messenger if I am wrong)

    cheers, Mike
    This is like comparing apples to oranges.. Editable Homepage Midleboxes works and looks NOTHING like Short Descriptions for Categories.
    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. #274
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    My experience with this mod has not been so good as far as modifications to it goes, it has limitations that are hopefully going to be addressed soon.
    Could you explain what you feel the shortcomings of this mod are, and how you think it could be improved? I can't fix any user issues or address user wishes if I don't know what they are.

  5. #275
    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 DivaVocals View Post
    "Limitations"?? Editable Homepage Midleboxes works EXACTLY as described. It installs and configures easily.. So what "limitations" are you referring to??

    This is like comparing apples to oranges.. Editable Homepage Midleboxes works and looks NOTHING like Short Descriptions for Categories.
    Quote Originally Posted by gjh42 View Post
    Could you explain what you feel the shortcomings of this mod are, and how you think it could be improved? I can't fix any user issues or address user wishes if I don't know what they are.
    Exactly!!

    and let me add to this.. having issues merging this mods functionality with another mods functionality is NOT a "limitation" of this module by a LONG SHOT..
    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. #276
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    Maybe one day someone may revise the module such that it can integrate automatically with any template (if that is at all possible :) ).
    Such a thing is not possible in any case where a mod alters a stock template file which a third-party template also alters. If the template does not alter that file, there is no issue. The only way this can ever change is if/when there are notifier hooks in all the places needed to modify the site's behavior without touching any existing files. This can be done now in certain places, but by no means all, and there will always be situations where the only solution is to alter a stock file.

    Meanwhile, the alterations from this mod to only three existing files are minimal and self-contained additions. It is hard to make files easier than this to merge.

  7. #277
    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
    Such a thing is not possible in any case where a mod alters a stock template file which a third-party template also alters. If the template does not alter that file, there is no issue. The only way this can ever change is if/when there are notifier hooks in all the places needed to modify the site's behavior without touching any existing files. This can be done now in certain places, but by no means all, and there will always be situations where the only solution is to alter a stock file.

    Meanwhile, the alterations from this mod to only three existing files are minimal and self-contained additions. It is hard to make files easier than this to merge.
    **nods in agreement**

    Honestly unless Zen Cart adopts a plugin and templating system which separates plugins and templates from the application core this is how templates and modules will continue to work for the most part in Zen Cart.. The best that mod authors can do is to make sure changes are as clearly marked as possible so that when folks are doing file comparisons the modifications are clear..
    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. #278

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    The best way to limit the middleboxes to the product listing page will be to move the middlebox code from /includes/templates/your_template/common/tpl_main_page.php to /includes/templates/your_template/templates/tpl_index_product_list.php.

    Delete this from tpl_main_page.php:
    PHP Code:
    <?php 
    $box_loc 
    '8';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    and paste into tpl_index_product_list.php just below
    <div class="centerColumn" id="indexProductList">
    to get this:
    PHP Code:
    <div class="centerColumn" id="indexProductList">
    <?php 
    $box_loc 
    '8';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    <h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
    (You can put it just above
    <div class="centerColumn" id="indexProductList">
    if that suits your pirposes better.)
    Putting it inside the listing code is tricky; if you want to do that, ask for help. I believe I helped someone else with that before.
    That worked perfectly! Thanks for your help

  9. #279
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    Could you explain what you feel the shortcomings of this mod are, and how you think it could be improved? I can't fix any user issues or address user wishes if I don't know what they are.
    Hello Glenn,

    I have tried without success to have this mod work as intended with Abbington_Mega template. My comments were out of frustration as it does not work, even with the code mod done by Gam ( I think ?). Diva has tried to help but even that didn't give the desired result. I appreciate the issues of having mods / plugins work with core programs vs altered versions. I now have 5 ZC sites, I love ZC and promote it to many people but my biggest, nay only disappointment is not being able to get this very good and very valuable mod to work with that template - and I cannot solve the 'issue', which is not a mod issue but is an issue to me and I think possible to other users of that template and possibly others.

    I have your mod installed on one site but in doing that it allows only 'featured products' and not new or specials which is a pity - I am persisting with it partially working for SEO purposes and the reasons you developed it in the first place.

    Not your problem.

    cheers, Mike

  10. #280
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Thanks for ALL of your comments Diva - very useful.

    cheers, Mike

 

 
Page 28 of 35 FirstFirst ... 182627282930 ... 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