Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Westminster New

Started by picaflor_azul on 15 May 2014, 8:49 PM · Views: 495,502

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

Post #401 by thannaree

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

Post #402 by rixstix

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>

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

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

Post #403 by rixstix

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.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

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

Post #404 by picaflor_azul

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

Post #405 by 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' ?>',

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

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

Post #406 by picaflor_azul

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,152
Plugin Contributions:
56

Post #407 by lat9

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

Post #408 by picaflor_azul

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

Post #409 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

Post #410 by 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????

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

Post #411 by picaflor_azul

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

Post #412 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

Post #413 by 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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

Post #414 by picaflor_azul

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

Post #415 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

thannaree

Zen Follower

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

Post #416 by 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" />
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

Post #417 by divavocals

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!!!!

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

design75

Totally Zenned

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

Post #418 by design75

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

Post #419 by 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

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

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

Post #420 by divavocals

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>

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.