-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
New Question...
As I am only using the left side box for "Categories" I also moved the "All Products" listing to the top of the categories list which I've been able to do with a couple tweaks to reponsive_classic/sideboxes/tpl_categories.php.
"All Products" is the only other thing I am displaying in the left column and I needed it to be at the top of the Categories list.
All morning I've been trying to do the same for "mobile" devices (iPhone) but haven't been able to figure out how to do that. Due to my limited coding experience I could use some guidance.
Am I correct that the "Mobile" menu is built on the fly with "categories_ul_generator.php".
Seems like there should be an edit to "tpl_modules_mobile_menu.php" that will do the trick?
An edit to a core file is OK as this is a one time custom job.
Thanks,
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
New Question...
As I am only using the left side box for "Categories" I also moved the "All Products" listing to the top of the categories list which I've been able to do with a couple tweaks to reponsive_classic/sideboxes/tpl_categories.php.
"All Products" is the only other thing I am displaying in the left column and I needed it to be at the top of the Categories list.
All morning I've been trying to do the same for "mobile" devices (iPhone) but haven't been able to figure out how to do that. Due to my limited coding experience I could use some guidance.
Am I correct that the "Mobile" menu is built on the fly with "categories_ul_generator.php".
Seems like there should be an edit to "tpl_modules_mobile_menu.php" that will do the trick?
An edit to a core file is OK as this is a one time custom job.
Thanks,
Yes:
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_mobile_menu.php
line 83 - 85
PHP Code:
<?php if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') { ?>
<li><a class="category-links" href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo CATEGORIES_BOX_HEADING_PRODUCTS_ALL; ?></a></li>
<?php } ?>
Move this to line 15 after the initial unordered list tag:
PHP Code:
<nav id="menu">
<ul>
<?php if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') { ?>
<li><a class="category-links" href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo CATEGORIES_BOX_HEADING_PRODUCTS_ALL; ?></a></li>
<?php } ?>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
To put it at the very top all the time... only if you have it turned on in admin using the - SHOW_CATEGORIES_BOX_PRODUCTS_ALL - db switch.
Just paste the <li> ... </li> without the php - if you want to bypass the switch.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
twitchtoo
Yes:
includes/templates/YOUR_TEMPLATE/templates/
tpl_modules_mobile_menu.php
line 83 - 85
PHP Code:
<?php if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') { ?>
<li><a class="category-links" href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo CATEGORIES_BOX_HEADING_PRODUCTS_ALL; ?></a></li>
<?php } ?>
Move this to line 15 after the initial unordered list tag:
PHP Code:
<nav id="menu">
<ul>
<?php if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') { ?>
<li><a class="category-links" href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo CATEGORIES_BOX_HEADING_PRODUCTS_ALL; ?></a></li>
<?php } ?>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
To put it at the very top all the time... only if you have it turned on in admin using the - SHOW_CATEGORIES_BOX_PRODUCTS_ALL - db switch.
Just paste the <li> ... </li> without the php - if you want to bypass the switch.
Perfect!
I did something similar with the desktop display but for some reason I was overlooking that code in the mobile menu.
Thank You Very Much!!!
-
2 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Me again
Since moving to the classic responsive design I've noticed that when on phones, tablets etc the display appears properly BUT on a wide screen monitor (which is pretty standard these days) the horitontal menu gets messed up (see attached iamges).
Any ideas how this can be rectified or which CSS needs to be changed??
Also has ANYONE found a way to put a quantity box onto the shopping cart in phone/cell mode - the "update button" is shown but no input box to change the quantity???
Thanks in advance :)
Zen Cart 1.5.5f
PHP Version 7.2.10
Database: MySQL 10.0.36-MariaDB-cll-lve
website: forthpalm.com
Attachment 18053
Attachment 18054
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Josh4u
Me again
Since moving to the classic responsive design I've noticed that when on phones, tablets etc the display appears properly BUT on a wide screen monitor (which is pretty standard these days) the horitontal menu gets messed up (see attached iamges).
Any ideas how this can be rectified or which CSS needs to be changed??
Also has ANYONE found a way to put a quantity box onto the shopping cart in phone/cell mode - the "update button" is shown but no input box to change the quantity???
Thanks in advance :)
Zen Cart 1.5.5f
PHP Version 7.2.10
Database: MySQL 10.0.36-MariaDB-cll-lve
website: forthpalm.com
Attachment 18053
Attachment 18054
Hi Josh4u
Is this an update to an existing installation?
If so have you tested with a fresh install?
Check your settings in the various "Product listing(s)" for an option for that QTY box.
If you are using the "Buy Now" button. Don't know for sure if you get a QTY box with that setting.
I'm looking at your site on a 1920 X 1200 screen and it looks good.
If you're using a wider screen that take a look in the responsive css files for settings greater than that.
Haven't had your problem but I use the "CheckBoxTextBoxIconV1.0.3" plug in and it gives me several options for "Boxes".
-
Beta Release - Twitch Left/Right Nav Category Sidebox Select
Looking for your feedback on my newest module exclusively built for the Responsive Classic 1.55f template:
Twitch Left/Right Nav Category Sidebox Select - Beta
This module uses a simple pre-filter with the existing code to maintain the look/feel/function of a stock Responsive Classic L/R navigation. It maintains the on-page-load structure (instead of Javascript). That means it is simple and compatible with all other Twitch modules... and it's plug and play compatible with any plugin/template still using the stock nav.
Updated Function:
First Load - Display all categories (enabled - status)
First click - Load only selected category/subcategories/products as they are found
Next click - Continue and display unselected 'clickable' folders within the category - clients can click a logical visual categories to return or use the back button
CSS updates to make it easier on the eyes while navigating and highlight or shadow return links
Maintain Category Count switch and function on child categories
Working Example using Right Nav Sidebox:
http://sheldrakeautomotive.com/shop/
Beta code:
includes/templates/YOUR_TEMPLATE/templates/sideboxes/tpl_categories.php
PHP Code:
<?php
/**
* Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2016 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: picaflor-azul Sun Dec 13 16:32:43 2015 -0500 New in v1.5.5 $
*/
// bof Twitch Left/Right Nav Category Sidebox Select - Beta - September 26.2018
for ($i=0;$i<sizeof($box_categories_array);$i++) {
if ($box_categories_array[$i]['current'] == '1') {
// category has been selected
//echo ' run current 1 ' ;
$catSelected = 'yes';
}
if ($catSelected == '') {
// this is the first pass
//echo ' first pass ' ;
$catSelected = 'first pass';
}
if ($box_categories_array[$i]['top'] == 'true') {
// do nothing - for future use
//echo ' run top ' ;
}
}
if ($catSelected == 'first pass') {
// First code pass block - Display all active categories found in $box_categories_array
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent"><ul class="list-links">' . "\n";
for ($i=0;$i<sizeof($box_categories_array);$i++) {
switch(true) {
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
case ($box_categories_array[$i]['has_sub_cat']):
$new_style = 'category-subs';
break;
default:
$new_style = 'category-products';
break;
}
$content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
$content .= $box_categories_array[$i]['name'];
}
$content .= '</a>';
$content .= '</li>' . "\n";
$content .= '</ul></div>';
//$content .= '</ul>first pass complete</div>';
}
// eof Twitch Left/Right Nav Category Sidebox Select - Beta - September 26.2018
if ($catSelected == 'yes') { // Twitch L/R Nav Cat Sidebox Select
// Selected category code pass block - Display only selected category/sub categories/products
//echo ' run using yes ';
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent"><ul class="list-links">' . "\n";
for ($i=0;$i<sizeof($box_categories_array);$i++) {
switch(true) {
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
case ($box_categories_array[$i]['has_sub_cat']):
$new_style = 'category-subs';
break;
default:
$new_style = 'category-products';
break;
}
if (zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1)) {
// skip if this is for the document box (==3)
} else {
// $content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
if ($box_categories_array[$i]['current'] == '1') {
if ($box_categories_array[$i]['has_sub_cat']) {
$content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
$content .= '<span class="category-subs-parent">' . $box_categories_array[$i]['name'] . '</span>';
} else {
$content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
$content .= '<span class="category-subs-selected">' . $box_categories_array[$i]['name'] . '</span>';
}
} else {
if ($box_categories_array[$i]['top'] == 'true') {
} else {
$content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
$content .= $box_categories_array[$i]['name'] ;
// Twitch add category counts to last child
if (SHOW_COUNTS == 'true') {
if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
$content .= '<span class="notforward cat-count">' . CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX . '</span>';
}
}
}}
if ($box_categories_array[$i]['has_sub_cat']) {
$content .= CATEGORIES_SEPARATOR;
}
$content .= '</a>';
$content .= '</li>' . "\n";
}
}
} // Twitch L/R Nav Cat Sidebox Select
if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
// display a separator between categories and links
if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
$content .= '' . "\n";
}
if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
$show_this = $db->Execute("select s.products_id from " . TABLE_SPECIALS . " s where s.status= 1 limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<li><a class="category-links" href="' . zen_href_link(FILENAME_SPECIALS) . '">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a></li>' . "\n";
}
}
if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
// display limits
// $display_limit = zen_get_products_new_timelimit();
$display_limit = zen_get_new_date_range();
$show_this = $db->Execute("select p.products_id
from " . TABLE_PRODUCTS . " p
where p.products_status = 1 " . $display_limit . " limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<li><a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . CATEGORIES_BOX_HEADING_WHATS_NEW . '</a></li>' . "\n";
}
}
if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
$show_this = $db->Execute("select products_id from " . TABLE_FEATURED . " where status= 1 limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<li><a class="category-links" href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS . '</a></li>' . "\n";
}
}
if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
$content .= '<li><a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a></li>' . "\n";
}
}
$content .= '</ul></div>';
Proposed Updates:
- Tie the $new_style CSS values together in one control
- Addition of thumbnail images in the display list
Thanks!
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I am sorry if I am in wrong Thread, but it came on search for "SEO".
Before "Responsive template" my website www.idtagsonline.com index.html file was in /HOME/ folder on my hosting domain (public_html).
I had traditional website with reciprocal links to support SEO at that time with the link to Zen Cart store.
My ZEN Cart was and still is installed in /home/store/ folder.
Recently we rebuilt Zen Cart to Classic Responsive template, but it is still in /home/store/ folder.
What would be preferred action at this situation to make potentials for SEO, to move Zen Cart to /HOME/ Folder and eliminate /STORE/ folder?
Is it technically possible?
Or, eliminate old files in /HOME/ folder (original website) and make some kind of Redirect to /home/store/?
We think that we need to get rid out of None Responsive pages for SEO.
I hope I ask the question correctly.
Any suggestions are appreciated.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Out of the box install of ZC 155.5f
PHP 7.1
Seems the Responsive Classic Template has an issue with the EZ-Pages Footer & Header Link Separators.
Changes to the default separators show up in the database but have no effect on pages.
Switching to the Classic template works.
If the responsive_classic template doesn't get these separators from the database then where are they generated?
Or does the code (maybe css) have a bug?
Current settings on this Test Site:
EZ-Pages Header Link Separator ZZ
EZ-Pages Footer Link Separator ZZ
http://pcsnnets.com/zc5f
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
I am sorry if I am in wrong Thread, but it came on search for "SEO".
Before "Responsive template" my website
www.idtagsonline.com index.html file was in
/HOME/ folder on my hosting domain (public_html).
I had traditional website with reciprocal links to support SEO at that time with the link to Zen Cart store.
My ZEN Cart was and still is installed in
/home/store/ folder.
Recently we rebuilt Zen Cart to Classic Responsive template, but it is still in
/home/store/ folder.
What would be preferred action at this situation to make potentials for SEO, to move Zen Cart to
/HOME/ Folder and eliminate
/STORE/ folder?
Is it technically possible?
Or, eliminate old files in
/HOME/ folder (original website) and make some kind of Redirect to
/home/store/?
We think that we need to get rid out of None Responsive pages for SEO.
I hope I ask the question correctly.
Any suggestions are appreciated.
I guess, I found answer for my question here:
https://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory
I will update with result.
Thank you.
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
Out of the box install of ZC 155.5f
PHP 7.1
Seems the Responsive Classic Template has an issue with the EZ-Pages Footer & Header Link Separators.
Changes to the default separators show up in the database but have no effect on pages.
Switching to the Classic template works.
If the responsive_classic template doesn't get these separators from the database then where are they generated?
Or does the code (maybe css) have a bug?
Current settings on this Test Site:
EZ-Pages Header Link Separator #### ZZ ######
EZ-Pages Footer Link Separator #### ZZ ######
http://pcsnnets.com/zc5f
While we're at it I'd like to see if it's possible to move the menu items from the left side of the menu bar to the right side in the responsive classic template. (See attached image)
I have turned off the search function and tried several mods to the css but the menu jumps to the center when you reduce the page width.
Attachment 18064
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I am using a customised verison of the responsive classic template.
I am trying to move things as high as possible on the page and have moved the customer login into a side box. I have some empty space next to my logo (to the top right) and would like to move the right hand sideboxes right up the page so they start parallel with the logo.
I am imagining I should make the logoWrapper narrower as this seems to be filling the space but can't seem to do this. And then somehow making the the righthand boxes float top right.
Would this work and is so where would I edit the logoWrapper and the right hand sideboxes only
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Not sure if this will be what you want but what I did with one of my sites was too disable the logo block (Commented it out) and put the logo (code) in the left column above the "Categories".
NOTE:
Your logo will be restricted to the width of the left side box.
includes/templates/responsive_classic/common/tpl_header.php
Disable LOGO in header Around line 165
<!--bof branding display-->
Code:
<div id="logoWrapper" class="group onerow-fluid">
<div id="logo"><?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . 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>'; ?>
includes/templates/responsive_classic/common/tpl_main_page.php
Add LOGO in side box Around line 133
* prepares and displays left column sideboxes
** MOD Added Echo Logo and css Positioning
** NOTE: Also making a certain catalog page my "Home" page ID:23, i.e. (cPath=23)
*/
Code:
?>
<div id="logoPosition" ><?php echo '<a href="http://www.pcsnnets.com/tp19/index.php?main_page=index&cPath=23">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>';?></div>
<?php
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
Not sure if this will be what you want but what I did with one of my sites was too disable the logo block (Commented it out) and put the logo (code) in the left column above the "Categories".
NOTE:
Your logo will be restricted to the width of the left side box.
includes/templates/responsive_classic/common/tpl_header.php
Disable LOGO in header Around line 165
<!--bof branding display-->
Code:
<div id="logoWrapper" class="group onerow-fluid">
<div id="logo"><?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . 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>'; ?>
includes/templates/responsive_classic/common/tpl_main_page.php
Add LOGO in side box Around line 133
* prepares and displays left column sideboxes
** MOD Added Echo Logo and css Positioning
** NOTE: Also making a certain catalog page my "Home" page ID:23, i.e. (cPath=23)
*/
Code:
?>
<div id="logoPosition" ><?php echo '<a href="http://www.pcsnnets.com/tp19/index.php?main_page=index&cPath=23">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>';?></div>
<?php
BTW
The columns are in
includes/templates/responsive_classic/common/tpl_main_page.php
Around line 196
/**
* prepares and displays right column sideboxes
*
*/
Code:
require(DIR_WS_MODULES . zen_get_module_directory('column_right.php'));
?>
</div>
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
mammoth65
I am using a customised verison of the responsive classic template.
I am trying to move things as high as possible on the page and have moved the customer login into a side box. I have some empty space next to my logo (to the top right) and would like to move the right hand sideboxes right up the page so they start parallel with the logo.
I am imagining I should make the logoWrapper narrower as this seems to be filling the space but can't seem to do this. And then somehow making the the righthand boxes float top right.
Would this work and is so where would I edit the logoWrapper and the right hand sideboxes only
Take a look at haredo.com and see if that's what you are looking for.
From just shy of full screen, take the right-hand edge and move it left to make the browser more narrow.
The sideboxes are there, then move to keep the logo in sight, and finally go away in smaller screens.
It's all in the CSS.
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello all,
Can anyone give me advice on my following three issues?
1: First issue is when looking at the new products list from the ZC main page using responsive classic, the product title description is squashed close together between first and second line.
2: As per the second arrow on the picture. Is there any way to display add to cart next to the product on new products page as opposed to having to add quantity on that page and scroll right to the bottom of the page to add to cart.
3: Item description, bottom arrow on page where it says ....more info. Anyway of increasing description length. (Bare in mind this is on the New Products page.
Thanks for anyone who can help with these minor issues.
Nathan
Attachment 18070
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
himmon
Hello all,
Can anyone give me advice on my following three issues?
1: First issue is when looking at the
new products list from the ZC main page using responsive classic, the product title description is squashed close together between first and second line.
2: As per the second arrow on the picture. Is there any way to display add to cart next to the product on new products page as opposed to having to add quantity on that page and scroll right to the bottom of the page to add to cart.
3: Item description, bottom arrow on page where it says ....more info. Anyway of increasing description length. (Bare in mind this is on the New Products page.
Thanks for anyone who can help with these minor issues.
Nathan
Attachment 18070
1:
Increase the line height in the css for that field.
You may have to experiment a bit to get it the way you want it....
2:
Configuration > New Listing > Display Multiple Products Qty Box Status and Set Button Location
Play around with the adjacent display settings an I think You'll come up with an acceptable solution
3:
"Display Product Description" on the same page. (The default is 150)
The above is relevant to all the product listing screens
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Thank you very much for your help with this, I'll take a backup and play around.
Cheers
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
1:
Increase the line height in the css for that field.
You may have to experiment a bit to get it the way you want it....
2:
Configuration > New Listing > Display Multiple Products Qty Box Status and Set Button Location
Play around with the adjacent display settings an I think You'll come up with an acceptable solution
3:
"Display Product Description" on the same page. (The default is 150)
The above is relevant to all the product listing screens
On second thought that is a word wrap so line height probably won't do the trick.
You'll have to increase the length of that field which may be bound by the parent div.
Not sure if you can do that in the css or if it will require a coding change
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
thanks I will try that, sorry for delay in replying not getting notifications of new replies.
should also have linked the site https://mammothwillow.com/store/
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
yes that is roughly what I want but I haven't been able to figure out the css controls the width of the logo wrapper / div (not sure what ) that is filling the empty space and (i assume) not letting me move the right column up. also in css how to only move the right sidebox up without doing the same to the left
https://mammothwillow.com/store/
I think I will go with linuxguy2's suggestion. Thankyou
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
ZC155f responsive_classic
PHP 7.1
Out of the box install accessing with an iPhone 6S gives this PHP warning.
I realize Warnings can generally be ignored but it may lead to problems in the future.
What do all the entries before the warning mean?
Warning is NOT generated with PHP 7.0
Code:
[20-Oct-2018 17:20:10 UTC] PHP Warning: A non-numeric value encountered in /home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php on line 58
[20-Oct-2018 17:21:52 UTC] Request URI: /155f/, IP address: 76.182.229.147
#1 zen_categories_ul_generator->buildBranch() called at [/home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php:85]
#2 zen_categories_ul_generator->buildTree() called at [/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php:38]
#3 require(/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php) called at [/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/common/tpl_main_page.php:258]
#4 require(/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/pcsnnets/public_html/155f/index.php:97]
[20-Oct-2018 17:21:52 UTC] PHP Warning: A non-numeric value encountered in /home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php on line 58
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
ZC155f responsive_classic
PHP 7.1
Out of the box install accessing with an iPhone 6S gives this PHP warning.
I realize Warnings can generally be ignored but it may lead to problems in the future.
What do all the entries before the warning mean?
Warning is NOT generated with PHP 7.0
Code:
[20-Oct-2018 17:20:10 UTC] PHP Warning: A non-numeric value encountered in /home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php on line 58
[20-Oct-2018 17:21:52 UTC] Request URI: /155f/, IP address: 76.182.229.147
#1 zen_categories_ul_generator->buildBranch() called at [/home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php:85]
#2 zen_categories_ul_generator->buildTree() called at [/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php:38]
#3 require(/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php) called at [/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/common/tpl_main_page.php:258]
#4 require(/home/pcsnnets/public_html/155f/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/pcsnnets/public_html/155f/index.php:97]
[20-Oct-2018 17:21:52 UTC] PHP Warning: A non-numeric value encountered in /home/pcsnnets/public_html/155f/includes/classes/categories_ul_generator.php on line 58
Solution by @mc12345678 here: https://www.zen-cart.com/showthread....79#post1349079
(file: includes/classes/categories_ul_generator.php)
Cheers,
jpda
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Zen Cart 1.5.5f. Product quantity box shows "0". Is there a way to remove the 0 and have the quantity box blank?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello,
I am using 1.5.5f and responsive classic.
I have it pretty much sorted on the webpage, however when I look at the phone it looks a bit of a mess.
I have most things turned off so it isn't cluttered, however the search box still shows on the phone page even though it says off? The only way to remove it is to turn it off on the main pc size page. But I want it to be on that one.
Also, I added a sliding banner and it seemed fine on my phone, I changed the width of the column on the large screen and I think it has made the scrolling banner on the phone screen tiny. Why wound this happen?
It seems that things I do on the large screen affect the small screen but they souldn't?
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Leonard
Zen Cart 1.5.5f. Product quantity box shows "0". Is there a way to remove the 0 and have the quantity box blank?
Yes, do you want to stop showing all quantities or just hide the 0 ?
Also, what pages of the site would you like this changed?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
rainbow_pixie_star
Hello,
I am using 1.5.5f and responsive classic.
I have it pretty much sorted on the webpage, however when I look at the phone it looks a bit of a mess.
I have most things turned off so it isn't cluttered, however the search box still shows on the phone page even though it says off? The only way to remove it is to turn it off on the main pc size page. But I want it to be on that one.
Also, I added a sliding banner and it seemed fine on my phone, I changed the width of the column on the large screen and I think it has made the scrolling banner on the phone screen tiny. Why wound this happen?
It seems that things I do on the large screen affect the small screen but they souldn't?
Thank you
Amy
IIRC on small screens (eg mobiles) the search box is relocated into the hamburger menu.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hi,
I know but it is showing twice at the top of the page?
Once on the ezpage which I guess is fine but also in the main box below even though it is turned off for mobile device.
Also the scrolling banner on there is tiny when it wasn't before.
I added some featured products to see if it sandwiched them between and shifted the sdearch bar down to the bottom of the page, which would have been fine. However it just puts them in a column below it and not in a grid?
craftjam.co.uk/test/index.php
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
My issue is minor, but I'm being a bit pedantic so it would be nice to fix.
Basically if the 'Add selected Products to Cart' button is on screen there is a gap that appears between the filter-wrapper box and the box the 'add' button is in - if that makes sense.
Compare this -
http://61.245.139.145/zencart/index....index&cPath=12
to this -
http://61.245.139.145/zencart/index....index&cPath=29
If someone could please assist ... ?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
royaldave
Try this:
includes/templates/YOUR_TEMPLATE/css/stylesheet.css
.button-top {
width: 25%;
text-align: right;
margin: -10px 0px 0 0;
margin-right: 0px;
padding-top: .2em;
}
That should center the add selected products to cart button vertically for you.
To stretch the 'Displaying 1 (of 18 products)' text:
includes/templates/YOUR_TEMPLATE/css/responsive_default.css
find #productListingTopNumber
and remove #productListingTopNumber from the list
or hide it
width:16%!important;
becomes this:
/*width:16%!important*/;
And you may need to change:
includes/templates/YOUR_TEMPLATE/css/stylesheet.css
find #productListingTopNumber
adjust width: 25%;
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Thanks! The changes have improved the look of the page, however I am still getting that gap when the button appears.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
My apologies - probably not a template issue. I think the gap is caused by the presence of the multiple_products_cart_quantity form which appears when the button is there.
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello,
We just started to use EZ-Pages.
When hoovering over the image with the link, no ALT text is shown
Attachment 18095
What can be wrong with settings.
Thank you.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
Hello,
We just started to use EZ-Pages.
When hoovering over the
image with the link, no ALT text is shown
Attachment 18095
What can be wrong with settings.
Thank you.
- Error - Alt Tag Not Set -
It appears the template you are using may not have the alt code added. What happens when you switch back to the responsive or classic template to the images?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
twitchtoo
- Error - Alt Tag Not Set -
It appears the template you are using may not have the alt code added. What happens when you switch back to the responsive or classic template to the images?
Classic template works the same.
It appears that Alt Tags is not shown only on EZ-Pages.
They working fine on all products.
Also, inspect element shows Alt Tag in code:
<img alt="Autism Medical Id Dog Tag" src="/images/medium/IDNS16_med.jpg" style="float: left; width: 240px; height: 224px;">
It is not showing, however, in browser.
Is there a separate switch ON/OFF for Alt Tags in Admin Configuration for EZ-Pages?
Thank you
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
We found a simple solution to achieve our goal:
1. Open EZ-Pages for edit.
2. Switch to "Source".
3. Find HTML code for the image and add [title="Your text here"].
Example:
<a href="/index.php?main_page=product_info&cPath=3_18&products_id=112&zenid=ll bvbq60k25h1h8viutf9m2pj5" target="_blank"><img alt="Your Text Here" src="/images/medium/IDNS16_med.jpg" style="float: left; width: 240px; height: 224px;" title="Your Text Here" /></a>
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Title and alt are two different things. So if you want the title, you will need to add it when editing your ez-page
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hi,
I have upgraded and am starting to use responsive classic. I upgraded from a pretty old version so did not have a responsive version of a template.
I have been into the css and made changes but nothing seems to change when I alter any css and looked through the config menu in the admin area. I have also deleted cookies and refreshed.
So I am not sure where to go to fix my problems.
The first main one is that on the product page, all the elements of the product are overlapping...
http://craftjam.co.uk/test/index.php...oducts_id=3125
This is also true for the images on the product pages, they overlap the quantity boxes.
How do I alter these?
Also is there a way to remove the quantity boxes on the product page list (not in the actual product page) and the 'add selected to cart' button.
I would like people to have to go into the product to add it to their cart.
The template also is not working on mobile devices, however this is something I will go into after I sort this part.
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
rainbow_pixie_star
Hi,
I have upgraded and am starting to use responsive classic. I upgraded from a pretty old version so did not have a responsive version of a template.
I have been into the css and made changes but nothing seems to change when I alter any css and looked through the config menu in the admin area. I have also deleted cookies and refreshed.
So I am not sure where to go to fix my problems.
The first main one is that on the product page, all the elements of the product are overlapping...
http://craftjam.co.uk/test/index.php...oducts_id=3125
This is also true for the images on the product pages, they overlap the quantity boxes.
How do I alter these?
Also is there a way to remove the quantity boxes on the product page list (not in the actual product page) and the 'add selected to cart' button.
I would like people to have to go into the product to add it to their cart.
The template also is not working on mobile devices, however this is something I will go into after I sort this part.
Thank you
Amy
Your link looks clean on our end except where PayPal and credit card image overlap with Copyright.
It would be useful to post an Image to illustrate the issue.
Are you familiar with concept of "Inspect Element" on browser?
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
That's odd, when I click that link I gave you it takes you to my current site, not my new site which is in a test dir, so yes an image will be more helpful for you. I have added that.
The product info starts half way down the page and looks like all the info is stacked on top of each other.Attachment 18105
As for inspect element, I had used it to figure out what colours relate to what part of the code, however when I change the code it seems that most of the text on the page has to be one colour and this really isnt working for me.
I used a really basic template on my old website and i had no problems at all customising it, I am really struggling with this one.
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Actually an image is seldom if ever helpful when trying to rearrange items on a page. There are so many different combinations that can create the "look". No way we can accurately evaluate them without seeing the code. That's why the posting tips request a link(if possible) be included with each thread or post.
Remember that you have a lot of control in the ADMIN >> Catalog >> Product Types >> Product - General >>then edit layout
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hi,
To see the link you would have to manually type in and go in to the site at craftjam.co.uk/test/index.php then click any of the products and you will see that they are half way down the page and all overlapping. For some reason the link doesn't seem to work.
I have done all that in admin as mentioned in the original post as well as the css. These alterations seem to make no difference
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
The two pages I looked at on the desktop look fine for alignment but do not act responsively. Where did the template estorenow come from? It has no css that "responds" to different size screens.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hi,
No, that is the old site which is still live until I get the new one running which is in my test directory.
The address for this is at craftjam.co.uk/test/index.php is 1.5.5f and using the classic responsive template
Thank you
Amy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
When you load these product pages, they lode fine, then the products slip down the page.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Anyone know how to fix an image moving down the page after it has loaded?
Also does anyone know why the categories menu on the mobile version would not open so you can see categories? I cannot check how anything looks on a mobile version either because the fold out menu doesn't open
Thanks
AMy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I still cannot duplicate any of the symptoms you are reporting.:(
I used http://craftjam.co.uk/test/index.php...oducts_id=3309
I see some minor screen jumps with changes in screen width, but nothing like what you describe.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
hmm, really don't understand what has happened there???
Anyway I reinstalled zencart, it fixed the issues, however when I re installed the dual pricing addon, it did it again.
Not sure if it is one of the addons causing this.
Thanks
AMy
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello,
My question is about connecting of Zen Cart to social media sites.
We felt behind in our "literacy" and do not have yet social media sites.
(But it is never late to start for anything.)
We are using currently "Responsive Classic" template.
Searching for word "Facebook" I found this thread
They say: * Add This social bookmarking added to all product pages (includes Facebook like button, Twitter Tweet Button, Pinterest Pin it button, and 300+ Sharing Services)
Does "Responsive Classic" template have the same option and should be turned ON somewhere, or it does not?
If not, what would be suggestion to do from here to be "in line with the time"?
Thank you for advise in advance.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
Hello,
If not, what would be suggestion to do from here to be "in line with the time"?
Consider first whether you really need this thing.
I would argue (and some might disagree) that having share buttons is no longer 'in line with the time.' It was 5-10 years ago.
In most likelihood you will struggle to add these to your site, will add a layer of complexity, and less than 1% of 1% of your users will ever actually share something to social media using the buttons. Plus if they actually want to share, they don't need a button on your site to do so.
In the past I spent a lot of time struggling to add stuff like this to my site and it had no impact. I would have been much better served spending that time crafting my message and my offer.
That said, anything like this that is functional in another template can be applied to responsive_classic. You just need to know how to pluck the code out of the other template.
In this instance, they probably used code similar to this plugin already available: https://www.zen-cart.com/downloads.php?do=file&id=1325
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
lindasdd
Consider first whether you really need this thing.
I would argue (and some might disagree) that having share buttons is no longer 'in line with the time.' It was 5-10 years ago.
In most likelihood you will struggle to add these to your site, will add a layer of complexity, and less than 1% of 1% of your users will ever actually share something to social media using the buttons. Plus if they actually want to share, they don't need a button on your site to do so.
In the past I spent a lot of time struggling to add stuff like this to my site and it had no impact. I would have been much better served spending that time crafting my message and my offer.
That said, anything like this that is functional in another template can be applied to responsive_classic. You just need to know how to pluck the code out of the other template.
In this instance, they probably used code similar to this plugin already available:
https://www.zen-cart.com/downloads.php?do=file&id=1325
I hear you, maybe it is not necessary.
We looking only to improve ranking (SEO) and everybody say that connection to social web sites is essential. May be it is more "urban legend"?
We had good ranking in non responsive template, but now we are nowhere after rebuilding to classic responsive template. Pay per click does not work for us, as our products are in low cost range.
Thank you for reply and pointing to https://www.addthis.com/get/share/.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
Hello,
My question is about connecting of Zen Cart to social media sites.
We felt behind in our "literacy" and do not have yet social media sites.
(But it is never late to start for anything.)
We are using currently "Responsive Classic" template.
Searching for word "Facebook" I found this
thread
They say: * Add This social bookmarking added to all product pages (includes
Facebook like button, Twitter Tweet Button, Pinterest Pin it button, and 300+ Sharing Services)
Does "Responsive Classic" template have the same option and should be turned ON somewhere, or it does not?
If not, what would be suggestion to do from here to be "in line with the time"?
Thank you for advise in advance.
In the past I used Responsive Sheffield Blue 2.0. There was an 'Add to Any' adaptation supposed to be present that would add the social icons, but it didn't work. I went into another template by the same author and copied the code for 'AddThis' - I forget from which file. I moved the code in my 'Add To Cart Box' section of template/my template/templates/tpl_product_info_display, When I switched up toe Responsive_Classic template I copied same changes over as shown in my attached:
Code:
<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
// do nothing
} else {
?>
<?php
$display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
// hide the quantity box and default to 1
$the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
} else {
// show the quantity box
$the_button = '<div class="max-qty">' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '</div><span class="qty-text">' . PRODUCTS_ORDER_QTY_TEXT . '</span><input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
}
$display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
?>
<?php if ($display_qty != '' or $display_button != '') { ?>
<div id="cartAdd">
<?php
echo $display_qty;
echo $display_button;
?>
</div>
<!-- begin added by Doug -->
<div id="buynow-icons"><?php echo PAYMENT_ICON; ?>
</div>
<!-- end added by Doug -->
<?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!-- bof AddThis -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=" async="async"></script>
<div class="addthis_sharing_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_pinterest_share"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_compact"></a>
</div>
<!--eof AddThis-->
<!--eof Add to Cart Box-->
I put it in the Add to Cart Box instead of (I think)the product listing page as I didn't like the clutter. Its still working for me. You can see website in my signature.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
PHP Code:
.....
[COLOR="#FF0000"]<!-- bof AddThis -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=" async="async"></script>
<div class="addthis_sharing_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_pinterest_share"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_compact"></a>
</div>
<!--eof AddThis-->[/COLOR]
<!--eof Add to Cart Box-->[/CODE]
I put it in the Add to Cart Box instead of (I think)the product listing page as I didn't like the clutter. Its still working for me.
Thank you for sharing this.
So, for this to work person has to sign for https://www.addthis.com/get/share/ service and have all accounts like Facebook live. Is it correct?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
PHP Code:
.....
[COLOR="#FF0000"]<!-- bof AddThis -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=" async="async"></script>
<div class="addthis_sharing_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_pinterest_share"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_compact"></a>
</div>
<!--eof AddThis-->[/COLOR]
<!--eof Add to Cart Box-->[/CODE]
I put it in the Add to Cart Box instead of (I think)the product listing page as I didn't like the clutter. Its still working for me.
Thank you for sharing this.
So, for this to work person has to sign for
https://www.addthis.com/get/share/ service and have all accounts like
Facebook live. Is it correct?
I don't recall signing in or signing up for this - I think whoever put the code in the template file originally likely did to get the script. I checked out your link and it looks like you can get other formats of the same thing which you would use in place of what I did. (Also - it was several years ago that I did this and may have forgotten something, but I don't think so.) Maybe try putting the code in (after backing up of course) and see what if it works for you, or try on a test site if you have.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
The issue I'm about to describe occurs on a samsung phone using classic responsive template - it doesn't happen on a desktop and doesn't occur if I change to "classic" template.
In short when I am at step 1 / 3 in checkout I get the whole menu system in point form appear at the bottom of the page.
Any idea what is causing this ?
Apologies if this issue appears within thread but I've searched and can't find.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Without a link to the site, we'd just be making a WAG.
You'll note that the Posting Tips ask for any pertinent information AND that you provide a link for your site. If it's not quite ready for the world to see, post it as y o u r s i t e DOT c o m
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello,
I am using responsive classic on 1.5.5f. It all looks pretty sorted on how I want it to look, changed colours and fonts on a computer size screen.
I checked smaller mobile devices and the only thing that doesn't seem to have changed is the font that has changed on the larger screen sizes.
Also, I want to remove the grey banner with the search bar (guessing it is an ez page bar) from the mobile device only.
I have looked in tools> Layout box controler but it doesn't seem to remove it. as a result I have 2 search boxes at the top of the mobile phone page.
I can turn off one search box but not the other?
Just incase you need it... craftjam.co.uk/test/index.php
Thanks
A
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
dbltoe
Without a link to the site, we'd just be making a WAG.
You'll note that the Posting Tips ask for any pertinent information AND that you provide a link for your site. If it's not quite ready for the world to see, post it as y o u r s i t e DOT c o m
my bad - test site -
http://61.245.139.145/zencart/
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hello,
1. We use DEFINE_MAIN_PAGE.php as front page.
So image is inserted in CK-Editor and it is set to "Lock Ratio"
When window is squeezed Main Image does not hold ratio even "Lock Ratio" is selected:
https://www.idmedicaltags.com/index.php?main_page=index
Is this normal performance or configuration settings are wrong?
Are there a separate setting for (no product) Images?
Image also is deformed on mobile when it is hold vertically.
In horizontal position it is looking better.
Majority of mobile sites those keep ratio well when screen is turned.
2. On the same page under image, how to increase slightly spacing between lines?
Inspect Element option does not show any parameter in CSS it could be done.
We can not find spacing control in CK-Editor as well.
How people handle it?
Any suggestion is appreciated.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
Hello,
1. We use DEFINE_MAIN_PAGE.php as front page.
So image is inserted in CK-Editor and it is set to "Lock Ratio"
When window is squeezed Main Image does not hold ratio even "Lock Ratio" is selected:
Unless you use CK-Editor with full style sheet interaction, it inserts inline styles to the code! If you look at your rendered page you would see that the image tag has a set width/height as
Code:
style="width: 738px; height: 296px;"
This locks the image so the responsive css file can not resize the image to the screen size. You may have to remove other inline styles to fix spacing.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
davewest
Unless you use CK-Editor with full style sheet interaction, it inserts inline styles to the code! If you look at your rendered page you would see that the image tag has a set width/height as
Code:
style="width: 738px; height: 296px;"
This locks the image so the responsive css file can not resize the image to the screen size. You may have to remove other inline styles to fix spacing.
Thank you, this resolves the problem with image.
Can you advise on second question: On the same page under image, how to increase slightly spacing between lines?
Inspect Element option does not show any parameter in CSS it could be done.
We can not find spacing control in CK-Editor as well.
How people handle it?
Any suggestion is appreciated.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
idtags
Thank you, this resolves the problem with image.
Can you advise on second question: On the same page under image, how to increase slightly spacing between lines?
Inspect Element option does not show any parameter in CSS it could be done.
We can not find spacing control in CK-Editor as well.
How people handle it?
Any suggestion is appreciated.
Lot of information in googling... css line height gets this page https://www.w3schools.com/cssref/pr_dim_line-height.asp
You can add your own style sheet or attach to an existing element..
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
davewest
Thank you for pointing in right direction.
This site opened a "new world" and i got an idea that these codes can be added to CCS in custom folder.
Thank you again it worked!. :smile:
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
soxophoneplayer
I don't recall signing in or signing up for this - I think whoever put the code in the template file originally likely did to get the script. I checked out your link and it looks like you can get other formats of the same thing which you would use in place of what I did. (Also - it was several years ago that I did this and may have forgotten something, but I don't think so.) Maybe try putting the code in (after backing up of course) and see what if it works for you, or try on a test site if you have.
Thank you again for explanation.
I tested it and it works! :smile:
Now we need to create all these social media accounts.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
royaldave
my bad again .. son turned off test linux box because it was 'too noisy' - up again ...
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
royaldave
my bad again .. son turned off test linux box because it was 'too noisy' - up again ...
Can't even get to checkout in mobile. WAY too many problems with the site. Your hover over Home, Log In, etc is set to the wrong color. That's a common foul up when dealing with the responsive classic without breaking out the colors.
I cannot get the mobile to give me any screen but log in.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I have EZ Pages set up on my site, some of which are not displayed in the header, and are only available in the sidebar.
The code for displaying ezpages in the mobile menu is:
PHP Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php')); if (sizeof($var_linksList) >= 1) { for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n"; } }?>
So what do I need to change this to in order to display the ezpages links that are available in the sidebar? (the ezpages that are available in the header are also available in the sidebar).
I tried this but it doesn't display properly.
PHP Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory('sidebar/ezpages.php')); if (sizeof($var_linksList) >= 1) { for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n"; } }?>
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I just acquired an Ipad2 at a yard sale. Good score for $20. But zencart has a horrible rendering with safari. Then I realized that I had jscript disable in safari settings. After enabling jscript it works fine.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
ZC 1.55.5f Responsive_classic
Apache Version 2.4.34
PHP Version 7.0
MySQL Version 10.2.18-MariaDB
Plugins:
ColumnGridLayout_for_155f
CheckBoxTextBoxIconV1.0.3
(possible oversight) with the responsive_classic template.
I need a way to hide specific categories in the Mobile sidebox menu.
When using the below method to hide a category the designated Category [ID#2} gets hidden in the {full screen} sidebox menu but NOT in Category Tabs menu.
This causes the sidebox menu in Mobile to NOT hide the designated Category as I believe it uses the Category Tabs code.
Existing code:
Code:
/includes/templates/responsive_classic/sideboxes/tpl_categories.php
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;
case ($box_categories_array[$i]['path'] == 'cPath=2'):
$new_style = 'category_hide';
break;
case ($box_categories_array[$i]['path'] == 'cPath=1'):
$new_style = 'category_hide1';
break;
case ($box_categories_array[$i]['path'] == 'cPath=3'):
$new_style = 'category_hide2';
break;
Code:
CSS:
includes/templates/responsive_classic/css/stylesheet.css
/* Hide Categories but are clickable*/
A.category_hide {
color: #000000;
font-size:14px;
text-decoration: none;
}
/* Display but make specific categories unclickable */
A.category_hide1, A.category_hide2 {
cursor: pointer;
font-weight: normal;
line-height: 175%;
pointer-events: none;
text-decoration: none;
display: inline-block;
}
Thanks, for your time.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
I have EZ Pages set up on my site, some of which are not displayed in the header, and are only available in the sidebar.
The code for displaying ezpages in the mobile menu is:
PHP Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php')); if (sizeof($var_linksList) >= 1) { for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n"; } }?>
So what do I need to change this to in order to display the ezpages links that are available in the sidebar? (the ezpages that are available in the header are also available in the sidebar).
I tried this but it doesn't display properly.
PHP Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory('sidebar/ezpages.php')); if (sizeof($var_linksList) >= 1) { for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n"; } }?>
Does anybody have an answer to this please? I am looking to display ALL my EZ Pages in the mobile menu, not the ones that are checked in the admin just for the header. So no matter if they are checked for Header, Sidebar, Footer, they should ALL display in the mobile menu. Tried a few things but none seem to work.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
Does anybody have an answer to this please? I am looking to display ALL my EZ Pages in the mobile menu, not the ones that are checked in the admin just for the header. So no matter if they are checked for Header, Sidebar, Footer, they should ALL display in the mobile menu. Tried a few things but none seem to work.
I've resolved this myself now and created a module which is currently under review. Will post a link here once its added to the module library.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
ZC 1.55.5f Responsive_classic
Apache Version 2.4.34
PHP Version 7.0
MySQL Version 10.2.18-MariaDB
Plugins:
ColumnGridLayout_for_155f
CheckBoxTextBoxIconV1.0.3
(possible oversight) with the responsive_classic template.
I need a way to hide specific categories in the Mobile sidebox menu.
When using the below method to hide a category the designated Category [ID#2} gets hidden in the {full screen} sidebox menu but NOT in Category Tabs menu.
This causes the sidebox menu in Mobile to NOT hide the designated Category as I believe it uses the Category Tabs code.
Existing code:
Code:
/includes/templates/responsive_classic/sideboxes/tpl_categories.php
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;
case ($box_categories_array[$i]['path'] == 'cPath=2'):
$new_style = 'category_hide';
break;
case ($box_categories_array[$i]['path'] == 'cPath=1'):
$new_style = 'category_hide1';
break;
case ($box_categories_array[$i]['path'] == 'cPath=3'):
$new_style = 'category_hide2';
break;
Code:
CSS:
includes/templates/responsive_classic/css/stylesheet.css
/* Hide Categories but are clickable*/
A.category_hide {
color: #000000;
font-size:14px;
text-decoration: none;
}
/* Display but make specific categories unclickable */
A.category_hide1, A.category_hide2 {
cursor: pointer;
font-weight: normal;
line-height: 175%;
pointer-events: none;
text-decoration: none;
display: inline-block;
}
Thanks, for your time.
Any guidance on how to apply the above behavior to the mobile menu would be greatly appreciated.
I have tried many things but no joy. Also none of the existing plugins did the trick.
Because this was built into non-mobile menu I'm thinking it should be just as simple to do to the mobile menu i just can't quite figure it out.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hi all, a couple of questions I could not find the answers to in reading through this thread. Hoping someone might be able to point me in the right direction. For reference, the site I'm building is www.thecoinauthority.com.
1) My ideal look would be to place the mobile menu (with hamburger icon) to the left of the search bar below the logo. When you click the hamburger icon I want the menu to behave the same, and ideally would become fixed at the top of the window as you scroll (once you scroll past logo).
If #1 is too complicated to implement, then is there a way I can prevent the mobile menu (with hamburger icon) from covering part of the logo (and warning messages, when present)? Do I just need to add a margin or padding to the top of the page in the mobile.css?
2) In desktop/default mode, when I reduce the size of the browser window, the navigation menu links move to the top right of the window and are seemingly floating in a spot users will not see them. How can I make it so the mobile menu appears when the browser window size reaches a certain "breaking" point?
I have made some minor modifications to the template, primarily to move the logo above the nav menu and to remove the nav icons from the mobile menu. But beyond playing with some color schemes (still a WIP), I don't believe I have modified any core elements of the template that would have caused the issue noted above.
Thanks in advance!
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
coinguydavid
Hi all, a couple of questions I could not find the answers to in reading through this thread. Hoping someone might be able to point me in the right direction. For reference, the site I'm building is
www.thecoinauthority.com.
1) My ideal look would be to place the mobile menu (with hamburger icon) to the left of the search bar below the logo. When you click the hamburger icon I want the menu to behave the same, and ideally would become fixed at the top of the window as you scroll (once you scroll past logo).
If #1 is too complicated to implement, then is there a way I can prevent the mobile menu (with hamburger icon) from covering part of the logo (and warning messages, when present)? Do I just need to add a margin or padding to the top of the page in the mobile.css?
2) In desktop/default mode, when I reduce the size of the browser window, the navigation menu links move to the top right of the window and are seemingly floating in a spot users will not see them. How can I make it so the mobile menu appears when the browser window size reaches a certain "breaking" point?
I have made some minor modifications to the template, primarily to move the logo above the nav menu and to remove the nav icons from the mobile menu. But beyond playing with some color schemes (still a WIP), I don't believe I have modified any core elements of the template that would have caused the issue noted above.
Thanks in advance!
What template are you using?
Have you tried disabling the right column and enabling everything in the left column.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
I've resolved this myself now and created a module which is currently under review. Will post a link here once its added to the module library.
What's the module called?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
What template are you using?
Have you tried disabling the right column and enabling everything in the left column.
I'm using the responsive classic template, but renamed it. Zencart v1.5.6 (12/10/18 version). As far as columns, are you referring to sideboxes? The only two sideboxes on the right are the info and more info boxes.
Thanks!
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
coinguydavid
I'm using the responsive classic template, but renamed it. Zencart v1.5.6 (12/10/18 version). As far as columns, are you referring to sideboxes? The only two sideboxes on the right are the info and more info boxes.
Thanks!
I took a look at you site and Yes I was referring to the side boxes.
IMHO I feel there are some unaddressed issues with the mobile and tablet display
I also need to make some adjustments regarding the logo sliding up into the bar across the top of the mobile display. Setting it to a fixed position should remedy that. When I figure it out I'll post it back here.
In stylesheet_colors.css I removed the black bar across the top. The logo still slides up but it isn't hidden behind the black bar.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
We've gone a little radical of late with the logo to include the entire logoWrapper.
Most folks on the mobiles are not concerned about a logo, but eager to find the item they're searching for. In that vein, we've removed the traditional logoWrapper in it's entirety and rolled the logo into the define_main_page. If someone goes to the home page, they'll see the logo. Otherwise, they see what they are searching for and an opportunity to buy it.
Trying to manage what the logo was trying to do in so many different devices' views is felt to be counterproductive to getting a customer's order.
Of course, most of this was predicated upon taking a look at the entry points for each site. Some sites are accessed primarily at the root while others primarily at the product level.
Use the data to decide which works best for you.
A major in-line store at our local mall stays open for 1 to 2 hours after mall closure. At mall closing, they close the sliding doors to the mall on both levels. Only the outside entrance doors are open. They save hundreds of dollars a day by doing so. No one is needed to watch out for packages slipping out those huge openings. They are very happy with the decision to do this and the public can still get in from three outside entrances.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
dbltoe
We've gone a little radical of late with the logo to include the entire logoWrapper.
Most folks on the mobiles are not concerned about a logo, but eager to find the item they're searching for. In that vein, we've removed the traditional logoWrapper in it's entirety and rolled the logo into the define_main_page. If someone goes to the home page, they'll see the logo. Otherwise, they see what they are searching for and an opportunity to buy it.
Trying to manage what the logo was trying to do in so many different devices' views is felt to be counterproductive to getting a customer's order.
Of course, most of this was predicated upon taking a look at the entry points for each site. Some sites are accessed primarily at the root while others primarily at the product level.
Use the data to decide which works best for you.
A major in-line store at our local mall stays open for 1 to 2 hours after mall closure. At mall closing, they close the sliding doors to the mall on both levels. Only the outside entrance doors are open. They save hundreds of dollars a day by doing so. No one is needed to watch out for packages slipping out those huge openings. They are very happy with the decision to do this and the public can still get in from three outside entrances.
dbltoe
Thanks for the explanation which makes a very good case.
Don't get me wrong, I think the overall layout and quality of ZC is amazing! Yeah, everyone including me always want's something different :smile:
On a mobile device Nike & Amazon keep their logo present in the header all the time. It's worth noting they have an simple elongated logo.
In general I find square logos are harder to deal with as they take up more vertical space and are usually more detailed so when you shrink them they get ugly.
I do feel that some plugins like ColumnGridLayout and some form of a One Page Checkout should have been incorporated in to the core package a long time ago.
Maybe this is already possible but I just haven't found it.
Any ideas on placing the attributes like "sizes" (S, M, L, XL, XXL) on the product page (maybe check boxes below the product listing) instead having to go to the expanded product page to select them? This would further streamline the user experience.
Thanks for your time.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I agree that simple is better, and plan on exploring options to reduce the footprint of my current logo; however, like Linuxguy says most major companies still present a logo (of some form) on their mobile sites.
Most of my customers are older and not a tech savvy (at least not yet), so I want to try and maintain more of a desktop feel in the mobile layout where it makes sense.
We are also in the midst of a rebranding (this site will be launched with the new logo/company name), which is another reason I want the logo to be a little more prominent initially.
My primary concern is making sure the mobile menu does not hide any elements behind it (whether it be the warning stack messages, or the logo itself).
My ultimate goal however would be to find a way to nest the mobile logo next to the search bar, while keeping the logo above.
I don't mind playing around with the code to see if I can get it to work, but am having a hard time identifying which code I should look at first to relocate the mobile menu.
I imagine the fixed attributes associated with the mobile menu will present a challenge if I relocate to another area of the page, which is why I need some help :)
Thanks again for any input!
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
As a minimum, there are four stylesheets that deal with the mobile/tablet world of Zen Cart. Others may or may not be involved depending on things added to the stock layout.
Also, inside those, you'll find sections dealing with portrait versus landscape, screen width, etc.
Even with the ability to have 8 screens in front of me, it can get to be quite an experience.
Using your browser's F12/Inspect/Developer capability is foremost in locating the spot you wish to change. Once there, emphasis should be on determining if the call is general, width-specific, orientation-specific, or a combination of the three.
And, no, yours is not "just like everyone else's." Best way to get help -- drill down to what you are trying to change and provide a link to the site/page in question. Pictures don't generally help at all with css problems.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Should I ask about v156a responsive classic in this thread or start a new one?
Here is my question, in case it's this thread:
Hi, replacing my 1.5.4 site with 1.5.6a, and have noticed that on the desktop and mobile versions there is no search bar for my customers to quickly find what they are after.
How do i activate or insert a search function into the top bar, particularly on mobile? I can see the code in the responsive_mobile.css file:
Code:
/*bof header*/
/*top search*/
#navMainSearch{display:none;visibility:hidden;}
#navMainSearch1{float:none;text-align:center;padding:10px 0;margin:0;width:100%!important;background:#666;}
#navMainSearch1 input[type=text]{vertical-align:top;display:inline-block;border:0;width:65% !important;height:32px;margin:0;font-size:0.9em;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
#navMainSearch1 input[type=submit]{-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;display:inline-block;margin:0;height:32px;}
/*search in mobile menu*/
#menu-search{padding:10px 0;margin-left:20px;}
#menu-search input[type=text]{vertical-align:top;display:inline-block;border:0;width:48% !important;height:32px;margin:0;font-size:0.9em;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
#menu-search input[type=submit]{-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;display:inline-block;margin:0;height:32px;}
/*top navigation*/
but can't seem to work out which bits will bring the search function back to my site, (it's crucial).
this is the test site (also, when I try to switch it into showcase mode the admin page freaks out and gives error codes, so please don't attempt to actually pay for anything!)
http:www.heresyminiatures.com/shop156/
Second question: my server is running old php 5.4 or something, when I switch it to 7.x do I need to upload the database copy again and run zc_install? is that correct?
I trawled this thread for an hour and a half looking for an answer to the Search button/bar/icon question and couldn't find it or missed it if it was given, apologies if so.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Heresy Miniatures
Should I ask about v156a responsive classic in this thread or start a new one?
Here is my question, in case it's this thread:
Hi, replacing my 1.5.4 site with 1.5.6a, and have noticed that on the desktop and mobile versions there is no search bar for my customers to quickly find what they are after.
How do i activate or insert a search function into the top bar, particularly on mobile? I can see the code in the responsive_mobile.css file:
Code:
/*bof header*/
/*top search*/
#navMainSearch{display:none;visibility:hidden;}
#navMainSearch1{float:none;text-align:center;padding:10px 0;margin:0;width:100%!important;background:#666;}
#navMainSearch1 input[type=text]{vertical-align:top;display:inline-block;border:0;width:65% !important;height:32px;margin:0;font-size:0.9em;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
#navMainSearch1 input[type=submit]{-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;display:inline-block;margin:0;height:32px;}
/*search in mobile menu*/
#menu-search{padding:10px 0;margin-left:20px;}
#menu-search input[type=text]{vertical-align:top;display:inline-block;border:0;width:48% !important;height:32px;margin:0;font-size:0.9em;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
#menu-search input[type=submit]{-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;display:inline-block;margin:0;height:32px;}
/*top navigation*/
but can't seem to work out which bits will bring the search function back to my site, (it's crucial).
this is the test site (also, when I try to switch it into showcase mode the admin page freaks out and gives error codes, so please don't attempt to actually pay for anything!)
http:
www.heresyminiatures.com/shop156/
Second question: my server is running old php 5.4 or something, when I switch it to 7.x do I need to upload the database copy again and run zc_install? is that correct?
I trawled this thread for an hour and a half looking for an answer to the Search button/bar/icon question and couldn't find it or missed it if it was given, apologies if so.
Are you running any plugins?
What database engine is your host running.
try switching to php 7.2 and see if your errors go away.
You can always switch back.
No, Just switch to php 7.2.
If you run zc_install it will over write your database
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
The search functions are controlled in Admin > Tools > Layout Boxes Controller
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
Are you running any plugins?
What database engine is your host running.
try switching to php 7.2 and see if your errors go away.
You can always switch back.
No, Just switch to php 7.2.
If you run zc_install it will over write your database
No plug ins yet, it's a clean install and I have yet to see any plug ins that are markesd as 1.5.6a friendly so I'm reluctant to install much yet. My previous shop got a bit over-indulged in that regard. Hopefully reward suite and edit orders will work with 1.5.6 .Thanks for the php answer! And thanks fo rthe search answer, can't believe I missed that. So busy assuming it must be coding that the obvious answer was hidden to my eyes...
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
How can I add EZ Pages to the 'Information' menu?
I have edited the title of the Information sidebox to read 'Main Menu' and I would like to add my EZ Page to that menu.
I suppose I could go the other way and create EZ Pages with relative links to each page then hide the 'Information' menu. Which I might do anyway so that I can use the top feature of EZ Pages as a horizontal menu.
Here is the site: https://www.paintingbarn.com - We have several more paintings/products but I haven't migrated them over to this new installation of ZC yet.
I was forced to upgrade from the previous site which used Drupal for the front door presentation but my Drupal install couldn't function on the newer 7.2 version of PHP. So rather than rebuild the Drupal/Zen Cart combination, I have installed a new version of ZC and will now use it for all pages. You'll see the Calendar page (CSS is yet to be polished) which is one of a few custom pages that will need to be added.
Thanks in advance!
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I am using v1.5.5f as I am using the plugin bookx which currently does not work with v1.5.6a. Some of the plugins are asking to merge with file located in the template for the store, however, when I search for the file it is not there, it is in the template default folder. Do I merge the file in the default file and up load a copy into responsive classic?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
adb34
I am using v1.5.5f as I am using the plugin
bookx which currently does not work with v1.5.6a. Some of the plugins are asking to merge with file located in the template for the store, however, when I search for the file it is not there, it is in the template default folder. Do I merge the file in the default file and up load a copy into responsive classic?
Based on my experience that should work.
In the forum of that plugin I would point out that it needs an update to 1.5.6a
However when you are making several mods one should be aware of this information.
https://www.zen-cart.com/content.php...verride-system
https://www.zen-cart.com/content.php...ustom-template
HINT:
To keep track of the files I change I also include a copy of the original file in the folder where I've merged or copied that file and add .ORG after the .php extension.
ZC ignores those files [Example] file_name.php.ORG but they are handy for your reference.
I also add notations at the top of the file I've modified.
This has saved me hours of debug when I make changes or upgrade.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
linuxguy2
Based on my experience that should work.
In the forum of that plugin I would point out that it needs an update to 1.5.6a
However when you are making several mods one should be aware of this information.
https://www.zen-cart.com/content.php...verride-system
https://www.zen-cart.com/content.php...ustom-template
HINT:
To keep track of the files I change I also include a copy of the original file in the folder where I've merged or copied that file and add .ORG after the .php extension.
ZC ignores those files [Example] file_name.php.ORG but they are handy for your reference.
I also add notations at the top of the file I've modified.
This has saved me hours of debug when I make changes or upgrade.
What I forgot to mention, is that, they are working on bookx to bring it kicking and screaming in to use with v1.5.6a. My site is only e-books so this plugin is very good for me. I like your idea of adding .ORG to the original. What I do is add -old1 after the file name. If I then merge another file it then gets changed to -old2 e.g. mainpage-old1.php & mainpage-old2.php. I have also got many backups of the site.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
adb34
What I forgot to mention, is that, they are working on bookx to bring it kicking and screaming in to use with v1.5.6a. My site is only e-books so this plugin is very good for me. I like your idea of adding .ORG to the original. What I do is add -old1 after the file name. If I then merge another file it then gets changed to -old2 e.g. mainpage-old1.php & mainpage-old2.php. I have also got many backups of the site.
That is actually not such a good idea, as some folders autoload all .php files. It is better to use the extension .old1 and .old2
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
SliderCO
How can I add EZ Pages to the 'Information' menu?
I have edited the title of the Information sidebox to read 'Main Menu' and I would like to add my EZ Page to that menu.
I suppose I could go the other way and create EZ Pages with relative links to each page then hide the 'Information' menu. Which I might do anyway so that I can use the top feature of EZ Pages as a horizontal menu.
Here is the site:
https://www.paintingbarn.com - We have several more paintings/products but I haven't migrated them over to this new installation of ZC yet.
I was forced to upgrade from the previous site which used Drupal for the front door presentation but my Drupal install couldn't function on the newer 7.2 version of PHP. So rather than rebuild the Drupal/Zen Cart combination, I have installed a new version of ZC and will now use it for all pages. You'll see the Calendar page (CSS is yet to be polished) which is one of a few custom pages that will need to be added.
Thanks in advance!
Add EZ pages to Mobile Menu
I believe this is what you are looking to do:
http://twitchtoo.com/images/zen_foru...obile_menu.JPG
Add sort order here:
http://twitchtoo.com/images/zen_foru...bile_menu2.JPG
Then the EZ-pages will auto populate into the Mobile Menu.
As long as you have Admin > Configuration > EZ-Pages Settings turned on and set the sort order you will see them.
If you want to move everything into the ezpages or category_tabs header bar or pick and choose - you'll need to edit the base pages like - tpl_modules_mobile_menu.php by moving the EZ page lookup loop to the location you prefer within the other links, or make a new box heading and links of your own and turn off or hide the unused links.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Design75
That is actually not such a good idea, as some folders autoload all .php files. It is better to use the extension .old1 and .old2
Design75 is correct.
When I first started using ZC I was using that scheme where I left the extension as .php and ran into problems.
Some scripts load any *.php files available especially in some of the core folders.
Maybe you could do it like this.
file_name.php.ORG
file_name.php.old1
file_name.php.old2 etc..
I like to bring along the original script so I have a clean reference point to compare my changes to.
Capitalization makes them stand out.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Any quick and easy way to make the categories in header a drop down instead of each top level category going across? We have a store with 50+ categories so the current format would make the header super crowded?
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
ravynw34
Any quick and easy way to make the categories in header a drop down instead of each top level category going across? We have a store with 50+ categories so the current format would make the header super crowded?
Can't you just use the sub-category(s) feature?
Also check the plugins area for different drop/flyout menu plugins
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Hard to believe that colors may vary according to screen orientation. Makes no sense whatsoever.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Can't get this to work, but have to tell you and I am a novice at stylesheets, so maybe not making the changes correctly? I am using v1.5.6
Code:
<div id="logo" class="centred">
Code:
#logo{margin:10px 0;} .centred {text-align:center;}
Hoping this is a simple problem.
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I'm a novice too. Perhaps it's just spelling "centered" not "centred"?
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Not sure - anyway - here is the original how-to post for centering the Logo:
Attachment 18464
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
-
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Got it, Mate ! Thanks a million dw08gm - you have "taught a man how to fish".
-
1 Attachment(s)
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
For you professionals this should be a very easy question. I would like to remove the spacing in between my products:
Attachment 18472
Please make your comments as simple as you can because, I am not very good with programming.
Thank you very much.