Page 152 of 155 FirstFirst ... 52102142150151152153154 ... LastLast
Results 1,511 to 1,520 of 1550
  1. #1511
    Join Date
    Apr 2011
    Posts
    507
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by carlwhat View Post
    oh my....

    saving a database query?

    in YOUR_TEMPLATE/templates/tpl_index_categories.php

    one can find the following code and make said change:

    PHP Code:
    //from
    <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES $categories_image''SUBCATEGORY_IMAGE_TOP_WIDTHSUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>

    //to
    <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES $categories_image$current_categories_nameSUBCATEGORY_IMAGE_TOP_WIDTHSUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>

    in bootstrap:

    PHP Code:
    //from
        <div id="indexCategories-categoryImage" class="categoryImage">
            <?php echo zen_image(DIR_WS_IMAGES $categories_image''SUBCATEGORY_IMAGE_TOP_WIDTHSUBCATEGORY_IMAGE_TOP_HEIGHT); ?>
        </div>
    //to
        <div id="indexCategories-categoryImage" class="categoryImage">
            <?php echo zen_image(DIR_WS_IMAGES $categories_image$current_categories_nameSUBCATEGORY_IMAGE_TOP_WIDTHSUBCATEGORY_IMAGE_TOP_HEIGHT); ?>
        </div>
    best.
    Thanks Carl. It worked perfectly. In my particular case, I made the changes in YOUR_TEMPLATE/templates/tpl_index_product_list.php.

  2. #1512
    Join Date
    Nov 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    In Zen Cart 1.5.8a with Bootstrap 3.7.0 I have a floating "Add to cart"-button. The product listing scrolls under the button.
    Float the Add Selected to Cart button in the Bootstrap settings is set to "Always".
    Display Product Add to Cart Button is set to 1, Display Multiple Products Qty Box Status and Set Button Location is set to 3. Both settings are in Product Listing.

    With Zen Cart 2.1.0 and Bootstrap 3.7.4 I can not replicate this floating button. There is only a link "Add to cart" which does not even look like a button.

    How can I set the floating button behaviour?

  3. #1513
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by todoonada View Post
    In Zen Cart 1.5.8a with Bootstrap 3.7.0 I have a floating "Add to cart"-button. The product listing scrolls under the button.
    Float the Add Selected to Cart button in the Bootstrap settings is set to "Always".
    Display Product Add to Cart Button is set to 1, Display Multiple Products Qty Box Status and Set Button Location is set to 3. Both settings are in Product Listing.

    With Zen Cart 2.1.0 and Bootstrap 3.7.4 I can not replicate this floating button. There is only a link "Add to cart" which does not even look like a button.

    How can I set the floating button behaviour?
    You've got all the 'right' settings. A link (sent via PM if you don't want it publicly displayed) would help see what's going on.

  4. #1514
    Join Date
    Nov 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by lat9 View Post
    You've got all the 'right' settings. A link (sent via PM if you don't want it publicly displayed) would help see what's going on.
    I found the reason. When I changed the language to English to make a screenshot for you (I only got this Zen Cart running locally), it worked correctly. When I shortened the Japanese text, it was OK. The original Japanese text was too long.
    I changed function zen_image_submit in includes/functions/html_output.php line 304
    from
    PHP Code:
    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strlen($alt)<30
    to
    PHP Code:
    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && mb_strlen($alt)<30
    Now it works.

  5. #1515
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by todoonada View Post
    I found the reason. When I changed the language to English to make a screenshot for you (I only got this Zen Cart running locally), it worked correctly. When I shortened the Japanese text, it was OK. The original Japanese text was too long.
    I changed function zen_image_submit in includes/functions/html_output.php line 304
    from
    PHP Code:
    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strlen($alt)<30
    to
    PHP Code:
    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && mb_strlen($alt)<30
    Now it works.
    Was the Japanese text different in the zc210 install than in the zc158a one? That function hasn't changed in many, many years.

  6. #1516
    Join Date
    Nov 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by lat9 View Post
    Was the Japanese text different in the zc210 install than in the zc158a one? That function hasn't changed in many, many years.
    Yes, my text was.

  7. #1517
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    v3.7.5 of the template is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2191

    This release contains corrections for these GitHub issues:

    #463: Correct comments in products-all/new page headers.
    #459: Indicate to zc210's Layout Boxes Controller that the template doesn't support mobile sideboxes.
    #454: Correct 3-page checkout country-selection is reset on form errors.
    #462: Correct PHP Deprecation in tpl_columnar_display_carousel.php.
    #466: Correct shopping-cart update "not working" on specific configuration.

  8. #1518
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,191
    Plugin Contributions
    63

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Zen 2.1.0 PHP 8.3
    Bootstrap 3.7.4
    No other mods

    The search header is on & displaying in the header correctly, but also in the right column.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  9. #1519
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by mprough View Post
    Zen 2.1.0 PHP 8.3
    Bootstrap 3.7.4
    No other mods

    The search header is on & displaying in the header correctly, but also in the right column.

    ~Melanie
    Do you also have the search sidebox enabled in the right column?

  10. #1520
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,191
    Plugin Contributions
    63

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    No It's not
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

 

 

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR