Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
mc12345678
Cool: I assume something similar would need to be done to tpl_index_categories as was to tpl_index_default or did the problem not exist when navigating categories and only on the home page of the site?
Yes, the problem exists there as well.
Thanks, good point! Didn't notice because in admin>layout settings CATEGORIES_START_MAIN was set to '' (blank).
I applied exactly the same changes to tpl_index_categories.php, problem solved.
Cheers,
jpda
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
picaflor-azul
There may be a constant defined for this. Check the includes/templates/responsive_sheffield_blue/templates/tpl_modules_main_product_image.php
Thanks,
Anne
Here s the right answer:
goto: /includes/languages/responsive_sheffield_blue/english.php
Line #291 : define('TEXT_CLICK_TO_ENLARGE', '');
and change to: define('TEXT_CLICK_TO_ENLARGE', 'Click to Enlarge');
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
fjbern1943
Here s the right answer:
goto: /includes/languages/responsive_sheffield_blue/english.php
Line #291 : define('TEXT_CLICK_TO_ENLARGE', '');
and change to: define('TEXT_CLICK_TO_ENLARGE', 'Click to Enlarge');
I am happy that you figured it out ;)
Thanks,
Anne
Re: Responsive Sheffield Blue V 2.0!
Hi Anne,
When I click 'Featured' in the footer of the demo, I see TEXT_NO_PRODUCTS (undefined) from includes/modules/responsive_sheffield_blue/product_listing.php on line 269. The same happens in my local demo clicking 'Specials' or 'New Arrivals' in the footer if there is nothing to show. I think the constant TEXT_NO_PRODUCTS is only used in searches, defined as 'There is no product that matches the search criteria.'
I could add a define for TEXT_NO_PRODUCTS to includes/languages/responsive_sheffield_blue/english.php but that would be the same text for Featured, Specials and New.
Any idea how to select one of three applicable defines in product_listing.php on line 269?
Thanks,
jpda
Re: Responsive Sheffield Blue V 2.0!
I'm using One of Anne's other templates but there is a lot of crossover. She defines it in
Code:
includes/languages/english/westminster_new/index.php
Line #42 : define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
Line #43 : define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
]
I don't know why there and not the English.php though. And the wording is vague enough you could use for all 3 situations.
Lruskauff
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
Hi Anne,
When I click 'Featured' in the footer of the demo, I see TEXT_NO_PRODUCTS (undefined) from includes/modules/responsive_sheffield_blue/product_listing.php on line 269. The same happens in my local demo clicking 'Specials' or 'New Arrivals' in the footer if there is nothing to show. I think the constant TEXT_NO_PRODUCTS is only used in searches, defined as 'There is no product that matches the search criteria.'
I could add a define for TEXT_NO_PRODUCTS to includes/languages/responsive_sheffield_blue/english.php but that would be the same text for Featured, Specials and New.
Any idea how to select one of three applicable defines in product_listing.php on line 269?
Thanks,
jpda
If you do a search of the forum you will find that this has already been asked and answered.
Thanks,
Anne
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
No need to change tpl_modules_mobile_categories_tabs.php.
Add this line
Code:
ul.slimmenu li.brands-li{display:none;}
in stylesheet.css after line 370.
Cheers,
jpda
Thank you jpda!
I managed to take out the Brands from the top menu from my sheffield blue template. www.gelcandlecompany.com/demo
Before I proceed to go forward with my upgrade I noticed that I won't need the Information and sub menus links as well.
To do this where do I need to place {display:none;} somewhere else on the same page as tpl_modules_mobile_categories_tabs.php ?
Cheers!
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
spawnie69
Thank you jpda!
I managed to take out the Brands from the top menu from my sheffield blue template.
www.gelcandlecompany.com/demo
Before I proceed to go forward with my upgrade I noticed that I won't need the Information and sub menus links as well.
To do this where do I need to place {display:none;} somewhere else on the same page as tpl_modules_mobile_categories_tabs.php ?
Cheers!
You can use:
Code:
ul.slimmenu li.info-li{display:none;}
Thanks,
Anne
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
lruskauff
I'm using One of Anne's other templates but there is a lot of crossover. She defines it in
Code:
includes/languages/english/westminster_new/index.php
Line #42 : define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
Line #43 : define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
]
I don't know why there and not the English.php though. And the wording is vague enough you could use for all 3 situations.
Lruskauff
I did find those defines, they are stock Zen Cart, but in RSBv2.0 apparently not loaded when you click featured, specials or new products from the footer.
Thanks for your response!
Cheers,
jpda
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
I did find those defines, they are stock Zen Cart, but in RSBv2.0 apparently not loaded when you click featured, specials or new products from the footer.
Thanks for your response!
Cheers,
jpda
I am happy that you figured it out.
Thanks,
Anne