tru dat
Still trying to find what overrides the initial database setting of 1.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Bootstrap 3.5.1
In shopping cart the checkboxes for deleting products are not well aligned.
Ifin class .form-check-input in file _forms.scss is deactivated, it looks correctly.Code:position:absolute;
This is a file loaded from bootstrap. So I am looking for a method to display the checkbox correctly and not messing up any other elements.
Darn it. I had an additional plugin installed when testing that expanded the height of the shopping-cart table's rows.
GitHub tracking issue: https://github.com/lat9/ZCA-Bootstra...ate/issues/203
Update's on GitHub, see this (https://github.com/lat9/ZCA-Bootstra...a71dca59dda5b0) link for changes required.
Hi Lat, I think tpl_header.php is missing a <br> on line 165?
<?php
/**
* Common Template - tpl_header.php
*
* BOOTSTRAP v3.5.1
*
*
* @copyright Copyright 2003-2020 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: DrByte 2020 May 19 Modified in v1.5.7 $
*/
?>
<!--bof-header logo and navigation display-->
<?php
// -----
// Quick return if the header's been disabled.
//
if (!empty($flag_disable_header)) {
return;
}
?>
<div id="headerWrapper" class="mt-5">
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<nav class="navbar fixed-top mx-3 navbar-expand-lg rounded-bottom" aria-label="<?php echo TEXT_HEADER_ARIA_LABEL_NAVBAR; ?>">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<?php
if (!$this_is_home_page) {
?>
<li class="nav-item">
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>">
<i class="fas fa-home"></i> <?php echo HEADER_TITLE_CATALOG; ?>
</a>
</li>
<?php
}
if (zen_is_logged_in() && !zen_in_guest_checkout()) {
?>
<li class="nav-item">
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
</li>
<?php
} else {
if (STORE_STATUS === '0') {
?>
<li class="nav-item">
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>">
<i class="fas fa-sign-in-alt"></i> <?php echo HEADER_TITLE_LOGIN; ?>
</a>
</li>
<?php
}
}
if ($_SESSION['cart']->count_contents() > 0) {
?>
<li class="nav-item">
<!--<a class="nav-link" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
<!--aggiunge icona carrello su header con quantita-->
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<i class="fas fa-shopping-cart"></i> ' ?><?php echo $_SESSION['cart']->count_contents(); ?> <?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>
</li>
<?php
}
require $template->get_template_dir('tpl_offcanvas_menu.php', DIR_WS_TEMPLATE, $current_page_base, 'common') . '/tpl_offcanvas_menu.php';
?>
</ul>
<?php
require DIR_WS_MODULES . zen_get_module_sidebox_directory('search_header.php');
?>
</div>
</nav>
</div>
</div>
<!--eof-navigation display-->
<?php
// -----
// Output the div that provides spacing under the navbar. It's set by
// tpl_main_page.php and might be an empty string if it's already been
// output in an active 'Header Position 1' banner.
//
echo $navbar_spacer;
?>
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo" class="row align-items-center px-3 pb-3">
<?php
$sales_text_class = (HEADER_SALES_TEXT !== '') ? 'col-sm-4' : 'col-sm-12';
?>
<div class="<?php echo $sales_text_class; ?>">
<a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" aria-label="<?php echo TEXT_HEADER_ARIA_LABEL_LOGO; ?>">
<?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base, 'images') . '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT); ?>
</a><br>
</div>
<?php
if ((SHOW_BANNERS_GROUP_SET2 !== '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) || HEADER_SALES_TEXT !== '') {
?>
<div id="taglineWrapper" class="col-sm-6 text-center"> <!--col-sm-6 invece di col-sm-12-->
<?php
if (HEADER_SALES_TEXT !== '') {
?>
<div id="tagline" class="text-center"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
if (SHOW_BANNERS_GROUP_SET2 !== '' && $banner !== false) {
// -----
// Set variables used by the banner-carousel.
//
$find_banners = zen_build_banners_group(SHOW_BANNERS_GROUP_SET2);
$banner_group = 2;
?>
<div class="zca-banner bannerTwo rounded">
<?php
if (ZCA_ACTIVATE_BANNER_TWO_CAROUSEL === 'true') {
require $template->get_template_dir('tpl_zca_banner_carousel.php', DIR_WS_TEMPLATE, $current_page_base, 'common') . '/tpl_zca_banner_carousel.php';
} else {
echo zen_display_banner('static', $banner);
}
?>
</div>
<?php
}
?>
</div>
<?php
}
// no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2
?>
</div>
</div>
<!--eof-branding display-->
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo zen_output_string_protected(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo zen_output_string_protected($_GET['info_message']);
}
?>
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require $template->get_template_dir('tpl_modules_categories_tabs.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_categories_tabs.php'; ?>
<!--eof-optional categories tabs navigation display-->
<br>
<!--bof-header ezpage links-->
<?php
if (EZPAGES_STATUS_HEADER === '1' || (EZPAGES_STATUS_HEADER === '2' && zen_is_whitelisted_admin_ip())) {
require $template->get_template_dir('tpl_ezpages_bar_header.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_ezpages_bar_header.php';
}
?>
<!--eof-header ezpage links-->
</div>
Giovanni,
Zen Cart V2.1
Bookmarks