Zen Cart Logo
Forums / Addon Templates / Responsive Sheffield Blue v2.0

Responsive Sheffield Blue v2.0

Views: 309,796

Results 681 to 700 of 1,514
14 Mar 2016, 4:43 PM
#681
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

Golden Synergy:

That line of code is showing in the last line of my responsive_sheffield_blue_definess.php

I did upgrade from Sheffield Blue 1 to v 2.0 .
Look at line 143 in includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php.
I guess you replaced ```php

<?php echo PAYMENT_ICON; ?>


In the last line of includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php you find:

define('PAYMENT_ICON','<i class="fa fa-cc-paypal"></i><i class="fa fa-cc-amex"></i><i class="fa fa-cc-discover"></i><i class="fa fa-cc-mastercard"></i><i class="fa fa-cc-visa"></i><i class="fa fa-paypal"></i>');

You might delete the methods that you do not provide, for instance the one in red.

Cheers,

jpda
14 Mar 2016, 4:45 PM
#682
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

picaflor-azul:

You need to make sure that you have the includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php file from the new package and that you are calling font awesome.

Thanks,

Anne

Anne:
I do have that file in place. I can not find any "font" info inside it. Could you show me where font awesome should be?
Mark

14 Mar 2016, 4:47 PM
#683
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

duplicate post.

14 Mar 2016, 4:54 PM
#684
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Try my suggestion in #681. Does it work?

Cheers,

jpda

14 Mar 2016, 5:05 PM
#685
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

Try my suggestion in #681. Does it work?

Cheers,

jpda

My line 143 looks like this ...<div id="header-icons"><?php echo PAYMENT_ICON; ?></div>

14 Mar 2016, 5:17 PM
#686
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

Try my suggestion in #681. Does it work?

Cheers,

jpda

Sorry It did not work.
Mark

14 Mar 2016, 5:27 PM
#687
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

I have been looking at your live site. With developers tools (firefox of whatever), I see ```html

<div id="header-icons">payments.png</div> ```. Did you check the files on your live site?

jpda

14 Mar 2016, 5:33 PM
#688
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

I have been looking at your live site. With developers tools (firefox of whatever), I see ```html

<div id="header-icons">payments.png</div> ```. > Did you check the files on your live site? > > jpda

The payments.png is located at includes/templates/responsive_sheffield_blue/images
that is the same area I have my aboutus.png

14 Mar 2016, 6:14 PM
#689
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Golden Synergy:

The payments.png is located at includes/templates/responsive_sheffield_blue/images
that is the same area I have my aboutus.png
But <div id="header-icons">payments.png</div> will never work! If you want a picture here instead of the CSS buttons (fa fa in this case), you might try this:
In tpl_modules_mobile_categories_tabs.php replace this code:

<div id="header-icons"><?php echo PAYMENT_ICON; ?></div>

by

<div id="header-icons">
<img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?>"   class="imgshadow_light" alt="payments"  /></div>

I did not test this, so be careful!

Cheers,

jpda

14 Mar 2016, 6:28 PM
#690
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Attachment 16104
That did not work :( it wiped out the bottom 3/4s of my site.

14 Mar 2016, 6:47 PM
#691
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

That's too bad. I did test now on a local demo and it does work. Did you replace the entire ```

<div id="header-icons"><?php echo PAYMENT_ICON; ?></div> ``` by ```php <div id="header-icons"> <img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?>" class="imgshadow_light" alt="payments" /></div> ```

BTW: your live site has not been changed. Is your test site on line?

jpd

14 Mar 2016, 7:07 PM
#692
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Golden Synergy:

