Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,101

Results 341 to 360 of 1,865
10 Nov 2014, 8:43 PM
#341
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Westminster New

reciecup:

There is however, one issue that I have just noticed. In the mobile version, I click on the little menu icon to display the dropdown menu options. If I scroll down to select and option, the dropdown menu vanishes. This is on an Android phone. I have not tested this on any other devices. Any ideas on what maybe causing this to happen?

A workaround is to create a "button" to use in the Flexible Footer Menu & label it "Alternate Main Menu". Associate the link to the SiteMap to the button.

Many customers will not know what a sitemap is but if you call it an Alternate Main Menu, they can figure out how to get where they want to go.

The issue can be frustrating for customers using certain Android device/browser combinations.

You can see the button in action on our site.

10 Nov 2014, 9:25 PM
#342
reciecup avatar

reciecup

New Zenner

Join Date:
Jul 2010
Posts:
48
Plugin Contributions:
0

Re: Westminster New

RixStix:

A workaround is to create a "button" to use in the Flexible Footer Menu & label it "Alternate Main Menu". Associate the link to the SiteMap to the button.

Many customers will not know what a sitemap is but if you call it an Alternate Main Menu, they can figure out how to get where they want to go.

The issue can be frustrating for customers using certain Android device/browser combinations.

You can see the button in action on our site.

Thanks. I will try that :)

12 Nov 2014, 9:02 AM
#343
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Westminster New

I see that the slide out div has an href attached to its button of

http://link-for-non-js-users.html/

Trying to think logically it seems to me that if javascript is not enabled then the button should lead to a page where the user can see the slide out div's content.

If I turn off javascript the button disappears and the div content is displayed at the bottom of the page. If this is expected then what would be the point of the href attribute?

12 Nov 2014, 1:08 PM
#344
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Westminster New

Hi,

first thank you for your great templates and all the effort!
it seems impossible to me to translate the
I am trying to translate the template atm for the multi language version english/german. Unfortunately I am not a programmer and it seems impossible for me to me to translate the flexible footer menu, at least I can't find a language file. Guessing it's something with the database and my SQL skills are absent, so to speak.

Any help is appreciated.

D.C.

12 Nov 2014, 2:41 PM
#345
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Westminster New

I wrote some b.s. in my last post... looks like it got mixed up...

Anyway: I wanted to say I am not able to translate the flexi footer menu... Can't find a language file for that... Looks like it's something in the Database and I don't know how to do this. Any help would be appreciated.

13 Nov 2014, 9:23 AM
#346
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Westminster New

I kinda solved the problem myself. It's not the most elegant way but works fine for me...

In includes/templates/westminster_new/common/tpl_footer.php I replaced

<!--bof-flexible footer menu display -->
<div id="flex-navSupp">
<div class="onerow-fluid <?php echo $fluidisFixed; ?>">

