Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,104

Results 401 to 420 of 1,865
2 Jan 2015, 10:41 AM
#401
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Westminster New

Thannaree:

Note that all looks good when you add products.

I did a fresh install with 1.5.3 and the empty section of the Special page seems to be a normal feature.

On the other hand I can't find out what's the issue with the TEXT_NO_PRODUCTS appearing of the New Products and Featured Products pages.

2 Jan 2015, 3:25 PM
#402
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

I've looked as much as I know how to find the source of these which is causing problems. I have compared default template files with my edited template files and have not seen anything obvioius.

Anne, can you help? These are excerpts from a "view source" of any product page.
The template doesn't include any /product_info folder
I'm assuming that the doubleslash between the product_info and file name is most likely the culprit, but where to find those 4 edits?

Server error logs has 4 lines of filedoesnotexist error for each product view.
I do not know when it started.
It could be due to an edit made by me.

<script src="includes/templates/westminster_new/product_info//css_browser_selector.js" type="text/javascript"></script>
<script src="includes/templates/westminster_new/product_info//jquery.slimmenu.min.js" type="text/javascript"></script>
<script src="includes/templates/westminster_new/product_info//easyResponsiveTabs.js" type="text/javascript"></script>
<script src="includes/templates/westminster_new/product_info//jquery.tabSlideOut.v1.3.js" type="text/javascript"></script>
2 Jan 2015, 4:09 PM
#403
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

RixStix:

I do not know when it started.

<script src="includes/templates/westminster_new/product_info//css_browser_selector.js" type="text/javascript"></script> <script src="includes/templates/westminster_new/product_info//jquery.slimmenu.min.js" type="text/javascript"></script> <script src="includes/templates/westminster_new/product_info//easyResponsiveTabs.js" type="text/javascript"></script> <script src="includes/templates/westminster_new/product_info//jquery.tabSlideOut.v1.3.js" type="text/javascript"></script>
**
I DO know when it started.**
After looking at the December 2014 server log, I did find the errors began on Dec 27, coincidentally the same date that Restrict Digital Downloads was installed.

RDD creates several   *_ **product_info**   folders within the template folder.
2 Jan 2015, 4:25 PM
#404
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:

**
I DO know when it started.**
After looking at the December 2014 server log, I did find the errors began on Dec 27, coincidentally the same date that Restrict Digital Downloads was installed.

RDD creates several *_ product_info folders within the template folder.

The problem is related to that module install. I am not familiar with that module so it would be best to ask for help on its support thread.

Thanks,

Anne

2 Jan 2015, 5:10 PM
#405
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

In case someone else has this in the future.....
5 edits to template files

