Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,078

Results 161 to 180 of 1,865
17 Jul 2014, 14:52
#161
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Westminster New

Advisers Australia:

Hi Anne,

Thank you for the advice. The server php ver. is 5.2.17. Reloaded zen cart ver. 1.5.1

The template is now functioning as per the specs.

Justin :smile:

Zen Cart v1.5.3 is compatible with PHP 5.3.7* thru PHP 5.6

Thanks,

Anne

17 Jul 2014, 14:53
#162
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:

Thank you Anne,

That did it.

As soon as I make a button, there will be an alternate path to product categories for those devices that do not play nice with the Slim Menu and still make use of the responsive layouts.

TNX, TNX, TNX

Rick

No problem ;) I will be sure to include this fix in the next template update (already working on it).

Thanks,

Anne

17 Jul 2014, 16:18
#163
kalyan avatar

kalyan

New Zenner

Join Date:
Jun 2014
Location:
india, andhra Pradesh, Hyderabad
Posts:
1
Plugin Contributions:
0

Re: Westminster New

Hi i am new to zen cart and support

I have a issue while using zencart product View all .. i have installed westminster_new and facing issue in solving --- VIEW ALL -- All products sorting order Please help http://mithulas.com/index.php?main_page=products_all&disp_order=2

A warning messege is displayed as WARNING: An Error occurred, please refresh the page and try again.

17 Jul 2014, 16:25
#164
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

kalyan:

Hi i am new to zen cart and support

I have a issue while using zencart product View all .. i have installed westminster_new and facing issue in solving --- VIEW ALL -- All products sorting order Please help http://mithulas.com/index.php?main_page=products_all&disp_order=2

A warning messege is displayed as WARNING: An Error occurred, please refresh the page and try again.

Check your logs folder for errors.

This is not a problem with the template package. If you have plugins installed on the cart and you have not copied the override files to the new template override name there will be problems.

Thanks,

Anne

17 Jul 2014, 16:34
#165
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

michaeldoddkinsella:

Thanks for the help I got everything working except the browser title.

Hi, in includes\languages\english\YOUR_TEMPLATE\meta_tags.php

You should be able to define the page title around line 11

// page title
define('TITLE', 'add your title here');

In this file you can also assign meta tags (titles, descriptions and keywords) to other pages on your site.

20 Jul 2014, 10:27
#166
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

Hi Anne,

I just noticed a thing. When I open the website on mobile and click on any product, the categories appear above the product first and then the product name,image, description. Considering that I have over 20 categories, the customer has to first scroll a lot before he actually reaches the information that he clicked for.

Can you suggest what can be done ?

The site is spicesonline.info/indian-spices

20 Jul 2014, 10:56
#167
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

I've also had to do this, you can add

#categories {display:none;}

to your responsive mobile stylesheet at the appropriate media size, and if necessary to your tablet and default stylesheets.

20 Jul 2014, 13:00
#168
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

Another thing to do is:

Admin: Tools: LayoutBoxes Controller: Sideboxes:Categories: Show Box @ Minwidth: OFF

That turns the categories OFF for mobile devices after the product is selected from the menu

20 Jul 2014, 13:19
#169
wtfbbq avatar

wtfbbq

New Zenner

Join Date:
Aug 2012
Posts:
45
Plugin Contributions:
0

Re: Westminster New

I like the mobile expandable categories menu on this template.
How much work would be needed to apply this menu to your other template, responsive apparel boutique?

20 Jul 2014, 14:42
#170
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

picaflor-azul:

The log out button is not there. If you want to add it back in, you will need to edit the includes/templates/westminster_new/common/tpl_header_tablet.php and the includes/templates/westminster_new/common/tpl_header_mobile.php to add it back in:

