Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,103

Results 321 to 340 of 1,865
14 Oct 2014, 5:16 PM
#321
bigandrew avatar

bigandrew

New Zenner

Join Date:
Oct 2014
Location:
Georgia
Posts:
74
Plugin Contributions:
0

Westminster New

Thanks Anne. I ended up causing a huge mess re-building the site several times only to find out that things worked fine (your template) until I restored my database, then the slide show quit working. On the final try, I restored the database, leaving out the "configuration" line (I saved a copy of my database without that particular entry), and your template slide show kept working!
Now my problem is when I go into the admin section, drop down to the configuration of this template, it's completely blank. However, when I look at the database, the entries are in there. It's like when I installed the template, the database took it, but the admin-configure-westminister new template configuration won't show it.
So the slide show is working, but I can't shut it off. Any ideas how to get the config stuff to show? Thanks.

17 Oct 2014, 3:23 PM
#322
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Westminster New

Hi there,

Firstly let me say what a stunning template this is. really has had a lot of hard work put into it and it looks great.

Recently decided to switch to it and glad i did.

One question though which may/may not have been answered before but i cant seem to find it, At the bottom of lets say the specials page, there is a tab down the left side with "More Information" which looks like ez pages, how can i remove that whole topic.

17 Oct 2014, 3:33 PM
#323
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

Steve Harris:

Hi there,

Firstly let me say what a stunning template this is. really has had a lot of hard work put into it and it looks great.

Recently decided to switch to it and glad i did.

One question though which may/may not have been answered before but i cant seem to find it, At the bottom of lets say the specials page, there is a tab down the left side with "More Information" which looks like ez pages, how can i remove that whole topic.

That would be the More Information 'Sidebox'. You can turn sideboxes on and off in Admin - Tools - Layout Boxes Controller

17 Oct 2014, 5:13 PM
#324
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Steve Harris:

Hi there,

Firstly let me say what a stunning template this is. really has had a lot of hard work put into it and it looks great.

Recently decided to switch to it and glad i did.

One question though which may/may not have been answered before but i cant seem to find it, At the bottom of lets say the specials page, there is a tab down the left side with "More Information" which looks like ez pages, how can i remove that whole topic.

You can edit the footer by using admin--tools--flexible footer menu

Thanks,

Anne

17 Oct 2014, 5:18 PM
#325
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

bigandrew:

Thanks Anne. I ended up causing a huge mess re-building the site several times only to find out that things worked fine (your template) until I restored my database, then the slide show quit working. On the final try, I restored the database, leaving out the "configuration" line (I saved a copy of my database without that particular entry), and your template slide show kept working!
Now my problem is when I go into the admin section, drop down to the configuration of this template, it's completely blank. However, when I look at the database, the entries are in there. It's like when I installed the template, the database took it, but the admin-configure-westminister new template configuration won't show it.
So the slide show is working, but I can't shut it off. Any ideas how to get the config stuff to show? Thanks.

There is probably a mis match between the configuration group id's. Check the configuration group table and match the number to the lines for westminster new in the configuration table.

Thanks,

Anne

17 Oct 2014, 6:55 PM
#326
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Westminster New

Many thanks, i knew it was there lol. i have obviously looked at the for too long it vanished.

Lastly, it must be a silly question, but i don't have a carousel on my front page. i've looked to see if i can switch it on but as far as i can see, it should be on.

17 Oct 2014, 7:32 PM
#327
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Steve Harris:

Many thanks, i knew it was there lol. i have obviously looked at the for too long it vanished.

Lastly, it must be a silly question, but i don't have a carousel on my front page. i've looked to see if i can switch it on but as far as i can see, it should be on.

Do you have any products specified as featured?

Thanks,

Anne

19 Oct 2014, 2:01 PM
#328
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Westminster New

yes i have 3 just to test

19 Oct 2014, 2:19 PM
#329
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Steve Harris:

yes i have 3 just to test

Do you have featured products turned on in admin--configuration--index listing.

Thanks,

Anne

30 Oct 2014, 11:48 AM
#330
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Westminster New

Has anyone installed CSS JS Loader plugin with this template? I've had to install it as it is required for the Fast and Easy Checkout plugin. I noticed that my source code is a bit untidy.

