Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,099

Results 261 to 280 of 1,865
5 Sep 2014, 10:29 PM
#261
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Westminster New

kprice2690:

I have the template installed and im not sure what happened but now i am missing the description/details/review tabs and i am unable to view multiple images...Im positive a file is missing and i dont know where to look.

Also, the add to cart button is now on the bottom...Im so confused on what happened!

Can anyone help?

walrad.com (http://www.walrad.com/index.php?main_page=product_info&cPath=8_21_33&products_id=29)

thanks!

I would recommend re uploading the includes/templates/westminster_new/templates/tpl_product_info_default.php file. I would also check your logs folder for errors since the footer is not showing on the page you posted.

Thanks,

Anne

9 Sep 2014, 9:36 AM
#262
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Westminster New

Is it possible to add content to the 'Details tab'? If so please can you tell me how.

Thank you

9 Sep 2014, 12:29 PM
#263
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

adb34:

Is it possible to add content to the 'Details tab'? If so please can you tell me how.

Thank you

This will be automatically populated by zen cart when you have the product details info set to show on the product info page such as manufacturers, stock quantity, model number, etc.

Thanks,

Anne

9 Sep 2014, 12:59 PM
#264
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

This will be automatically populated by zen cart when you have the product details info set to show on the product info page such as manufacturers, stock quantity, model number, etc.

Thanks,

Anne

I would like to add other things:

For example;

4 x Dressing Table Cards
4 x Ornate Frame Stand Cards
4 x Pretty Gatefold Stamp Cards
8 x 300gsm A4 foiled & die-cut topper sheets
8 x 350gsm accent-foiled A4 cardstock
8 x 350gsm printed A4 cardstock
4 x 150gsm double-sided designer papers
A4 instruction sheet

9 Sep 2014, 1:35 PM
#265
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

adb34:

I would like to add other things:

For example;

4 x Dressing Table Cards
4 x Ornate Frame Stand Cards
4 x Pretty Gatefold Stamp Cards
8 x 300gsm A4 foiled & die-cut topper sheets
8 x 350gsm accent-foiled A4 cardstock
8 x 350gsm printed A4 cardstock
4 x 150gsm double-sided designer papers
A4 instruction sheet

You will need to add these additional fields to the database and then call them in the product details list. If you do a search of the forum you will find a step by step about how to add additional product fields.

Unless these are attributes, are these product attributes?

Thanks,

Anne

10 Sep 2014, 3:33 PM
#266
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Westminster New

Found a plugin from Numinix, product fields. Seems to have what I am looking for but having problems with the install.

After a file merge uploaded all files to the relevant locations. install.sql scripted on install is giving back 'WARNING: An Error occurred, please refresh the page and try again.'

Going to the product screen and doing an update I am getting the same error message.

I have tried to do an uninstall of the script message coming back saying 'ERROR: Cannot DROP column products_sh_eu because it does not exist.' etc.

Log files

[10-Sep-2014 16:25:50] PHP Fatal error: 1054:Unknown column 'products_barcode' in 'field list' :: update eshop_products set products_quantity = '1000', products_type = '1', products_model = 'HD-FAM901', products_price = '2.4917', products_date_available = null, products_weight = '0', products_status = '1', products_virtual = '0', products_tax_class_id = '1', manufacturers_id = '0', products_quantity_order_min = '1', products_quantity_order_units = '1', products_priced_by_attribute = '0', product_is_free = '0', product_is_call = '0', products_quantity_mixed = '1', product_is_always_free_shipping = '0', products_qty_box_status = '1', products_quantity_order_max = '0', products_sort_order = '0', products_discount_type = '0', products_discount_type_from = '0', products_price_sorter = '2.4917', products_barcode = '', products_condition = '', products_image = 'christmas/FAMX901.jpg', products_last_modified = now(), master_categories_id = '75' where products_id = '182' in /homepages/20/d503465712/htdocs/shops/ZenCart/eshop/includes/classes/db/mysql/query_factory.php on line 120

[10-Sep-2014 16:24:02] PHP Fatal error: 1062: Duplicate entry 'SHOW_PRODUCT_INFO_CONDITION' for key 'unq_config_key_zen' :: INSERT INTO eshop_product_type_layout (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, product_type_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Show Condition', 'SHOW_PRODUCT_INFO_CONDITION', '0', 'Show product condition on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'); in /homepages/20/d503465712/htdocs/shops/ZenCart/eshop/includes/classes/db/mysql/query_factory.php on line 120

Oh the install.sql

ALTER TABLE products ADD products_condition varchar(32) NULL default NULL;

INSERT INTO product_type_layout (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, product_type_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(NULL, 'Show Condition', 'SHOW_PRODUCT_INFO_CONDITION', '0', 'Show product condition on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),');

10 Sep 2014, 4:21 PM
#267
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

adb34:

Found a plugin from Numinix, product fields. Seems to have what I am looking for but having problems with the install.

After a file merge uploaded all files to the relevant locations. install.sql scripted on install is giving back 'WARNING: An Error occurred, please refresh the page and try again.'

Going to the product screen and doing an update I am getting the same error message.

I have tried to do an uninstall of the script message coming back saying 'ERROR: Cannot DROP column products_sh_eu because it does not exist.' etc.

Log files

Oh the install.sql

This is not a template related problem. Any stable, correctly installed module will work with the template. I would recommend posting the the module support thread for help with it's installation.

Thanks,

Anne

10 Sep 2014, 4:22 PM
#268
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

This is not a template related problem. Any stable, correctly installed module will work with the template. I would recommend posting the the module support thread for help with it's installation.

Thanks,

Anne

Ok thanks for the info Anne

10 Sep 2014, 9:45 PM
#269
creyesx6 avatar

creyesx6

Inactive

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

Re: Westminster New

I am having trouble and hope someone can assist. When viewing my website on a ipad, I am seeing two slideshows, one right above the other. Any suggestions or ideas why this might be happening? I checked added jquery files but no luck there. the domain can be viewed at southwestfurnituredirect.com

Thank you!

11 Sep 2014, 12:23 AM
#270
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 am having trouble and hope someone can assist. When viewing my website on a ipad, I am seeing two slideshows, one right above the other. Any suggestions or ideas why this might be happening? I checked added jquery files but no luck there. the domain can be viewed at southwestfurnituredirect.com

Thank you!

This is a bug in the updated template package. I believe that I posted a fix for this earlier in the thread. If you can't find it, you can upload the includes/templates/override/common/tpl_header_tablet.php file from the version previous to the latest version of the template and it will fix the problem.

Thanks,

Anne

11 Sep 2014, 2:14 PM
#271
creyesx6 avatar

creyesx6

Inactive

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

Re: Westminster New

picaflor-azul:

This is a bug in the updated template package. I believe that I posted a fix for this earlier in the thread. If you can't find it, you can upload the includes/templates/override/common/tpl_header_tablet.php file from the version previous to the latest version of the template and it will fix the problem.

Thanks,

Anne

It worked! Thank you so much for your quick response and specially for this super clean user friendly template.:yes:

11 Sep 2014, 2:24 PM
#272
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:

It worked! Thank you so much for your quick response and specially for this super clean user friendly template.:yes:

No problem, I am happy that you fixed it ;)

Thanks,

Anne

18 Sep 2014, 8:27 AM
#273
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

Trying to enable the 'switch' between tablet/mobile/desktop - 'ZCA Template Switch' on this template.

The way I understand it is that this template is based on the Responsive DIY Template Default for 1.5.x v2.1 template which has the switch included in its files but was not used in Westminster New. Is the correct install method to

Run the upgrade sql which adds the ZCA Template Switch to admin/configuration.

Compare all the Responsive DIY Template Default for 1.5.x v2.1 files with the Westminster New files to identify which files and bits of the v2.1 code were not included in this template.

It wasn't as simple as running the upgrade sql and adding this code to the tpl_header.php

/**
 ******************************* BOF 2.1b **********************************
 */

if ($detect->isMobile() && !$detect->isTablet() && (empty($_SESSION['display_mode'])) or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') { ?>

<?php if (SHOW_GOTO_DESKTOP_FROM_MOBILE == 'true') { ?>
<li><a href="<?php echo zen_href_link($current_page_base, zen_get_all_get_params(array('display_mode')) . 'display_mode=isDesktop') . '">' . ZCA_DESKTOP_LINK_TEXT . '</a></li>'; ?><?php } ?>

continues.....

hence my thought to compare all the v2.1 files with this template.

I'm pretty sure this is the route to take but wanted to make sure I wasn't missing anything.

18 Sep 2014, 1:05 PM
#274
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

simon1066:

Run the upgrade sql which adds the ZCA Template Switch to admin/configuration.

Compare all the Responsive DIY Template Default for 1.5.x v2.1 files with the Westminster New files to identify which files and bits of the v2.1 code were not included in this template.

Yes, this was it turns out, the way to go. ZCA Template Switch successfully installed

24 Sep 2014, 12:22 PM
#275
nipinuk avatar

nipinuk

Zen Follower

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

Re: Westminster New

Thank you for a fabulous template Anne!

I want to customise the main menu and I would be grateful if someone would help me.
There is currently CATEGORIES, INFORMATION & CONTACT US in the main menu.
I would like the main menu to display:
CATEGORY A, CATEGORY B, CATEGORY C, CATEGORY D, INFORMATION & CONTACT US

I've been through the thread and know that I have to make changes to tpl_modules_mobile_categories_tabs.php. I'm clueless at php. I've found the section to be changed (I think I'd need to put in submenu and level2 somewhere) but don't know how to change it.

The section to change is from line 20 ```

<li class="test"><a href="<?php HTTP_SERVER . DIR_WS_CATALOG;?>" class="mshop"><?php echo HEADER_TITLE_CATEGORIES; ?></a> <?php // load the UL-generator class and produce the menu list dynamically from there require_once (DIR_WS_CLASSES . 'categories_ul_generator.php'); $zen_CategoriesUL = new zen_categories_ul_generator; $menulist = $zen_CategoriesUL->buildTree(true); $menulist = str_replace('"level4"','"level5"',$menulist); $menulist = str_replace('"level3"','"level4"',$menulist); $menulist = str_replace('"level2"','"level3"',$menulist); $menulist = str_replace('"level1"','"level2"',$menulist); $menulist = str_replace('<li>','<li>',$menulist); $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist); echo $menulist; ?> </li> ```

Thank you very much in advance!

24 Sep 2014, 1:05 PM
#276
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:

Thank you for a fabulous template Anne!

I want to customise the main menu and I would be grateful if someone would help me.
There is currently CATEGORIES, INFORMATION & CONTACT US in the main menu.
I would like the main menu to display:
CATEGORY A, CATEGORY B, CATEGORY C, CATEGORY D, INFORMATION & CONTACT US

I've been through the thread and know that I have to make changes to tpl_modules_mobile_categories_tabs.php. I'm clueless at php. I've found the section to be changed (I think I'd need to put in submenu and level2 somewhere) but don't know how to change it.

The section to change is from line 20 ```

<li class="test"><a href="<?php HTTP_SERVER . DIR_WS_CATALOG;?>" class="mshop"><?php echo HEADER_TITLE_CATEGORIES; ?></a> <?php // load the UL-generator class and produce the menu list dynamically from there require_once (DIR_WS_CLASSES . 'categories_ul_generator.php'); $zen_CategoriesUL = new zen_categories_ul_generator; $menulist = $zen_CategoriesUL->buildTree(true); $menulist = str_replace('"level4"','"level5"',$menulist); $menulist = str_replace('"level3"','"level4"',$menulist); $menulist = str_replace('"level2"','"level3"',$menulist); $menulist = str_replace('"level1"','"level2"',$menulist); $menulist = str_replace('<li>','<li>',$menulist); $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist); echo $menulist; ?> </li> ``` > > Thank you very much in advance!

This will take some custom programming. If you look at an older menu module by getemfast, I think that it is horizontal css drop down menu, he provides an alternate categories_ul_generator.php file that shows the top categories. You could use it as a guide.

Thanks,

Anne

24 Sep 2014, 2:52 PM
#277
nipinuk avatar

nipinuk

Zen Follower

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

Re: Westminster New

picaflor-azul:

This will take some custom programming. If you look at an older menu module by getemfast, I think that it is horizontal css drop down menu, he provides an alternate categories_ul_generator.php file that shows the top categories. You could use it as a guide.

Thanks,

Anne

Anne, Thank you so much for pointing me in the right direction Anne. I can't believe it but I've actually done it (grinning like a Cheshire cat)!

Here's what I did:

  1. Download CSS Horizontal Dropdown Menu With jquery module by getemfast.
  2. You will need to compare the following files
    a. CSS Horizontal Dropdown Menu With jquery/includes/classes/categories_ul_generator.php.txt and /includes/classes/categories_ul_generator.php. Copy the relevant section from getemfast's module to /includes/classes/categories_ul_generator.php.
    b. CSS Horizontal Dropdown Menu With jquery/includes/templates/CUSTOM/common/alternative_tpl_drop_menu.php and includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php.

I've got to run and be mom now. Thank you again Anne. Really appreciate it!

24 Sep 2014, 3:06 PM
#278
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:

Anne, Thank you so much for pointing me in the right direction Anne. I can't believe it but I've actually done it (grinning like a Cheshire cat)!

Here's what I did:

  1. Download CSS Horizontal Dropdown Menu With jquery module by getemfast.
  2. You will need to compare the following files
    a. CSS Horizontal Dropdown Menu With jquery/includes/classes/categories_ul_generator.php.txt and /includes/classes/categories_ul_generator.php. Copy the relevant section from getemfast's module to /includes/classes/categories_ul_generator.php.
    b. CSS Horizontal Dropdown Menu With jquery/includes/templates/CUSTOM/common/alternative_tpl_drop_menu.php and includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php.

I've got to run and be mom now. Thank you again Anne. Really appreciate it!

I am happy that you figured it out and posted your solution ;)

Thanks,

Anne

27 Sep 2014, 1:38 AM
#279
reciecup avatar

reciecup

New Zenner

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

Re: Westminster New

Can someone tell me how to change the color of the blue buttons and the blue social networking icons?

27 Sep 2014, 5:06 AM
#280
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Westminster New

for the header nav

/stylesheet.css

/* Line 78 */
#navMain i
{
margin-right: 10px;
color: #8db9fb;
font-size: 120%;
vertical-align: middle;
}

/* Line 79 */
#navMain i:hover
{
color: #ffffff;
}

for the footer social icons
/stylesheet.css

/* Line 392 */
.ffCcol4 i
{
font-size: 200%;
border-top-width: 1px;
border-right-width-value: 1px;
border-bottom-width: 1px;
border-left-width-value: 1px;
border-top-style: solid;
border-right-style-value: solid;
border-bottom-style: solid;
border-left-style-value: solid;
border-top-color: #8db9fb;
border-right-color-value: #8db9fb;
border-bottom-color: #8db9fb;
border-left-color-value: #8db9fb;
border-image-source: none;
border-image-slice: 100% 100% 100% 100%;
border-image-width: 1 1 1 1;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
background-color: #8db9fc;
background-image: none;
background-repeat: repeat;
background-attachment: scroll;
background-position: 0% 0%;
background-clip: border-box;
background-origin: padding-box;
background-size: auto auto;
color: #ffffff;
transition-property: background;
transition-duration: 2s;
transition-timing-function: ease;
transition-delay: 0s;
min-width: 30px;
}

/* Line 393 */
.ffCcol4 i:hover
{
background-color: #171717;
background-image: none;
background-repeat: repeat;
background-attachment: scroll;
background-position: 0% 0%;
background-clip: border-box;
background-origin: padding-box;
background-size: auto auto;
color: #ffffff;
}

Hope that helps!

reciecup:

Can someone tell me how to change the color of the blue buttons and the blue social networking icons?