<?php require($template->get_template_dir('tpl_flexible_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_flexible_footer_menu.php'); ?>
<br /><br />

with

<!--bof-own footer menu display -->
<div id="flex-navSupp">
<div class="onerow-fluid ">

<div class="flexFooterCol ffCcol1" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_SHOP; ?></h4></li>
<li><a href="index.php?main_page="><?php echo FLEXI_HOME; ?></a></li>
<li><a href="index.php?main_page=featured_products"><?php echo FLEXI_FEATURED; ?></a></li>
<li><a href="index.php?main_page=specials"><?php echo FLEXI_SPECIALS; ?></a></li>
<li><a href="index.php?main_page=products_new"><?php echo FLEXI_NEWARRIVALS; ?></a></li>
<li><a href="index.php?main_page=products_all"><?php echo FLEXI_VIEWALL; ?></a></li>
</ul></div><div class="flexFooterCol ffCcol2" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_CUSTOMERSERVICE; ?></h4></li>
<li><a href="index.php?main_page=shippinginfo"><?php echo FLEXI_SHIPPINGANDRETURNS; ?></a></li>
<li><a href="index.php?main_page=contact_us"><?php echo FLEXI_CONTACTUS; ?></a></li>
<li><a href="index.php?main_page=about_us" class="activePage"><?php echo FLEXI_ABOUTUS; ?></a></li>
<li><a href="index.php?main_page=account"><?php echo FLEXI_MYACCOUNT; ?></a></li>
</ul></div><div class="flexFooterCol ffCcol4" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_SHAREANDCONNECT; ?></h4></li>
<li class="flexFooterColText"><a href="https://www.facebook.com/Custom.Zen.Cart.Design" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/picaflorazul" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/picaflorazul" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/user/ZenCartEasyHelp" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a></li>
</ul></div><br class="clearBoth" /><br /><br />

<!--eof-own footer menu display -->


<!--bof-flexible footer menu display -->
<!--<div id="flex-navSupp">
<div class="onerow-fluid <?php echo $fluidisFixed; ?>">

<?php require($template->get_template_dir('tpl_flexible_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_flexible_footer_menu.php'); ?>
<br /><br />-->

After that I had to make the defines in the language files...

I added to includes/languages/westminster_new/english.php

// defines Own Flexi Menu
  define('FLEXI_SHOP', 'Shop');
  define('FLEXI_HOME', 'Home');
  define('FLEXI_FEATURED', 'Featured Items');
  define('FLEXI_SPECIALS', 'Specials');
  define('FLEXI_NEWARRIVALS', 'New Arrivals');
  define('FLEXI_VIEWALL', 'View all');
  define('FLEXI_CUSTOMERSERVICE', 'Customer Service');
  define('FLEXI_SHIPPINGANDRETURNS', 'Shipping and Returns');
  define('FLEXI_CONTACTUS', 'Imprint & Contact');
  define('FLEXI_ABOUTUS', 'About Us');
  define('FLEXI_MYACCOUNT', 'My Account');
  define('FLEXI_SHAREANDCONNECT', 'Share and Connect');

And toincludes/languages/westminster_new/german.php

// defines Own Flexi Menu
  define('FLEXI_SHOP', 'Shop');
  define('FLEXI_HOME', 'Homepage');
  define('FLEXI_FEATURED', 'Empfohlene Artikel');
  define('FLEXI_SPECIALS', 'Sonderangebote');
  define('FLEXI_NEWARRIVALS', 'Neue Artikel');
  define('FLEXI_VIEWALL', 'Alle Artikel');
  define('FLEXI_CUSTOMERSERVICE', 'Kundenservice');
  define('FLEXI_SHIPPINGANDRETURNS', 'Lieferung und Versand');
  define('FLEXI_CONTACTUS', 'Impressum & Kontakt');
  define('FLEXI_ABOUTUS', 'Über uns');
  define('FLEXI_MYACCOUNT', 'Kundenkonto');
  define('FLEXI_SHAREANDCONNECT', 'Weitersagen');
14 Nov 2014, 6:16 PM
#347
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

dachilla:

Hi,

first thank you for your great templates and all the effort!
it seems impossible to me to translate the
I am trying to translate the template atm for the multi language version english/german. Unfortunately I am not a programmer and it seems impossible for me to me to translate the flexible footer menu, at least I can't find a language file. Guessing it's something with the database and my SQL skills are absent, so to speak.

Any help is appreciated.

D.C.

Yes, the flexible footer menu module that I used for the footer menu is currently not multi language friendly. I believe that the author, rbarbour, is working on making it mutli language friendly. For now, if you want the footer in another language, you can re code it and use constants which can be defined in the language files.

Thanks,

Anne

14 Nov 2014, 6:16 PM
#348
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

dachilla:

I kinda solved the problem myself. It's not the most elegant way but works fine for me...

In includes/templates/westminster_new/common/tpl_footer.php I replaced

<!--bof-flexible footer menu display --> <div id="flex-navSupp"> <div class="onerow-fluid <?php echo $fluidisFixed; ?>"> <?php require($template->get_template_dir('tpl_flexible_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_flexible_footer_menu.php'); ?>

<br /><br />

> with
> ```
<!--bof-own footer menu display -->
<div id="flex-navSupp">
<div class="onerow-fluid ">

<div class="flexFooterCol ffCcol1" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_SHOP; ?></h4></li>
<li><a href="index.php?main_page="><?php echo FLEXI_HOME; ?></a></li>
<li><a href="index.php?main_page=featured_products"><?php echo FLEXI_FEATURED; ?></a></li>
<li><a href="index.php?main_page=specials"><?php echo FLEXI_SPECIALS; ?></a></li>
<li><a href="index.php?main_page=products_new"><?php echo FLEXI_NEWARRIVALS; ?></a></li>
<li><a href="index.php?main_page=products_all"><?php echo FLEXI_VIEWALL; ?></a></li>
</ul></div><div class="flexFooterCol ffCcol2" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_CUSTOMERSERVICE; ?></h4></li>
<li><a href="index.php?main_page=shippinginfo"><?php echo FLEXI_SHIPPINGANDRETURNS; ?></a></li>
<li><a href="index.php?main_page=contact_us"><?php echo FLEXI_CONTACTUS; ?></a></li>
<li><a href="index.php?main_page=about_us" class="activePage"><?php echo FLEXI_ABOUTUS; ?></a></li>
<li><a href="index.php?main_page=account"><?php echo FLEXI_MYACCOUNT; ?></a></li>
</ul></div><div class="flexFooterCol ffCcol4" style="width: 32.4%"><ul><li><h4><?php echo FLEXI_SHAREANDCONNECT; ?></h4></li>
<li class="flexFooterColText"><a href="https://www.facebook.com/Custom.Zen.Cart.Design" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/picaflorazul" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/picaflorazul" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/user/ZenCartEasyHelp" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a></li>
</ul></div><br class="clearBoth" /><br /><br />

<!--eof-own footer menu display -->


<!--bof-flexible footer menu display -->
<!--<div id="flex-navSupp">
<div class="onerow-fluid <?php echo $fluidisFixed; ?>">

<?php require($template->get_template_dir('tpl_flexible_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_flexible_footer_menu.php'); ?>
<br /><br />-->

After that I had to make the defines in the language files...

I added to includes/languages/westminster_new/english.php

// defines Own Flexi Menu
define('FLEXI_SHOP', 'Shop');
define('FLEXI_HOME', 'Home');
define('FLEXI_FEATURED', 'Featured Items');
define('FLEXI_SPECIALS', 'Specials');
define('FLEXI_NEWARRIVALS', 'New Arrivals');
define('FLEXI_VIEWALL', 'View all');
define('FLEXI_CUSTOMERSERVICE', 'Customer Service');
define('FLEXI_SHIPPINGANDRETURNS', 'Shipping and Returns');
define('FLEXI_CONTACTUS', 'Imprint & Contact');
define('FLEXI_ABOUTUS', 'About Us');
define('FLEXI_MYACCOUNT', 'My Account');
define('FLEXI_SHAREANDCONNECT', 'Share and Connect');

> And toincludes/languages/westminster_new/german.php
> ```
// defines Own Flexi Menu
  define('FLEXI_SHOP', 'Shop');
  define('FLEXI_HOME', 'Homepage');
  define('FLEXI_FEATURED', 'Empfohlene Artikel');
  define('FLEXI_SPECIALS', 'Sonderangebote');
  define('FLEXI_NEWARRIVALS', 'Neue Artikel');
  define('FLEXI_VIEWALL', 'Alle Artikel');
  define('FLEXI_CUSTOMERSERVICE', 'Kundenservice');
  define('FLEXI_SHIPPINGANDRETURNS', 'Lieferung und Versand');
  define('FLEXI_CONTACTUS', 'Impressum & Kontakt');
  define('FLEXI_ABOUTUS', 'Über uns');
  define('FLEXI_MYACCOUNT', 'Kundenkonto');
  define('FLEXI_SHAREANDCONNECT', 'Weitersagen');

Thank you for posting your solution.

Thanks,

Anne

16 Nov 2014, 12:00 AM
#349
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Westminster New

Why does the normal flexible footer social media FB, twitter, pinterest, etc function normally on most pages but on product pages use ADDTHIS coding? I'm not sure where else AddThis appears but I just noticed that tracking software was detecting it and we have previously assured our customers that we would have nothing to do with AddThis after their canvas fingerprinting project was discovered.

Can all references and uses of ADDTHIS be removed or disabled? Easily? And just use the normal flexible footer code instead?

ADDTHIS is evil

17 Nov 2014, 1:52 PM
#350
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Westminster New

RixStix:

Why does the normal flexible footer social media FB, twitter, pinterest, etc function normally on most pages but on product pages use ADDTHIS coding? I'm not sure where else AddThis appears but I just noticed that tracking software was detecting it and we have previously assured our customers that we would have nothing to do with AddThis after their canvas fingerprinting project was discovered.

Can all references and uses of ADDTHIS be removed or disabled? Easily? And just use the normal flexible footer code instead?

ADDTHIS is evil

It may be that I'm missing something but I thought that the Flexible Footer social icons take the user to your social page/site whereas the addthis links on the product page allow the user to post that product on their social page/site.

17 Nov 2014, 3:25 PM
#351
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Westminster New

simon1066:

It may be that I'm missing something but I thought that the Flexible Footer social icons take the user to your social page/site whereas the addthis links on the product page allow the user to post that product on their social page/site.

OOPS, the AddThis script/buttons are hidden on the page (possibly a result of one of my initial edits). I made the wrong association that they were the ones in the flexible footer area since those were the only icons visible.

The code is in /includes/templates/westminster_new/templates/tpl_product_info_display.php

Commented the ADDTHIS code beginning line 157

<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript" src="[URL="http://www.zen-cart.com/view-source:http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff326d22d3b21a9"]http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff326d22d3b21a9[/URL]"></script> <!-- AddThis Button END -->
17 Nov 2014, 6:24 PM
#352
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

RixStix:

Why does the normal flexible footer social media FB, twitter, pinterest, etc function normally on most pages but on product pages use ADDTHIS coding? I'm not sure where else AddThis appears but I just noticed that tracking software was detecting it and we have previously assured our customers that we would have nothing to do with AddThis after their canvas fingerprinting project was discovered.

Can all references and uses of ADDTHIS be removed or disabled? Easily? And just use the normal flexible footer code instead?

ADDTHIS is evil

The social media icons in the flexible footer do not use add this code of any kind. If you are seeing add this code then it is showing from some where else that you have added it.

Thanks,

Anne

17 Nov 2014, 6:26 PM
#353
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

RixStix:

OOPS, the AddThis script/buttons are hidden on the page (possibly a result of one of my initial edits). I made the wrong association that they were the ones in the flexible footer area since those were the only icons visible.

The code is in /includes/templates/westminster_new/templates/tpl_product_info_display.php

Commented the ADDTHIS code beginning line 157

<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript" src="[URL="http://www.zen-cart.com/view-source:http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff326d22d3b21a9"]http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff326d22d3b21a9[/URL]"></script> <!-- AddThis Button END -->

Thank you for posting your resolution.

Thanks,

Anne
17 Nov 2014, 7:26 PM
#354
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

If you are seeing add this code then it is showing from some where else that you have added it.

AddThis code is included with the template in the mentioned file and I am not saying that it was included with any malicious intentions.

I may be in the minority but I do consider AddThis evil; especially when code has references to 'geolocate' in the script, that does raise flags on my end.

Since commenting the code doesn't remove it from "ViewSource", I have removed it from the file.

18 Nov 2014, 3:35 PM
#355
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

RixStix:

AddThis code is included with the template in the mentioned file and I am not saying that it was included with any malicious intentions.

I may be in the minority but I do consider AddThis evil; especially when code has references to 'geolocate' in the script, that does raise flags on my end.

Since commenting the code doesn't remove it from "ViewSource", I have removed it from the file.

Yes, I was assuming that you had already removed it from the tpl_product_info_page.php.

Thanks,

Anne

19 Nov 2014, 7:34 AM
#356
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Westminster New

RixStix:

Since commenting the code doesn't remove it from "ViewSource", I have removed it from the file.

Just a by-the-by but if you comment out the code by surrounding it in

<?php /* ?>

THE CODE

<?php */ ?>

then this will remove it from the Source

19 Nov 2014, 2:17 PM
#357
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Westminster New

simon1066:

Just a by-the-by but if you comment out the code by surrounding it in

<?php /* ?>

THE CODE

<?php */ ?>

then this will remove it from the Source

TNX for that. I learn something new every day by reading this forum.

20 Nov 2014, 5:19 AM
#358
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Westminster New

I apologize in advance if this has been answered. My client would like to have banners on the home page w/ right column. Is there a way to turn on the right column of the home page? Thanks again for all you have done, love your templates.

20 Nov 2014, 2:47 PM
#359
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

creyesx6:

I apologize in advance if this has been answered. My client would like to have banners on the home page w/ right column. Is there a way to turn on the right column of the home page? Thanks again for all you have done, love your templates.

You can edit the includes/templates/override/common/tpl_main_page.php file.

Thanks,

Anne

30 Nov 2014, 2:22 AM
#360
jakumpe avatar

jakumpe

New Zenner

Join Date:
Jun 2007
Location:
Arkansas
Posts:
71
Plugin Contributions:
0

Re: Westminster New

I am trying to edit the share and connect on the footer but when I goto Admin--Tools--Flexible Footer Menu and click edit on share and connect the column contents is blank and has nothing to edit. Am I missing something? I am using ZenCart 1.5.3