Temporary link to source code: view-source:tinyurl.com/kljdboe (cut and paste into url. Doesn't work if you put http:// before it)

I've got a couple of issues:

  1. Should I be concerned that I'm getting 'undefined' in my header as follows and do I fix it (see line 31 and 46)?
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
  1. I notice that there is duplication of stylesheet and script (line 23-34 with line 38-49). The file affected is includes/templates/westminster_new/common/html_header.php and it's definitely the css js loader bit that's causing the duplication as I've spent two days trying different things and searching for an answer. Lol, it's pretty obvious I'm no programmer! Has anyone managed to sort this? I would be very grateful if someone could point me in the right direction.

Thank you!

30 Oct 2014, 1:13 PM
#331
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

nipinuk:

Has anyone installed CSS JS Loader plugin with this template? I've had to install it as it is required for the Fast and Easy Checkout plugin. I noticed that my source code is a bit untidy.

Temporary link to source code: view-source:tinyurl.com/kljdboe (cut and paste into url. Doesn't work if you put http:// before it)

I've got a couple of issues:

  1. Should I be concerned that I'm getting 'undefined' in my header as follows and do I fix it (see line 31 and 46)?

if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));

> 
> 2. I notice that there is duplication of stylesheet and script (line 23-34 with line 38-49). The file affected is includes/templates/westminster_new/common/html_header.php and it's definitely the css js loader bit that's causing the duplication as I've spent two days trying different things and searching for an answer. Lol, it's pretty obvious I'm no programmer! Has anyone managed to sort this? I would be very grateful if someone could point me in the right direction.
> 
> Thank you!

I have installed css/js loader many times with this template with no issues.  You need to merge the files carefully correctly.



Thanks,

Anne
30 Oct 2014, 2:25 PM
#332
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Westminster New

Thanks for your quick reply Anne. Back to the drawing board for me then! Many thanks!

31 Oct 2014, 2:15 PM
#333
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Westminster New

Just a quick update in case anyone is having the same problem as I am.

  1. If you are getting
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
``` it's just from using the zen colorbox plugin

2. If you've installed CSS JS Loader plugin, you will (if you haven't carefully merged html_header.php) get duplication code for stylesheets and scripts. What you need to do is replace the code below in includes/templates/westminster_new/common/html_header.php
<?php /** * load all template-specific stylesheets, named like "style*.css", alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.css'); while(list ($key, $value) = each($directory_array)) { echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n"; } /** * load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza. */ $manufacturers_id = (isset($_GET['manufacturers_id'])) ? $_GET['manufacturers_id'] : ''; $tmp_products_id = (isset($_GET['products_id'])) ? (int)$_GET['products_id'] : ''; $tmp_pagename = ($this_is_home_page) ? 'index_home' : $current_page_base; if ($current_page_base == 'page' && isset($ezpage_id)) $tmp_pagename = $current_page_base . (int)$ezpage_id; $sheets_array = array('/' . $_SESSION['language'] . '_stylesheet', '/' . $tmp_pagename, '/' . $_SESSION['language'] . '_' . $tmp_pagename, '/c_' . $cPath, '/' . $_SESSION['language'] . '_c_' . $cPath, '/m_' . $manufacturers_id, '/' . $_SESSION['language'] . '_m_' . (int)$manufacturers_id, '/p_' . $tmp_products_id, '/' . $_SESSION['language'] . '_p_' . $tmp_products_id ); while(list ($key, $value) = each($sheets_array)) { //echo "<!--looking for: $value-->\n"; $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . $value . '.css'; if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n"; } /** * custom category handling for a parent and all its children ... works for any c_XX_XX_children.css where XX_XX is any parent category */ $tmp_cats = explode('_', $cPath); $value = ''; foreach($tmp_cats as $val) { $value .= $val; $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/c_' . $value . '_children.css'; if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n"; $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/' . $_SESSION['language'] . '_c_' . $value . '_children.css'; if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n"; $value .= '_'; } /** * load printer-friendly stylesheets -- named like "print*.css", alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css'); sort($directory_array); while(list ($key, $value) = each($directory_array)) { echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n"; } /** * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js'); while(list ($key, $value) = each($directory_array)) { echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n"; } /** * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically */ $directory_array = $template->get_template_part($page_directory, '/^jscript_/', '.js'); while(list ($key, $value) = each($directory_array)) { echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n"; } /** * load all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.php'); while(list ($key, $value) = each($directory_array)) { /** * include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically. * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page */ require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n"; } /** * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically. */ $directory_array = $template->get_template_part($page_directory, '/^jscript_/'); while(list ($key, $value) = each($directory_array)) { /** * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically. * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page */ require($page_directory . '/' . $value); echo "\n"; } ``` with ``` <?php /** * load the loader files */ if($RI_CJLoader->get('status') && (!isset($Ajax) || !$Ajax->status())){ $RI_CJLoader->autoloadLoaders(); $RI_CJLoader->loadCssJsFiles(); $files = $RI_CJLoader->header(); foreach($files['css'] as $file) if($file['include']) { include($file['src']); } else if (!$RI_CJLoader->get('minify_css') || $file['external']) { echo '<link rel="stylesheet" type="text/css" href="'.$file['src'].'" />'."\n"; } else { echo '<link rel="stylesheet" type="text/css" href="min/?f='.$file['src'].'&'.$RI_CJLoader->get('minify_time').'" />'."\n"; } foreach($files['jscript'] as $file) if($file['include']) { include($file['src']); } else if(!$RI_CJLoader->get('minify_js') || $file['external']) { echo '<script type="text/javascript" src="'.$file['src'].'"></script>'."\n"; } else { echo '<script type="text/javascript" src="min/?f='.$file['src'].'&'.$RI_CJLoader->get('minify_time').'"></script>'."\n"; } } ``` Thank you Anne. I think I just needed you to say carefully! :)
3 Nov 2014, 3:37 PM
#334
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

