Page 85 of 92 FirstFirst ... 35758384858687 ... LastLast
Results 841 to 850 of 918
  1. #841
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    The product page and shopping cart page have their own css files you can set up.

    includes/templates/bootstrap/css/shopping_cart.css
    includes/templates/bootstrap/css/product_info.css
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #842
    Join Date
    Jan 2010
    Location
    France
    Posts
    272
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    By the way what I want to know is how to replace if ($this_is_home_page) with the name of the page example if ($this_is_product_info_page) does not work as well as ($this_is_shopping_cart_page) does not work. it's not to complicate my life but, it will allow me to do a lot of things if I know the exact name of the page to put on if ($this_is_home_page).
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  3. #843
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    $this_is_home_page is a special case; it's not done for other pages.

    If you want to check the name of the current page you can do so using the variable $current_page_base.

    if ($current_page_base == 'shopping_cart') {
    ...
    }

    if ($current_page_base == 'product_info') {
    ...
    }

    but if all you're doing is adding page-specific CSS, you'd be better off doing it the way I suggested; that way you can upgrade your template at any time and not lose these customizations.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #844
    Join Date
    Jan 2010
    Location
    France
    Posts
    272
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Exact it is so as not to touch the basic model. Thank you, it worked for me
    HTML Code:
    if ($current_page_base == 'product_info') { +
    , if now I want to put 2 or more pages for example
    HTML Code:
    if ($current_page_base == 'product_info PLUS another page, ') {
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  5. #845
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    The PHP syntax for this would be

    if ($current_page_base == 'product_info' || $current_page_base == 'some-other-page' ) {
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #846
    Join Date
    Jan 2010
    Location
    France
    Posts
    272
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Thank you very much, it worked for me.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  7. #847
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    962
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by diamond1 View Post
    Hello, I am looking to put .active in red on the ezpage header bar and on the category names see photos one on a site where there is active on the categories and one without which is mine, in the login page I am successful to put the .active in yellow here is the code
    PHP Code:
    .nav-tabs .nav-link.active {
      
    color#fcf501;
      
    background-color#fff;
      
    border-color#dee2e6 #dee2e6 #fff;

    but in the column of the names of the categories I run into a wall. can you help me?

    Attachment 20145
    Attachment 20146
    Attachment 20147
    Perhaps you have an a:active defined in one of your css files.

    https://www.geeksforgeeks.org/differ...-active-links/

    why ZCA-bs decided to go with a separate class .activelink is beyond my understanding.

  8. #848
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Looks like an override of

    includes/languages/english/lang.order_status.php

    will be needed for PHP 8.1

    [13-Nov-2022 13:56:15 America/New_York] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_LOOKUP_INSTRUCTIONS" in /homepages/19/client/htdocs/estore/includes/templates/bootstrap/templates/tpl_order_status_default.php:177
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #849
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,388
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    Looks like an override of

    includes/languages/english/lang.order_status.php

    will be needed for PHP 8.1

    [13-Nov-2022 13:56:15 America/New_York] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_LOOKUP_INSTRUCTIONS" in /homepages/19/client/htdocs/estore/includes/templates/bootstrap/templates/tpl_order_status_default.php:177
    Actually, that looks like a bug in the zc158 language loader. I thought (keyword) that deference should be given to a legacy-named language file, although I'm seeing now that OPC (since the order_status page was, for previous Zen Cart versions, newly added) distributes its version of /english/order_status.php in the main language directory. Sigh.

    To correct, for now, simply copy /includes/languages/english/order_status.php to /includes/languages/english/bootstrap/order_status.php (replacing bootstrap with your template clone's name).

  10. #850
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    The docs don't address search order and override behavior well for the new language files; I will work on that.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 85 of 92 FirstFirst ... 35758384858687 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 79
    Last Post: 5 Jul 2021, 07:30 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