Hi:
I took out the text in the bannerboxHeading. I could not remove the heading altogether but the heading got smaller so that will work for me for right now.
Thanks for your help.
Dave
Printable View
Hi:
I took out the text in the bannerboxHeading. I could not remove the heading altogether but the heading got smaller so that will work for me for right now.
Thanks for your help.
Dave
Hi I would appreciate those files as a logo in a sidebox sounds like a plan.
Cheers in anticipation Bob
what do I need to do if I want to display two sidebars just before the footer on the mobile layout?
I am using Zencart 1.5.6c PHP 7.3
On the create an account page I am not seeing the newsletter options show:
Attachment 18734
All I am seeing is the Text but no radio buttons or check box
Can anyone help please, thanks
This is the PHP in includes/classes/site_map.php. As you can see it already contains the lines you suggest could be wrong in my site_map.php file.
PHP Code:
<?php/** * site_map.php * * @package general * @copyright Copyright 2003-2018 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 Mon Nov 5 09:42:04 2018 -0500 Modified in v1.5.6 $ */if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access');}/** * site_map.php * * @package general */ class zen_SiteMapTree { var $root_category_id = 0, $max_level = 0, $data = array(), $root_start_string = '', $root_end_string = '', $parent_start_string = '', $parent_end_string = '', $parent_group_start_string = "\n<ul>", $parent_group_end_string = "</ul>\n", $child_start_string = '<li>', $child_end_string = "</li>\n", $spacer_string = '', $spacer_multiplier = 1;
function __construct() { global $db; $this->data = array(); $categories_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' and c.categories_status != '0' order by c.parent_id, c.sort_order, cd.categories_name"; $categories = $db->Execute($categories_query); while (!$categories->EOF) { $this->data[$categories->fields['parent_id']][$categories->fields['categories_id']] = array('name' => $categories->fields['categories_name'], 'count' => 0); $categories->MoveNext(); } }
function buildBranch($parent_id, $level = 0, $parent_link = '') { $result = $this->parent_group_start_string;
if (isset($this->data[$parent_id])) { foreach ($this->data[$parent_id] as $category_id => $category) { $category_link = $parent_link . $category_id; $result .= $this->child_start_string; if (isset($this->data[$category_id])) { $result .= $this->parent_start_string; }
if ($level == 0) { $result .= $this->root_start_string; } $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '">'; $result .= $category['name']; $result .= '</a>';
if ($level == 0) { $result .= $this->root_end_string; }
if (isset($this->data[$category_id])) { $result .= $this->parent_end_string; }
// $result .= $this->child_end_string;
if (isset($this->data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level+1))) { $result .= $this->buildBranch($category_id, $level+1, $category_link . '_'); } $result .= $this->child_end_string;
} }
$result .= $this->parent_group_end_string;
return $result; } function buildTree() { return $this->buildBranch($this->root_category_id); }//-bof-zca_bootstrap *** 1 of 1 *** public function setParentStartEndStrings($start, $end = "</ul>\n") { $this->parent_group_start_string = $start; $this->parent_group_end_string = $end; } public function setChildStartString($start, $end = "</li>\n") { $this->child_start_string = $start; $this->child_end_string = $end; }//-eof-zca_bootstrap *** 1 of 1 *** }
<fieldset>
<legend>Newsletter and Email Details</legend>
<input class="custom-control-input" type="checkbox" name="newsletter" value="1" id="newsletter-checkbox" /><label class="checkboxLabel" for="newsletter-checkbox">Subscribe to Our Newsletter.</label><br class="clearBoth" />
<input class="custom-control-input" type="radio" name="email_format" value="HTML" checked="checked" id="email-format-html" /><label class="radioButtonLabel" for="email-format-html">HTML</label><input class="custom-control-input" type="radio" name="email_format" value="TEXT" id="email-format-text" /><label class="radioButtonLabel" for="email-format-text">TEXT-Only</label><br class="clearBoth" />
</fieldset>
Thanks for reply
Hi,
I am just testign your template. I find it great.
But I have some question.
I present my price without VAT and with VAT. But the font size is too large. I can not change te font-size, while <h2> size is defined in https://stackpath.bootstrapcdn.com/b...ndor/_rfs.scss.
How can I make this links as local and make some small changes to use it with mobile phone ...?
thank you for your reply
B.