Page 141 of 155 FirstFirst ... 4191131139140141142143151 ... LastLast
Results 1,401 to 1,410 of 1550
  1. #1401
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    76
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by barco57 View Post
    ok, testing shows that Ckeditor5 is what is stripping the class off the image tag.
    So another thing that Ckeditor 5 causes an issue with
    Ok, so to workaround this currently I am pasting code directly into the database - it may be slow, but it works.

    Another couple of questions:
    In the documentation (https://github.com/lat9/ZCA-Bootstra...ecific-styling)
    the following code is mentioned:
    if ($this_is_home_page) {
    ?>
    <style>
    h1 {color: red;}
    </style>
    <?php
    }
    This will allow for styling of the home page, is there a list of codes for the various pages? e.g. contact us, ez pages, etc?

    I assume this code could also used to load a style sheet for a specific page?
    <link href="<?php echo $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/mysite.css'; ?>" rel="stylesheet">

  2. #1402
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    251
    Plugin Contributions
    4

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by royaldave View Post
    Not seeing anything, no.

    I have reverted to using responsive classic in this setup and its now working as should.

    No idea what the issue is - I'm faced with starting over on this upgrade and checking the shopping cart at each step.
    OK.

    Installed fresh copy of 2.0.1. Using demo DB. All is good.
    Installed fresh copy of bootstrap. All is good - shopping cart update qty works as it should.
    Dropped the demo DB and put a copy of my live DB in there. Upgraded it through zc_install.
    Shopping cart update qty now broken!

    So something in my DB is causing the issue! What?

    Here's the weird thing though - if I get a copy of the recursive classic version of tpl_shopping_cart_default.php and drop it in over the bootstrap one (and remove the isMobile bits so it will run) - the update qty functionality works as it should!

    I promise you no other changes have been made.

    Any ideas?

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

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by mikecnz View Post
    Ok, so to workaround this currently I am pasting code directly into the database - it may be slow, but it works.

    Another couple of questions:
    In the documentation (https://github.com/lat9/ZCA-Bootstra...ecific-styling)
    the following code is mentioned:
    if ($this_is_home_page) {
    ?>
    <style>
    h1 {color: red;}
    </style>
    <?php
    }
    This will allow for styling of the home page, is there a list of codes for the various pages? e.g. contact us, ez pages, etc?

    I assume this code could also used to load a style sheet for a specific page?
    <link href="<?php echo $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/mysite.css'; ?>" rel="stylesheet">
    The various pages can be seen by viewing the names of the sub-directories in /includes/modules/pages. To load a page-specific stylesheet, you can refer to /includes/templates/template_default/css/CSS_read_me.txt, which contains
    Code:
    The CSS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
    
                 style*.css   // are always loaded and at least ONE should contain site-wide properties.
    language_stylesheet.css   // changes to ALL pages, when that language is used
             index_home.css   // specifically affects the home page only
              page_name.css   // changes to one page, ie: index.php?main_page=page_name
     language_page_name.css   // changes to one page, when that language is used
                c_??_??.css   // changes to all info pages in a category
       language_c_??_??.css   // changes to all info pages in a category, when that language is used
       c_??_??_children.css   // changes for all children of the specified parent. Also supports a language prefix.
                   m_??.css   // changes to a manufacturer's listing page
          language_m_??.css   // changes to a manufacturer's listing page, when that language is used
                   p_??.css   // changes to a product's info page
          language_p_??.css   // changes to a product's info page, when that language is used
                 print*.css   // printer-friendly global usage site-wide changes for printing-only
                 page##.css   // EZ-Page -- css specific to a numbered EZ-page ... ie:  page21.css would be for EZ-Page number 21 ... ie: for the URL index.php?main_page=page&id=21
    
    The 'stylesheet.css' is expected to load first and should contain the bulk of your CSS selectors. Each file loaded takes priority over previously loaded file(s). To save loading time, only new selectors or selectors whose properties you wish to change should be in the optional CSS files. You can have different overrides for the same page, in different languages, because the two would never be called at the same time.
    
    If someone selected the French language on your site, the 'french_stylesheet.css' would also be loaded. It should only contain the site-wide changes you want to make to 'stylesheet.css'. For example, change a 'background-image' for your French customers.
    
    If someone went to any of the other pages, that page's CSS file would be loaded. Possibly you want different 'background-image' & 'background-color' on each of 'page_x' pages. Possibly you do not want a border around '.plainBox' most of the time, but on a couple of pages you do... and on one of those pages you want it in black and the other in red.
    
    Possibly you created a NEW tag and did a <span class="newtag"> in your Privacy Statement. It is defined in only one CSS file, 'german_privacy.css' as '.newtag { text-transform: uppercase }' Because, in Germany, that phrase must be in all CAPS, but not in other countries.
    
    Use your CSS files and the standard tags as much as possible, just change their properties when needed. If possible, DON'T HACK the core code. Use your CSS files to do the work for you. When the style coding has been removed from the ZenCart code and people have to decide if they want to go without the upgrade ~or~ undo all their hacks and finally learn about CSS... your site will still be up and running.
    
    Additional information is contained in the Zen Cart documentation.
    
    
    Adapted from ideas presented by
    Juxi Zoza
    03/15/05

  4. #1404
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by royaldave View Post
    OK.

    Installed fresh copy of 2.0.1. Using demo DB. All is good.
    Installed fresh copy of bootstrap. All is good - shopping cart update qty works as it should.
    Dropped the demo DB and put a copy of my live DB in there. Upgraded it through zc_install.
    Shopping cart update qty now broken!

    So something in my DB is causing the issue! What?

    Here's the weird thing though - if I get a copy of the recursive classic version of tpl_shopping_cart_default.php and drop it in over the bootstrap one (and remove the isMobile bits so it will run) - the update qty functionality works as it should!

    I promise you no other changes have been made.

    Any ideas?
    I'd need a gzipped copy of the database to see for myself; send me a PM with a link, please.

  5. #1405
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    76
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Further to my query above, in regards to id's or classes that already exist in the template but don't appear to have any set styling for example:

    h1 id="indexCategories-pageHeading" class="pageHeading" from the home page.

    Can I add these to the stylesheet, or should I create and load a new one?

  6. #1406
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by mikecnz View Post
    Further to my query above, in regards to id's or classes that already exist in the template but don't appear to have any set styling for example:

    h1 id="indexCategories-pageHeading" class="pageHeading" from the home page.

    Can I add these to the stylesheet, or should I create and load a new one?
    Your "best" option is to add them to the site_specific_styles.php, within a <style></style> section. That way, you won't overwrite your updates when the base template is updated.

  7. #1407
    Join Date
    Jun 2014
    Posts
    157
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    @mikecnz

    if ($this_is_home_page) {
    ?>
    <style>
    h1 {color: red;}
    </style>
    <?php
    }
    This will allow for styling of the home page, is there a list of codes for the various pages? e.g. contact us, ez pages, etc?

    See this post: https://www.zen-cart.com/showthread....28#post1391428

    jpda
    Last edited by jpda; 18 Aug 2024 at 04:20 PM.

  8. #1408
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Is there any work underway to update this to use Bootstrap 5.3.3 or is it staying on Bootstrap 4.6.2 for the foreseeable future?
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

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

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by strelitzia View Post
    Is there any work underway to update this to use Bootstrap 5.3.3 or is it staying on Bootstrap 4.6.2 for the foreseeable future?
    Planned, but nothing currently underway.

  10. #1410
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by lat9 View Post
    Planned, but nothing currently underway.
    I have a client wanting BS5 so I may need to look at the conversion then. Perhaps you could set up a BS5 directory in your GitHub repo so I can share any work that I might do.
    Would also help to agree on a version number for the change to 5.
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

 

 

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