That did not work :( it wiped out the bottom 3/4s of my site.
Did you check the log files?

jpda

14 Mar 2016, 8:12 PM
#693
knerd avatar

knerd

New Zenner

Join Date:
Jul 2014
Location:
USA
Posts:
10
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Just installed the newest version.

Anyone have an advice on installing other languages on this?

I downloaded a Spanish language pack, but it seems to be a bit broken in this template, meaning a lot of the menus are not in Spanish. Many remain in English, or display something like "HEADER_TITLE_xxxx."

Thanks

14 Mar 2016, 9:03 PM
#694
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

KNERD:

Just installed the newest version.

Anyone have an advice on installing other languages on this?

I downloaded a Spanish language pack, but it seems to be a bit broken in this template, meaning a lot of the menus are not in Spanish. Many remain in English, or display something like "HEADER_TITLE_xxxx."

Thanks

This template has no problems with language files. Check some threads about installing language files.

Did the template work ok before installing the language files?
Did you follow the installation instructions of your language package?
Did you install the admin language files?

Cheers,

jpda

14 Mar 2016, 9:13 PM
#695
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

But <div id="header-icons">payments.png</div> will never work! If you want a picture here instead of the CSS buttons (fa fa in this case), you might try this:
In tpl_modules_mobile_categories_tabs.php replace this code:

<div id="header-icons"><?php echo PAYMENT_ICON; ?></div> ``` > by > ```php <div id="header-icons"> <img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?>" class="imgshadow_light" alt="payments" /></div> ``` > > I did not test this, so be careful! > > Cheers, > > jpda

Got it... :D there is a typo on the last line..... "payments" should be "payments.png"
Thanks jpda for your help. the dropdown under Service now has the payments.png pic.

14 Mar 2016, 9:33 PM
#696
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Golden Synergy:

Got it... :D there is a typo on the last line..... "payments" should be "payments.png"
Thanks jpda for your help. the dropdown under Service now has the payments.png pic.
You,re welcome, no problem!

As to the typo: if you mean alt="payments", that doesn't matter, it is only the text you will see when your mouse is over the picture (hovering).

Thank you for letting me know that it is working now.

Cheers,

jpda

14 Mar 2016, 9:53 PM
#697
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

You,re welcome, no problem!

As to the typo: if you mean alt="payments", that doesn't matter, it is only the text you will see when your mouse is over the picture (hovering).

Thank you for letting me know that it is working now.

Cheers,

jpda

Ok got ya. just for clarity then, the only other thing i did ( to fix it from not showing the bottom 3/4s) was make the last 2 lines into 1 line

---- this --------<img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?

" class="imgshadow_light" alt="payments" /></div>
----is now this one line in my php.file. I split it up before and I think it broke the bottom 3/4s of my template.
Mark

14 Mar 2016, 10:15 PM
#698
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Golden Synergy:

Ok got ya. just for clarity then, the only other thing i did ( to fix it from not showing the bottom 3/4s) was make the last 2 lines into 1 line

---- this --------<img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?

" class="imgshadow_light" alt="payments" /></div>
----is now this one line in my php.file. I split it up before and I think it broke the bottom 3/4s of my template.
Mark
That explains what happened. Yes, it is one line. If cut from the PHP code here and pasted in your favourite editor, it will be all right.

Thanks,

jpda

14 Mar 2016, 11:30 PM
#699
knerd avatar

knerd

New Zenner

Join Date:
Jul 2014
Location:
USA
Posts:
10
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

This template has no problems with language files. Check some threads about installing language files.

Did the template work ok before installing the language files?
Did you follow the installation instructions of your language package?
Did you install the admin language files?

Cheers,

jpda

Yes the template worked fine before. It still works fine, that is until Spanish is selected.
I downloaded this Language pack:

https://www.zen-cart.com/downloads.php?do=file&id=1110

Then followed the directions.

15 Mar 2016, 1:43 AM
#700
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

KNERD:

Yes the template worked fine before. It still works fine, that is until Spanish is selected.
I downloaded this Language pack:

https://www.zen-cart.com/downloads.php?do=file&id=1110

Then followed the directions.
Did you install your language pack after installing this template (RSB v2.0)?
If so, you have a folder spanish in the /includes/languages/ next to the english folder.

Did you copy everything that is ** IN your RSB distribution folder** files/includes/languages/english
INTO this catalog folder /includes/languages/spanish ?
If so, then all files in your catalog folder /includes/languages/spanish/ and subfolders contain RSB template specific language files, changed by Picaflor Azul, in which you need to manually translate the defines.

Hope this helps!

Good luck,

jpda