I think all you need to do is make sure line 22 (or there about) in category_row.php isnotPHP Code:
$list_box_contents = array();
PHP Code:
$list_box_contents = '';
Printable View
I think all you need to do is make sure line 22 (or there about) in category_row.php isnotPHP Code:
$list_box_contents = array();
PHP Code:
$list_box_contents = '';
Just found and installed this template. I love it! Fixes all my issues with Responsive_classic.
I want to change some colors on the template. No instructions in the help file on how to do that. Should be able to change in stylesheet.css but that doesn't have any effect. Path: ~/includes/templates/responsive_sheffield_blue/css/stylesheet.css
Any pointers appreciated!
Probably the easiest way to find out what css file is applying the colour is to left click on the element you want to change the colour for in your Browser and select inspect element (inspect in chrome) You if you hover over the css file name it will give you the full path.. You should then get a list of the css that is attached to the element. Alternatively and probably better create your own style sheet called maybe stylesheet_mycolours.css and put your css changes in to that is should be located in "YOUR_SITE/includes/templates/responsive_sheffield_blue/css/". The above can help you to identify the elements you need to change. You may find this useful https://www.zen-cart.com/wiki/index....Per-Page-Rules
Thanks! Good ideas. I have tried using inspect element before but I must admit I'm not good at it. I'll give it another go. Meanwhile, I tried processing an order and came up with some kind of character set error each time the program stepped through the process. Click OK on the error and the page renders fine but that's a non-starter from a customer perspective. May just have to abandon the template.
We like to use stylesheet_zcustom.css as it will most often load last. Stylesheets load alphabetically with stylesheet.css always loading first. So, if we used the mycolours(sic) stylesheet and later added a normal_colors stylesheet, the normal_colors would load last and take precedent. If we added a main_colors stylesheet, the mycolours(sic) would still prevail.
One extra point is that responsive stylesheets often load after their alphabetical "order". So, even using stylesheet_zzz.css, you might find the occasion where a call in this file is "taken over" by one of the responsive stylesheets. This is where one might use the !important property to override subsequent rules.
THanks, again. I've been playing a little. It is indeed stylesheet.css in the template folder that is setting the colors according to the inspector but just changing the hex code is having mixed results/effects. Looks like I'll have to become something of a css expert just to make what I thought was a "simple, small" change! This is why we use sandboxes...
Actually, if you are working on CSS and put all changes in the stylesheet_zcustom.css, you can operate without a sandbox. That's the beauty of that file. You don't have to go searching all over for where you made the change.:yes:
One thing of note: If you are making CSS layout changes (versus color) to your stylesheet, you'll need to possibly add extra information if the change only applies to (for example) screen sizes less than 768 pixels in width.
Let's say you were changing the alignment of a div in a less than 768 pixel environment. You would need to add the following to the stylesheet_zcustom.cssOtherwise, just setting #whatever to float left would effect that div on EVERY screen size.Code:@media (min-width:0px) and (max-width:767px){/*bof responsive*/
#whatever {float:left;}
Yes, it can get interesting:P
Hi....
So I got it going.... www.candygoround.com
but.....when I go to 'add to cart' ....I get a blank page...
[17-Apr-2020 22:30:24 America/Boise] Request URI: /store/index.php?main_page=product_info&cPath=5&products_id=23, IP address: 108.204.4.19
#1 header() called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php:70]
#2 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php:48]
#3 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php:170]
#4 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/index.php:26]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /home4/twomuch1/public_html/other_websites/candygoround/store/includes/languages/english/responsive_sheffield_blue/header.php:1) in /home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php on line 70.
any ideas?
thanks.
I can't log in...
www.candygoround.com
[17-Apr-2020 23:45:12 America/Boise] Request URI: /store/index.php?main_page=products_all, IP address: 10.179.3.219
#1 header() called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php:70]
#2 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php:48]
#3 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php:170]
#4 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/index.php:26]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /home4/twomuch1/public_html/other_websites/candygoround/store/includes/languages/english/responsive_sheffield_blue/header.php:1) in /home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php on line 70.
[17-Apr-2020 23:45:13 America/Boise] Request URI: /store/index.php?main_page=login, IP address: 10.179.3.99
#1 header() called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php:70]
#2 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php:48]
#3 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/autoload_func.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php:170]
#4 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/application_top.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/index.php:26]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /home4/twomuch1/public_html/other_websites/candygoround/store/includes/languages/english/responsive_sheffield_blue/header.php:1) in /home4/twomuch1/public_html/other_websites/candygoround/store/includes/init_includes/init_templates.php on line 70.
[17-Apr-2020 23:45:13 America/Boise] Request URI: /store/index.php?main_page=login, IP address: 10.179.3.99
#1 header() called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/functions/functions_general.php:43]
#2 zen_redirect() called at [/home4/twomuch1/public_html/other_websites/candygoround/store/includes/modules/pages/login/header_php.php:17]
#3 require(/home4/twomuch1/public_html/other_websites/candygoround/store/includes/modules/pages/login/header_php.php) called at [/home4/twomuch1/public_html/other_websites/candygoround/store/index.php:36]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /home4/twomuch1/public_html/other_websites/candygoround/store/includes/languages/english/responsive_sheffield_blue/header.php:1) in /home4/twomuch1/public_html/other_websites/candygoround/store/includes/functions/functions_general.php on line 43.
why?
The reason for the two "issues" still isn't in either of those two log files. As pointed out by others in resolving other issues, those are warnings and not errors. Errors cause blank screens, warnings tend to be nuisances but not really cause a problem. There is a little bit of a caveat to that "blank screen" part though which is why the ZC forum has information about addressing it. It so happens that some things are or have been so frequently asked that an entire group of frequently asked questions was generated.
So, to the message in the file about headers being previously sent, there is this: https://www.zen-cart.com/content.php...s-already-sent
For the blank screen or partial blank screen: http://www.zen-cart.com/content.php?124-blank-page
There probably are updated versions of those in the new https://docs.zen-cart.com area... Check it out!
Long and short, the issue identified in the above files doesn't exist in a clean install of this plugin. Something was modified to cause it and the above FAQs should help identify it and to learn more.