/includes/templates/westminster_new/common/html_header.php LINE 207

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('css_browser_selector.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php LINE 98

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_product_info_display.php LINE 166

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('easyResponsiveTabs.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 366

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 372

pathToTabImage: '<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',
2 Jan 2015, 6:15 PM
#406
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:

In case someone else has this in the future.....
5 edits to template files

/includes/templates/westminster_new/common/html_header.php LINE 207

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('css_browser_selector.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php LINE 98

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_product_info_display.php LINE 166

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('easyResponsiveTabs.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 366

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 372

pathToTabImage: '<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

> ```
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

Thanks for posting your solution. These edits are only necessary if using the Restrict Digital Downloads plugin.

Thanks,

Anne

2 Jan 2015, 7:30 PM
#407
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Westminster New

picaflor-azul:

Thanks for posting your solution. These edits are only necessary if using the Restrict Digital Downloads plugin.

Thanks,

Anne
That's not quite true. The code corrections are needed to "play nice" with **any **plugin that uses the built-in Zen Cart override method that *RDD *uses.

2 Jan 2015, 7:49 PM
#408
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

lat9:

That's not quite true. The code corrections are needed to "play nice" with **any **plugin that uses the built-in Zen Cart override method that *RDD *uses.

I see, thank you for posting ;) I'll make a note of these changes for a future template upgrade.

Thanks,

Anne

6 Jan 2015, 5:52 PM
#409
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

RixStix:

In case someone else has this in the future.....
5 edits to template files

/includes/templates/westminster_new/common/html_header.php LINE 207

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('css_browser_selector.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php LINE 98

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_product_info_display.php LINE 166

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('easyResponsiveTabs.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 366

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 372

pathToTabImage: '<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

> ```
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

Thanks for this..

6 Jan 2015, 6:50 PM
#410
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

I'm replacing the easyResponsiveTabs bundled with this template with SNAF, and I need to make sure I remove all the code related to the easyResponsiveTabs.. So far this is the list of affected files I found:
westminster_new\jscript\easyResponsiveTabs.js
westminster_new\css\stylesheet_responsive_tabs.css
westminster_new\templates\tpl_dgReview.php
westminster_new\templates\tpl_product_info_display.php
YOUR_ADMIN_FOLDER\includes\installers\westminster_new\1_0.php

My question is this: Are there more files I might have missed that contain code related to the tabs????

6 Jan 2015, 8:31 PM
#411
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

DivaVocals:

I'm replacing the easyResponsiveTabs bundled with this template with SNAF, and I need to make sure I remove all the code related to the easyResponsiveTabs.. So far this is the list of affected files I found:
westminster_new\jscript\easyResponsiveTabs.js
westminster_new\css\stylesheet_responsive_tabs.css
westminster_new\templates\tpl_dgReview.php
westminster_new\templates\tpl_product_info_display.php
YOUR_ADMIN_FOLDER\includes\installers\westminster_new\1_0.php

My question is this: Are there more files I might have missed that contain code related to the tabs????

No, I think that is it ;)

Thanks,

Anne

6 Jan 2015, 8:41 PM
#412
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

picaflor-azul:

No, I think that is it ;)

Thanks,

Anne

Cool.. thanks for confirming.. hahaha I see I said SNAF when I MEANT TPP.. Silly me..

6 Jan 2015, 8:46 PM
#413
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

Found a minor type here: westminster_new\files\includes\templates\westminster_new\templates\tpl_product_reviews_default.php
Line 79 reads:

<br calss="clearBoth" />

Should be:

<br class="clearBoth" />

Dunno if this has been reported already..

6 Jan 2015, 10:07 PM
#414
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

DivaVocals:

Found a minor type here: westminster_new\files\includes\templates\westminster_new\templates\tpl_product_reviews_default.php
Line 79 reads:

<br calss="clearBoth" /> ``` > > Should be: > ``` <br class="clearBoth" /> ``` > > Dunno if this has been reported already..

Thank you so much for posting ;) I am working on a major package upgrade and will definitely include this.

Thanks,

Anne

6 Jan 2015, 10:58 PM
#415
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

Noticed when comparing to westminster_new\templates\tpl_product_reviews_write_default.php to the default Zen Cart v1.5.4 code that the honey pot field is missing (this was introduced in v1.5.1):

Around line 70 find this:

<?php echo zen_draw_textarea_field('review_text', 60, 5, '', 'id="review-text"'); ?>

Paste this on the next line:

<?php echo zen_draw_input_field('should_be_empty', '', ' size="60" id="RAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>

Didn't see that this had been reported..

7 Jan 2015, 8:31 AM
#416
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: Westminster New

For those who want to have a wordpress icon in (or latest font awesome css for) the footer

Open : includes/templates/westminster_new/common/html_header.php and replace

<link href="//netdna.bootstrapcdn.com/font-awesome/[B]4.0.3[/B]/css/font-awesome.css" rel="stylesheet" />
<link href="//netdna.bootstrapcdn.com/font-awesome/[B]4.2.0[/B]/css/font-awesome.css" rel="stylesheet" />
7 Jan 2015, 8:45 AM
#417
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

Thannaree:

For those who want to have a wordpress icon in (or latest font awesome css for) the footer

Open : includes/templates/westminster_new/common/html_header.php and replace

<link href="//netdna.bootstrapcdn.com/font-awesome/[B]4.0.3[/B]/css/font-awesome.css" rel="stylesheet" /> ``` > > ``` <link href="//netdna.bootstrapcdn.com/font-awesome/[B]4.2.0[/B]/css/font-awesome.css" rel="stylesheet" /> ```

Fantastic!!!!

7 Jan 2015, 11:29 PM
#418
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Westminster New

RixStix:

In case someone else has this in the future.....
5 edits to template files

/includes/templates/westminster_new/common/html_header.php LINE 207

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('css_browser_selector.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php LINE 98

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/templates/tpl_product_info_display.php LINE 166

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('easyResponsiveTabs.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 366

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
> ```
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

includes/templates/westminster_new/common/tpl_main_page.php LINE 372

pathToTabImage: '<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

> ```
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>',

Thanks, I have been pulling my hairs out over this. I am actually using the Winchester Responsive theme, but it has the same issues.

7 Jan 2015, 11:41 PM
#419
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

I just fixed the lines that caused the Restrict Digital Downloads plugin errors. If you use Developer's Tool Kit, you will find that there are additional, similar lines that could use the same fix. Search for **$template->get_template_dir **to find the others.

Many thanks to lat9 for the assistance

8 Jan 2015, 4:25 AM
#420
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

RixStix:

I just fixed the lines that caused the Restrict Digital Downloads plugin errors. If you use Developer's Tool Kit, you will find that there are additional, similar lines that could use the same fix. Search for **$template->get_template_dir **to find the others.

Many thanks to lat9 for the assistance

I found two more files that need this same fix:
**includes/templates/westminster_new/common/tpl_home_slider.php
Line #41 : **```

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.flexslider.js' ?>" type="text/javascript"></script>

Should be:

<script src="<?php echo $template->get_template_dir('jquery.flexslider.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.flexslider.js' ?>" type="text/javascript"></script>

**includes/templates/westminster_new/common/tpl_main_page.php
Line #**93** : ****```
<script src="<?php echo  $template->get_template_dir('',DIR_WS_TEMPLATE,  $current_page_base,'jscript') . '/back_to_top.min.js' ?>"  type="text/javascript"></script>

Should be:****```

<script src="<?php echo $template->get_template_dir('back_to_top.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/back_to_top.min.js' ?>" type="text/javascript"></script>