Admin page titles changed.

Admin: Modules: Payment
Admin: Modules: Shipping
Admin: Modules: Order Total

When I navigate to any of those 3 pages within Admin, the title displayed is "Flexible Footer Menu" instead of the proper page title.

3 Nov 2014, 10:13 PM
#335
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Westminster New

This is a bug in the Flexible Footer Columns Menu for 1.5.x plugin,

open: /YOUR_ADMIN_FOLDER/includes/languages/english/extra_definitions/flexible_footer_menu.php

find:
define('HEADING_TITLE','Flexible Footer Menu');

change to:
//define('HEADING_TITLE','Flexible Footer Menu');

RixStix:

Admin page titles changed.

Admin: Modules: Payment
Admin: Modules: Shipping
Admin: Modules: Order Total

When I navigate to any of those 3 pages within Admin, the title displayed is "Flexible Footer Menu" instead of the proper page title.

4 Nov 2014, 12:36 AM
#336
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

Thank you Raymond,

That took care of things.

10 Nov 2014, 5:16 PM
#337
reciecup avatar

reciecup

New Zenner

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

Re: Westminster New

I have had this template installed for a couple of months now and it has been nothing but awesome! Thanks, Anne :)

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?

Also, which code in the tpl_main_page.php do I remove to get rid of the "Back To Top" button?

10 Nov 2014, 5:24 PM
#338
reciecup avatar

reciecup

New Zenner

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

Re: Westminster New

Link to my site is https://www.LoveKariDae.com in case that will help....

10 Nov 2014, 6:09 PM
#339
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

reciecup:

I have had this template installed for a couple of months now and it has been nothing but awesome! Thanks, Anne :)

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?

Also, which code in the tpl_main_page.php do I remove to get rid of the "Back To Top" button?

The fix for this is to replace the menu ;) I am planning on submitting an update for this template soon using a great mobile friendly menu that was developed by rbarbour --thank you Raymond!

Thanks,

Anne

10 Nov 2014, 6:39 PM
#340
reciecup avatar

reciecup

New Zenner

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

Re: Westminster New

picaflor-azul:

The fix for this is to replace the menu ;) I am planning on submitting an update for this template soon using a great mobile friendly menu that was developed by rbarbour --thank you Raymond!

Thanks,

Anne

Okay, gotcha! i'll keep an eye out for that update.
Any comments on what code to remove in the tpl_main_page.php to remove the "Back To Top" button?