<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><i class="fa fa-power-off"></i><?php echo HEADER_TITLE_LOGOFF; ?></a></li> ``` > Thanks, > Anne

It may not be proper but since the above didn't have any visual effect, I inserted

<a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><i class="fa fa-power-off"></i></a>

after line 138 in

includes/templates/westminster_new/common/tpl_header.php

and the LogOut button appears to the right of the LogIn button on mobile devices

20 Jul 2014, 16:10
#171
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

RixStix:

Another thing to do is:

Admin: Tools: LayoutBoxes Controller: Sideboxes:Categories: Show Box @ Minwidth: OFF

That turns the categories OFF for mobile devices after the product is selected from the menu

Ah yes, hadn't realised that was there, simple.

20 Jul 2014, 19:54
#172
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

Hi. THanks. Could not get this setting in the layout boxes controller.

20 Jul 2014, 19:57
#173
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

Hi,

Can you paste your code snippet of the changes here so i can apply that.
A link to your site would be very helpful too.

Chetan

20 Jul 2014, 21:05
#174
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

mr.chetanladdha:

Hi. THanks. Could not get this setting in the layout boxes controller.

If you don't have the Column, then I suspect you missed something during setup.

[Attachment no longer available]

My Sandbox Site: chainweavers(dot)info/ZEN153 remove the (dot)

20 Jul 2014, 21:07
#175
rixstix avatar

rixstix

Totally Zenned

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

Re: Westminster New

mr.chetanladdha:

Hi,

Can you paste your code snippet of the changes here so i can apply that.
A link to your site would be very helpful too.

Chetan

Which changes are you referring? I've made quite a few overall.

24 Jul 2014, 21:55
#176
arthena avatar

arthena

New Zenner

Join Date:
Jul 2007
Location:
Sunny Cornwall
Posts:
73
Plugin Contributions:
0

Re: Westminster New

Hi,

Did you sort this probe?

25 Jul 2014, 00:53
#177
thomaswhiteeagle avatar

thomaswhiteeagle

New Zenner

Join Date:
May 2007
Posts:
93
Plugin Contributions:
0

Re: Westminster New

I have the westminster_new version 1.2 with zen 1.5.3.

The issue is that if you use https the logo, the side pictures and the "homead" pictures do no show which messes up the front page pretty bad in addition to the logo not showing under any pages using ssl.

Any ideas on how to fix this? Great template otherwise.

25 Jul 2014, 00:59
#178
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

thomaswhiteeagle:

I have the westminster_new version 1.2 with zen 1.5.3.

The issue is that if you use https the logo, the side pictures and the "homead" pictures do no show which messes up the front page pretty bad in addition to the logo not showing under any pages using ssl.

Any ideas on how to fix this? Great template otherwise.

This is not a problem with the template package. I would check to see that your web host has your ssl considered properly. You might also have ads blocked by your browser causing the problem.

Thanks,

Anne

30 Jul 2014, 00:36
#179
creyesx6 avatar

creyesx6

Inactive

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

Re: Westminster New

picaflor-azul:

You will need to add the new constant into the database configuration table. If you find the row for any of the other banner groups used in the template you can just duplicate it and add your changes.

Thanks,

Anne

Hi I believe I updated according to the above instructions but am obviously missing something. Here is the code for the database config. Any help would be greatly appreciated. Thank you

('', 'Fine Jewelry', 'index.php?main_page=index&cPath=1', 'banners/ad1.jpg', 'homead1', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '6'),
('', 'Great Tops!', 'index.php?main_page=index&cPath=2', 'banners/ad2.jpg', 'homead2', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '7'),
('', 'Lorem Ipsum', 'index.php?main_page=index&cPath=3', 'banners/ad3.jpg', 'homead3', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '8'),
('', 'Home Top', 'http://www.picaflor-azul.com', 'banners/home-top.png', 'hometop', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '1', '0', '9'),
('', 'Furniture4', 'index.php?main_page=index&cPath=4', 'banners/ad4.jpg', 'homead1', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '10'),
('', 'Furniture5', 'index.php?main_page=index&cPath=5', 'banners/ad5.jpg', 'homead2', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '11'),
('', 'Furniture6', 'index.php?main_page=index&cPath=6', 'banners/ad6.jpg', 'homead3', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '12');");

#$db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_group_id = 0;");
$db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key = '';");

$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION_GROUP . " (configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('" . BOX_CONFIGURATION_WESTMINSTER_NEW. "', 'Set Westminster New Template Options', '1', '1');");
$configuration_group_id = $db->Insert_ID();

$db->Execute("UPDATE " . TABLE_CONFIGURATION_GROUP . " SET sort_order = " . $configuration_group_id . " WHERE configuration_group_id = " . $configuration_group_id . ";");

$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Version', 'WESTMINSTER_NEW_VERSION', '1.1', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
('Home Page Slideshow', 'WES_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), 'zen_cfg_select_option(array('true', 'false'),', NULL),
('Banner Display Groups Custom Tab', 'SHOW_BANNERS_GROUP_SETCUSTOMTAB', 'Custom Tab', 'Custom Tab for product info page', " . $configuration_group_id . ", 2, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Top Home Ad', 'SHOW_BANNERS_GROUP_SETHOMETOP', 'hometop', 'Custom ad next to home page slide show', " . $configuration_group_id . ", 3, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 1', 'SHOW_BANNERS_GROUP_SETHOMEAD1', 'homead1', 'Custom ad 1 for home page', " . $configuration_group_id . ", 4, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 2', 'SHOW_BANNERS_GROUP_SETHOMEAD2', 'homead2', 'Custom ad 2 for home page', " . $configuration_group_id . ", 5, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 3', 'SHOW_BANNERS_GROUP_SETHOMEAD3', 'homead3', 'Custom ad 3 for home page', " . $configuration_group_id . ", 6, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 4', 'SHOW_BANNERS_GROUP_SETHOMEAD4', 'homead4', 'Custom ad 4 for home page', " . $configuration_group_id . ", 7, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 5', 'SHOW_BANNERS_GROUP_SETHOMEAD5', 'homead5', 'Custom ad 5 for home page', " . $configuration_group_id . ", 8, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 6', 'SHOW_BANNERS_GROUP_SETHOMEAD6', 'homead6', 'Custom ad 6 for home page', " . $configuration_group_id . ", 9, NOW(), NOW(), NULL, NULL),

The define_main_page.php:

<div class="view view-tenth"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD4)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>
<div class="view view-tenth ad-right"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD5)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>
<div class="view view-tenth ad-right"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD6)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>
30 Jul 2014, 13:10
#180
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:

Hi I believe I updated according to the above instructions but am obviously missing something. Here is the code for the database config. Any help would be greatly appreciated. Thank you

('', 'Fine Jewelry', 'index.php?main_page=index&cPath=1', 'banners/ad1.jpg', 'homead1', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '6'),
('', 'Great Tops!', 'index.php?main_page=index&cPath=2', 'banners/ad2.jpg', 'homead2', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '7'),
('', 'Lorem Ipsum', 'index.php?main_page=index&cPath=3', 'banners/ad3.jpg', 'homead3', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '8'),
('', 'Home Top', 'http://www.picaflor-azul.com', 'banners/home-top.png', 'hometop', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '1', '0', '9'),
('', 'Furniture4', 'index.php?main_page=index&cPath=4', 'banners/ad4.jpg', 'homead1', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '10'),
('', 'Furniture5', 'index.php?main_page=index&cPath=5', 'banners/ad5.jpg', 'homead2', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '11'),
('', 'Furniture6', 'index.php?main_page=index&cPath=6', 'banners/ad6.jpg', 'homead3', NULL, '0', NULL, NULL, '0001-01-01 00:00:00', NULL, '1', '0', '1', '12');");

#$db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_group_id = 0;");
$db->Execute("DELETE FROM " . TABLE_CONFIGURATION . " WHERE configuration_key = '';");

$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION_GROUP . " (configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('" . BOX_CONFIGURATION_WESTMINSTER_NEW. "', 'Set Westminster New Template Options', '1', '1');");
$configuration_group_id = $db->Insert_ID();

$db->Execute("UPDATE " . TABLE_CONFIGURATION_GROUP . " SET sort_order = " . $configuration_group_id . " WHERE configuration_group_id = " . $configuration_group_id . ";");

$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Version', 'WESTMINSTER_NEW_VERSION', '1.1', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
('Home Page Slideshow', 'WES_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), 'zen_cfg_select_option(array('true', 'false'),', NULL),
('Banner Display Groups Custom Tab', 'SHOW_BANNERS_GROUP_SETCUSTOMTAB', 'Custom Tab', 'Custom Tab for product info page', " . $configuration_group_id . ", 2, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Top Home Ad', 'SHOW_BANNERS_GROUP_SETHOMETOP', 'hometop', 'Custom ad next to home page slide show', " . $configuration_group_id . ", 3, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 1', 'SHOW_BANNERS_GROUP_SETHOMEAD1', 'homead1', 'Custom ad 1 for home page', " . $configuration_group_id . ", 4, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 2', 'SHOW_BANNERS_GROUP_SETHOMEAD2', 'homead2', 'Custom ad 2 for home page', " . $configuration_group_id . ", 5, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 3', 'SHOW_BANNERS_GROUP_SETHOMEAD3', 'homead3', 'Custom ad 3 for home page', " . $configuration_group_id . ", 6, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 4', 'SHOW_BANNERS_GROUP_SETHOMEAD4', 'homead4', 'Custom ad 4 for home page', " . $configuration_group_id . ", 7, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 5', 'SHOW_BANNERS_GROUP_SETHOMEAD5', 'homead5', 'Custom ad 5 for home page', " . $configuration_group_id . ", 8, NOW(), NOW(), NULL, NULL),
('Banner Display Groups Home Ad 6', 'SHOW_BANNERS_GROUP_SETHOMEAD6', 'homead6', 'Custom ad 6 for home page', " . $configuration_group_id . ", 9, NOW(), NOW(), NULL, NULL),

The define_main_page.php:

<div class="view view-tenth"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD4)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>
<div class="view view-tenth ad-right"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD5)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>
<div class="view view-tenth ad-right"> <div class="hover"> <?php if (SHOW_BANNERS_GROUP_SETHOMEAD6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD6)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>'; } }?>
                </div>

            </div>

You need to add the constants to the database, not the installer file.

Thanks,

Anne