Zen Follower
- Join Date:
- Mar 2007
- Location:
- Oregon
- Posts:
- 152
- Plugin Contributions:
- 0
Winchester Black Responsive Template
How do you change the size of the Search Box Header (input.search-header-box)?
Views: 193,920
Zen Follower
How do you change the size of the Search Box Header (input.search-header-box)?
Zen Follower
masterrusty:
How do you change the size of the Search Box Header (input.search-header-box)?
I Tried changing .search-header-box in the css. It didn't do anything.
New Zenner
Clearly I have done something wrong in setting up Winchester Black. I originally had everything listed on the responsive template that come with Zen Cart and the products displayed just fine. Come across Winchester Black and it's exactly what I was looking for so followed the instructions to upload it to the website. The first page is fine but if I click on Categories the products show up but if you try to follow the link, such as Essentials, the page goes dark. Animal Impressions is still in development so nothing is in that category as yet. Could really use some help please. Web site is: https://zyancanada.ca and I'm using a Canadian company called Hostpapa for my hosting. Thank you in advance
Totally Zenned
ZyanEnt:
Clearly I have done something wrong in setting up Winchester Black. The first page is fine but if I click on Categories the products show up but if you try to follow the link, such as Essentials, the page goes dark.It actually gives an error message. Check out https://www.zen-cart.com/showthread.php?219823-WARNING-An-Error-occurred-please-refresh-the-page-and-try-again and some of the similar threads at the bottom of that post.
New Zenner
dbltoe:
It actually gives an error message. Check out https://www.zen-cart.com/showthread.php?219823-WARNING-An-Error-occurred-please-refresh-the-page-and-try-again and some of the similar threads at the bottom of that post.
I have contacted my host and they are looking into it. Thank you for the suggestion and the prompt reply!!!
New Zenner
Has anyone else found that with the latest build of Chrome (64), the product images vanish on the product pages? (Winchester Black Template running on 1.5.4)
New Zenner
Patience:
Anne,
On the discount coupon page where customers can look up the status of a code, it says "BUTTON_LOOKUP_ALT" where I'm guessing it should say "Submit" or "Lookup".
I used the Developer's Toolkit and found this in a file called tpl_discount_coupon_default but I have no clue as to what and where I should edit, so that the proper wording shows up.
Please help if you can! Thanks :D
Hi there,
I wonder if you could let me know what ypu did to fix this...if indeed you did fix it :)
I have the exact same problem and have looked through the template files carefully but see no omissions. And, in any case, which file could I leave out which would affect only one CSS Button? If anyone could give me a clue as to where to look for this error I would appreciate it.
Zen Follower
You should go into your admin->tools->Developers Tool Kit.
There you should type "BUTTON_LOOKUP_ALT" in the place that includes PHP files search
and hit the Search button...
Now you should be surprised to see it defined @/includes/languages/english/button_names.php file
or other language directory you have...
New Zenner
Hi,
Thanks for your reply.
I've already searched everywhere in the Dev toolkit and, have indeed found the buttons file but, there would appear to be nothing wrong in that file, i.e. the button lookup is defined as it should be as far as I can tell! I'm currently looking in /includes/templates/template_default/templates/tpl_discount_coupon_default.php but still, as I am not proficient in PHP code, cannot tell if anything is wrong
Perhaps you can see something wrong?
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Fri Jan 8 01:41:14 2016 -0500 Modified in v1.5.5 $
*/
/**
* define the button images used in the project
*/
define('BUTTON_IMAGE_ADD_TO_CART', 'button_add_to_cart.gif');
define('BUTTON_IMAGE_ADD_ADDRESS', 'button_add_address.gif');
define('BUTTON_IMAGE_ADD_PRODUCTS_TO_CART','button_add_selected.gif');
define('BUTTON_IMAGE_BACK', 'button_back.gif');
define('BUTTON_IMAGE_BUY_NOW', 'button_buy_now.gif');
define('BUTTON_IMAGE_CANCEL', 'button_cancel.gif');
define('BUTTON_IMAGE_CHANGE_ADDRESS', 'button_change_address.gif');
define('BUTTON_IMAGE_CHECKOUT', 'button_checkout.gif');
define('BUTTON_IMAGE_CONFIRM_SEND', 'button_confirm_send.gif');
define('BUTTON_IMAGE_CONFIRM_ORDER', 'button_confirm_order.gif');
define('BUTTON_IMAGE_CONTINUE', 'button_continue.gif');
define('BUTTON_IMAGE_CONTINUE_SHOPPING', 'button_continue_shopping.gif');
define('BUTTON_IMAGE_DELETE', 'button_delete.gif');
define('BUTTON_IMAGE_DELETE_SMALL', 'button_delete_small.gif');
define('BUTTON_IMAGE_DOWNLOAD', 'button_download.gif');
define('BUTTON_IMAGE_EDIT_SMALL', 'small_edit.gif');
define('BUTTON_IMAGE_IN_CART', 'button_in_cart.gif');
define('BUTTON_IMAGE_LOGIN', 'button_login.gif');
define('BUTTON_IMAGE_NEXT', 'button_next.gif');
define('BUTTON_IMAGE_PREVIOUS', 'button_prev.gif');
define('BUTTON_IMAGE_REDEEM', 'button_redeem.gif');
define('BUTTON_IMAGE_RETURN_TO_PROD_LIST', 'button_return_to_product_list.gif');
define('BUTTON_IMAGE_REVIEWS', 'button_reviews.gif');
define('BUTTON_IMAGE_SEARCH', 'button_search.gif');
define('BUTTON_IMAGE_SEND', 'button_send.gif');
define('BUTTON_IMAGE_SEND_A_GIFT_CERT', 'button_send_a_gift_cert.gif');
define('BUTTON_IMAGE_SEND_ANOTHER', 'button_send_another.gif');
define('BUTTON_IMAGE_SHIPPING_ESTIMATOR', 'button_shipping_estimator.gif');
define('BUTTON_IMAGE_SOLD_OUT','button_sold_out.gif');
define('BUTTON_IMAGE_SOLD_OUT_SMALL','button_sold_out_sm.gif');
define('BUTTON_IMAGE_SUBMIT', 'button_submit.gif');
define('BUTTON_IMAGE_UNSUBSCRIBE', 'button_unsubscribe.gif');
define('BUTTON_IMAGE_UPDATE', 'button_update.gif');
define('BUTTON_IMAGE_VIEW_SMALL', 'button_view.gif');
define('BUTTON_IMAGE_WRITE_REVIEW', 'button_write_review.gif');
define('BUTTON_IMAGE_READ_REVIEWS', 'button_read_reviews.gif');
define('BUTTON_IMAGE_GOTO_PROD_DETAILS', 'button_goto_prod_details.gif');
define('BUTTON_IMAGE_MORE_REVIEWS', 'button_more_reviews.gif');
define('BUTTON_IMAGE_CONTINUE_CHECKOUT', 'button_continue_checkout.gif');
//define('PREVNEXT_BUTTON_NEXT', '[Next >>]');
//define('PREVNEXT_BUTTON_LAST', 'LAST>>');
define('BUTTON_IMAGE_CREATE_ACCOUNT', 'button_create_account.gif');
define('BUTTON_IMAGE_LOG_OFF', 'button_logoff.gif');
/*
* ALT text is used as Button Text, or for the ALT tag on image-buttons
*/
define('BUTTON_CREATE_ACCOUNT_ALT', 'Sign Up');
define('BUTTON_LOG_OFF_ALT', 'Log Off');
define('BUTTON_ADD_TO_CART_ALT', 'Add This to My Cart');
define('BUTTON_ADD_ADDRESS_ALT', 'Add Address');
define('BUTTON_ADD_PRODUCTS_TO_CART_ALT','Add Selected to Cart');
define('BUTTON_BACK_ALT', 'Back');
define('BUTTON_BUY_NOW_ALT', 'Buy Now');
define('BUTTON_CANCEL_ALT', 'Cancel');
define('BUTTON_CHANGE_ADDRESS_ALT', 'Change Address');
define('BUTTON_CHECKOUT_ALT', 'Checkout');
define('BUTTON_CONFIRM_SEND_ALT', 'Send Gift Certificate');
define('BUTTON_CONFIRM_ORDER_ALT', 'Confirm Order');
define('BUTTON_CONTINUE_ALT', 'Continue');
define('BUTTON_CONTINUE_SHOPPING_ALT', 'Continue Shopping');
define('BUTTON_DELETE_ALT', 'Delete');
define('BUTTON_DELETE_SMALL_ALT', 'Delete');
define('BUTTON_DOWNLOAD_ALT', 'Download Now');
define('BUTTON_EDIT_SMALL_ALT', 'Edit');
define('BUTTON_IN_CART_ALT', 'Add to Cart');
define('BUTTON_LOGIN_ALT', 'Sign In');
define('BUTTON_LOOKUP_ALT', 'Lookup');
define('BUTTON_NEXT_ALT', 'Next');
define('BUTTON_PREVIOUS_ALT', 'Previous');
define('BUTTON_REDEEM_ALT', 'Redeem');
define('BUTTON_RETURN_TO_PROD_LIST_ALT', 'Return to the Product List');
define('BUTTON_REVIEWS_ALT', 'Go to the Reviews Page');
define('BUTTON_SEARCH_ALT', 'Search');
define('BUTTON_SEND_ALT', 'Send Now');
define('BUTTON_SEND_ANOTHER_ALT', 'Send Another Gift Certificate');
define('BUTTON_SEND_A_GIFT_CERT_ALT', 'Send A Gift Certificate');
define('BUTTON_SHIPPING_ESTIMATOR_ALT', 'Shipping Estimator');
define('BUTTON_SOLD_OUT_ALT', 'Sold Out');
define('BUTTON_SOLD_OUT_SMALL_ALT', 'Sold Out');
define('BUTTON_SUBMIT_ALT', 'Submit the Information');
define('BUTTON_UNSUBSCRIBE', 'Unsubscribe');
define('BUTTON_UPDATE_ALT', 'Update');
define('BUTTON_VIEW_SMALL_ALT', 'View');
define('BUTTON_WRITE_REVIEW_ALT', 'Write Review');
define('BUTTON_READ_REVIEWS_ALT', 'Read the Review');
define('BUTTON_GOTO_PROD_DETAILS_ALT', 'Go To This Product\'s Details');
define('BUTTON_MORE_REVIEWS_ALT', 'Read More Reviews');
define('BUTTON_VIEW_ALL_ALT', 'View All');
New Zenner
Hi again all,
Just as an aside, I see that Anne has already answered this query to the original poster and said that it was nothing to do with the Template. However, if one visits the "Demo" posted on this very thread then we see the following:
http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=discount_coupon
Therefore, I suspect this to be a programming error with the template. Should I place this in the Bugs section?
James
Zen Follower
What I replied before was for ZC1.5.5
In ZC1.5.4 there is no define for BUTTON_LOOKUP_ALT @ button_names.php
So... for ZC1.54 /includes/languages/your-language/button_names.php
arround line #93 : define('BUTTON_SEND_ALT', 'here is the text that you needed');
New Zenner
gunni:
What I replied before was for ZC1.5.5
In ZC1.5.4 there is no define for BUTTON_LOOKUP_ALT @ button_names.phpSo... for ZC1.54 /includes/languages/your-language/button_names.php
arround line #93 : define('BUTTON_SEND_ALT', 'here is the text that you needed');
Hi Gunni,
Ahh well that's even more confusing as I am usinh ZC1.5.5e!
The plot thickens :)
James
Zen Follower
:lookaroun
So...
go to /includes/languages/english/button_names.php file
and find there around the line 89
define('BUTTON_LOOKUP_ALT', 'your text');
New Zenner
gunni:
:lookaroun
So...
go to /includes/languages/english/button_names.php file
and find there around the line 89
define('BUTTON_LOOKUP_ALT', 'your text');
You appear to be getting frustrated with me as if perhaps I am not able to comprehend what you are trying to say buuut I have aleady posted a ciopy of the buttons file a couple of posts back and, if you look at it, the "text" for the lookup button is correct as far as I can tell. What is not correct is the fact that the Template seems adamant it will display the code in place of the Alt text as it should? My button should, like all the rest, have its text diplayed and so should, based on the file you have cited, say "Lookup" however, as you can see by my screen shot and my link to Anne's demo web page, it does not, it says "BUTTON_LOOKUP_ALT"
If you have any suggestions as to what you personally would do about this then I wouldbe delighted to hear them but, for now, I suspect that this is a bug since It is showing on my page and the demo page?
Its a small issue but, never the less important.
Can you help me? Please bear in mind that I am not a programmer or code writer but am pretty ok at using a computer and minor league web/networking stuff but this is a step beyond what I am used to and I am finding things quite difficult to figure out. Even forum searches are an apparent mystery to me :) I have not managed to find anything easily as yet. I guess you have to know the exact string that was used in the original posts to be sucessful here.
Finally, I DO appreciate your input it's just that I feel we are on different pages of the same text at the moment :)
James
New Zenner
Hi again everyone.
New problem which I have exhausted my search capabilities on the forum and have come up with only a reference to a Module called TPP or Tabbed Products Pro however, as far as I can see I have neither TPP or TPP lite installed though I do have tabs below my products.
One is entitled "Description" and correctly contains the Product description entered when adding products. The next is entitled "Details" and contains....absolutely nothing at all! The third is "Reviews" and, well I am sure it will contaoin reviews if one is submitted?
The issue is with the middle tab "Details" It MUST be possible to add something in to that tab but, try as I might, I cannot find out how or where to do this.
So, could someone who knows let me know either how to edit or remove this tab or link me to a Tutorial on the subject. I can't find anything except being let to the Module previously mentioned about and I don't have that installed.
I am using the base Winchester Black Responsive template.
Screenshot here:
Many thanks for any help you can offer, and, once again I apologise for my inability to sort these little issues alone :)
Zen Follower
jpirie:
You appear to be getting frustrated with me as if perhaps I am not able to comprehend what you are trying to say buuut I have aleady posted a ciopy of the buttons file a couple of posts back and, if you look at it, the "text" for the lookup button is correct as far as I can tell. What is not correct is the fact that the Template seems adamant it will display the code in place of the Alt text as it should? My button should, like all the rest, have its text diplayed and so should, based on the file you have cited, say "Lookup" however, as you can see by my screen shot and my link to Anne's demo web page, it does not, it says "BUTTON_LOOKUP_ALT"
If you have any suggestions as to what you personally would do about this then I wouldbe delighted to hear them but, for now, I suspect that this is a bug since It is showing on my page and the demo page?
Its a small issue but, never the less important.
Can you help me? Please bear in mind that I am not a programmer or code writer but am pretty ok at using a computer and minor league web/networking stuff but this is a step beyond what I am used to and I am finding things quite difficult to figure out. Even forum searches are an apparent mystery to me :) I have not managed to find anything easily as yet. I guess you have to know the exact string that was used in the original posts to be sucessful here.Finally, I DO appreciate your input it's just that I feel we are on different pages of the same text at the moment :)
James
Hi James
First of all, I am not frustrated with you at all. Just want to help you and others in this forum. Here is a happy face: :smile:
Now, at post #447 you attached a picture and there I see "BUTTON_LOOKUP_ALT" and this is not OK.
The text on such a button should usually appears as "Send" or something like that.
The "Alt" word that you see is not an Alt tag. It is a text of the button as far as I understand.
The fix to show "Send" or "Lookup" on this button for version 1.5.5e is as I wrote on post #453.
If this problem exists also in the demo site then it is a bug but not all of us are perfect :no:
and this is the forum for such things...
If something was not clear in my explanation, please let me know and I will be happy to explain to
you and for other Zenners.
New Zenner
jpirie:
Hi again everyone.
New problem which I have exhausted my search capabilities on the forum and have come up with only a reference to a Module called TPP or Tabbed Products Pro however, as far as I can see I have neither TPP or TPP lite installed though I do have tabs below my products.
One is entitled "Description" and correctly contains the Product description entered when adding products. The next is entitled "Details" and contains....absolutely nothing at all! The third is "Reviews" and, well I am sure it will contaoin reviews if one is submitted?
The issue is with the middle tab "Details" It MUST be possible to add something in to that tab but, try as I might, I cannot find out how or where to do this.
So, could someone who knows let me know either how to edit or remove this tab or link me to a Tutorial on the subject. I can't find anything except being let to the Module previously mentioned about and I don't have that installed.
I am using the base Winchester Black Responsive template.
Screenshot here:Many thanks for any help you can offer, and, once again I apologise for my inability to sort these little issues alone :)
The details tab normally seems to show the products weight, if you have not enabled it, then it would not show
Wayne
Zen Follower
The details tab also contains Model number.
In order to remove a tab try these instructions [which are originly made in responsive sheffield blue 2 template but should has the same idea]:
Edit the file tpl_product_info_display.php which is should be located here:
/includes/templates/your template/templates/
Then around line #183 find this code:
<li><a href="#section-1" class="icon-description"><span><?php echo HEADER_TITLE_DESCRIPTION; ?></span></a></li>
<li><a href="#section-2" class="icon-details"><span><?php echo HEADER_TITLE_DETAILS; ?></span></a></li> -->
<li><a href="#section-3" class="icon-reviews"><span><?php echo HEADER_TITLE_REVIEWS; ?></span></a></li> -->
and cancel the line you do not want.
For example if you do not want "Details" tab:
<!-- <li><a href="#section-2" class="icon-details"><span><?php echo HEADER_TITLE_DETAILS; ?></span></a></li> -->
Totally Zenned
gunni:
The details tab also contains Model number.
In order to remove a tab try these instructions [which are originly made in responsive sheffield blue 2 template but should has the same idea]:Edit the file tpl_product_info_display.php which is should be located here:
/includes/templates/your template/templates/
Then around line #183 find this code:
<li><a href="#section-1" class="icon-description"><span><?php echo HEADER_TITLE_DESCRIPTION; ?></span></a></li>
<li><a href="#section-2" class="icon-details"><span><?php echo HEADER_TITLE_DETAILS; ?></span></a></li> -->
<li><a href="#section-3" class="icon-reviews"><span><?php echo HEADER_TITLE_REVIEWS; ?></span></a></li> -->
>
> and cancel the line you do not want.
> For example if you do not want "Details" tab:
> ```
<!-- <li><a href="#section-2" class="icon-details"><span><?php echo HEADER_TITLE_DETAILS; ?></span></a></li> -->
I did a variation of this as I wanted the product quantity to show, but not on second tab. So I cut:
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
<?php } ?>
``` from the details tab and pasted it into the Description tab. I commented out 'model number' in the details tab same as you mention, which then left that tab empty, so it didn't show up.
Just as an aside...
When I started using Dynamic Filters, which filters by 'display only' attributes that I defined, I cut the code from<!--bof Attributes Module --> to <!--eof Attributes Module --> higher up in the same file and pasted it into the Details tab. So that tab now shows again for me and just offers a bullet list of the attributes (size, colour etc) of the particular product.
I'm using Responsive Sheffield Blue 2.0 zc v1.5.5e right now, but I did this previously in Winchester Black Responsive with zc v1.5.4
New Zenner
Is it possible to make Winchester Black look like this? https://www.shirtworksracewear.com/dirt-asphalt/
If so I could use some helping getting it there.
Fields marked required must be completed.
Tell staff why this post should be reviewed.