open includes/templates/template_default/common/tpl_footer/php
make whatever edits you need.
Save the edited file to includes/templates/desert_noon/common/tpl_footer.php
Printable View
That's what I needed to know. Thanks.
Clyde, Great template! I;m new to this so bear with me. I have a very stupid but basic question. When you speak about editing the stylesheet, which one should I edit? I have searched the stylesheets I thought would be the right ones but cannot seem to find the secound part of the edit.
and un-comment the following declaration:
/* #navCatTabsWrapper {
margin: 0 auto;
background: url(../images/navbar.gif) repeat-x;
font-weight: bold;
color: #ffffff;
}*/
Thanks,
Ed
Awesome template, Clyde. Nice layout and I just love it. I just started to edit the stylesheet and I could change header, sidebox headers, bottom navigation and so on but I cannot find the code for "link" text of left/right sidebox contents (documents, special links, other information, etc).
Also, I could change the text color for Categories contents but I am not sure which code to remove background image of Categories sidebox - both background for the box and background for the hover...
I want the background to be black and text/link to #99000, hover to #FF9900 for all my sidebox contents... And, if I could add, I want to change the link color of Center Column as well :blush:
Sorry for the basic question but I spend searching this all day yesterday and no luck (I am sure I am looking at the code for thousand times but I am not catching it). I tried changing some of #854401 but it didn't change the main page... I would appreciate if you (or anyone) could direct me to the code location.
Thanks!:smile:
change the following in the stylesheet.css
a img {border: none; }
a:link, #navEZPagesTOC ul li a {
color: #854401;
text-decoration: none;
font-weight: bold;
}
a:visited {
color: #854401;
text-decoration: none;
font-weight: bold;
}
a:hover, #navEZPagesTOC ul li a:hover {
color: #854401;
background: #E7D9BC;
font-weight: bold;
}
a:active {
color: #854401;
font-weight: bold;
}
additional changes can be made in stylesheet_betterCategoriesEzInfo.css
Thank you for the super-fast reply, Clyde. I could change all the sideboxes link colors and remove background colors and borders in between the Categories list! :smile:
Just one more thing... I am still looking for the code for "arrow"/"dash" graphic right next to the Categories list in the Categories sidebox (I want to remove those) and also the way to disable the product numbers on the right hand side for the each Categories (maybe no luck finding it because my keyword(s) for the search is not right words...:huh:)
Sorry to bother you with basic thing again but would be great if you could let me know how. Thanks!
Wait, I found the way to disable the number in Configuration page. :blush:
I just need the code location for the arrow/dash graphics. Thanks!:smile:
Sorry Clyde, I am a newbie just learned little bit of CSS and still totally lost on PHP files...
I was hoping code was located in the stylesheet and I could just remove them. :blush:
I am not sure how to remove the images (just type "//" on line 129:huh:???) in this PHP file. Also do I need to remove the indentation as well??
Thanks for your help!
Just create a 1 x1 transparent gif image
Save that image 4 times to includes/templates/desert_noon/images
as
bc_cat_boxes.gif
bc_cat_no_sub.gif
bc_cat_pointer_down.gif
bc_cat_pointer_right.gif
in other words you will be replacing the four images with a transparent image.
Thanks for the reply! I am so glad that I changed to ZenCart because support is so great :smile:
The problem seems to be the lines
[FONT="Fixedsys"]<?php //if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>
<meta name="robots" content="noindex, nofollow" />
<?php //} ?>[/FONT]
The php if statement has been commented out which means that all pages will be marked noindex nofollow.
I have removed the double slashes giving me:
[FONT="Fixedsys"]<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>[/FONT]
This seems to work but I am wondering why the slashes were int here to begin with.
May I add that this is an otherwise fine template that we have used to good effect here: http://sweetsmart.co.nz/
How do I move and insert new tabs at the top of the page? Here's my preferred order for the top tabs: (Home-Contact Us-Links (on the left side) followed by Log In/Out-My Account-Checkout-View Cart (on the right side). As an alternative, the tabs can all be listed sequentially across with no right or left side designation.
open includes/templates/desert_noon/common/tpl_header.php
find the following section of code:
and replace it with the following:PHP Code:
<ul class="back">
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
</ul>
<ul class="forward">
<li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : ' class="contact">');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
<li<?php echo (($current_page_base == 'account') ? ' class="current">' : ' class="account">');?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_MY_ACCOUNT . '</span>'; ?></a></li>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li<?php echo ((in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_success'))) ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CHECKOUT . '</span>'; ?></a></li>
<?php }?>
<li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
PHP Code:
<ul class="back">
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : ' class="contact">');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
<li<?php echo (($current_page_base == 'links') ? ' class="current">' : '>');?><?php echo '<a href="' . zen_href_link(FILENAME_LINKS, '', 'NONSSL') . '">'; ?><?php echo '<span>View All Links</span>'; ?></a></li>
</ul>
<ul class="forward">
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
<li<?php echo (($current_page_base == 'account') ? ' class="current">' : ' class="account">');?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_MY_ACCOUNT . '</span>'; ?></a></li>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li<?php echo ((in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_success'))) ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CHECKOUT . '</span>'; ?></a></li>
<?php }?>
<li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
An upgraded version of Desert Noon Template compatible with ZC v1.3.9 should be available in the downloads section shortly.
Hey Clyde! I am using your lovely template for a customer, but we're finding that the stylesheet must be removing the bullets and altering the size of the font for text on the front page and product descriptions. Can you tell me what to alter to fix this? Thanks!
Sorry, I do try to be useful sometimes :D www.loves2nurse.com
front page:under When should you contact a Certified Lactation Consultant?
the list should be bulleted.
Looks fine in the html editor, but doesn't display properly in the browser. The text looks a bit larger too.
Thanks!
A couple of things I notice (after checking the page source)
first: the bullet list:
I'd get rid of ALL those inline styles and just add something like the following to the stylesheet.css or create an index_home.css with the following declarationsCode:<br>
<br>
<div style="text-align: center;"
font-family="" script="" mt="" bold=""
class=""><big><big><big><big><span
style="font-family: Script MT Bold;">Loves
2 Nurse, PLLC
</span></big></big><br>
<br>
Offers lactation services by providing visits by a board certified
lactation consultant to your home or my office, which includes the
following: Baby weight check, history, assessment, breastfeeding
consultation, lactation interventions as needed, breast pumps are
available for rent or sale as are breastfeeding accessories.</big><br>
<br>
<big><span
style="font-weight: bold;">When
should you contact a Certified Lactation Consultant?</span><br>
</big></big></div>
<ul>
<li><big><big>To
learn more about
breastfeeding</big></big></li>
<li><big><big>If
breastfeeding is painful</big></big></li>
<li><big><big>Latching
or sucking
difficulties</big></big></li>
<li><big><big>Sore
nipples after one week
of nursing</big></big></li>
<li><big><big>Breast
surgeries:
augmentations or reductions</big></big></li>
<li><big><big>Breast
infections including
yeast or mastitis or plugged ducts</big></big></li>
<li><big><big>Premature
baby</big></big></li>
<li><big><big>Twins
or multiple babies</big></big></li>
<li><big><big>Sleepy
and difficult to feed
baby</big></big></li>
<li><big><big>Previous
history of
breastfeeding difficulties</big></big></li>
<li><big><big>Baby
that requires supplementation of breast milk or formula for weight loss
or jaundice, consider renting a hospital grade pump</big></big></li>
</ul>
<div style="text-align: center;"><big>
</big>
<h1 style="font-family: Script MT Bold;"><big>Please
call Michelle Janyska</big></h1>
<big><big><big>(919)
830-4188<br>
<br>
</big>Top Breastfeeding News:</big></big><big><big><big></big></big></big></div>
<big><br>
</big>
#consultant ul {
display:block;
list-style-type: disc;
}
You can then have something like this:
second: is a problem with the scrolling section of the main page.Code:<div id="consultant">
<ul>
<li>To learn more about breastfeeding</li>
<li>If breastfeeding is painful</li>
<li>Latching or sucking difficulties</li>
<li>Sore nipples after one week of nursing</li>
<li>Breast surgeries: augmentations or reductions</li>
<li>Breast infections including yeast or mastitis or plugged ducts</li>
<li>Premature baby</li>
<li>Twins or multiple babies</li>
<li>Sleepy and difficult to feed baby</li>
<li>Previous history of breastfeeding difficulties</li>
<li>Baby that requires supplementation of breast milk or formula for weight loss or jaundice, consider renting a hospital grade pump</li>
</ul>
</div>
You've got duplicate <html><head></head><body></body></html>
See below:
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
/*Example CSS for the two demo scrollers*/
#pscroller1{
width: 650px;
height: 1.2em;
border: 1px dashed black;
padding: 5px;
background-color: lightyellow;
}
#pscroller2{
width: 650px;
height: 200px;
border: 1px solid black;
padding: 5px;
background-color: #F0F0F0;
}
.rssclass .rsstitle{
font-weight: bold;
}
.rssclass .rssdate{
color: gray;
font-size: 85%;
}
.rssclass a{
text-decoration: none;
}
</style>
<script type="text/javascript" src="rsspausescroller.js">
</script>
</head>
<body>
<script type="text/javascript">
//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
// By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.
new rsspausescroller("dynamicdrive", "pscroller2", "rssclass", 3000, "", "date+description")
</script>
</body>
</html>
Clyde
I redid my website http://www.hornsales.com a few months back. And I decided to use desert noon ver 1.0 as my template. At the same time I installed the SEO URL add on. I changed my directory structure etc. It was a massive overall. Needless to say that meant all the links I had in search engines didn't go to the right place anymore. I didn't just update an old install I did a fresh install of zen cart ver 1.3.9.
But I noticed that even after months of submitting sitemaps and making sure robots.txt was correct. Search engines were not showing any links what so ever to my website. For some reason I decided to do View Source on one of my product pages and was astonished to see a
meta tag Robots NOINDEX NOFOLLOW.
Which meant even though the search engines were visiting my site that page was not being indexed. SO I checked a few more products and the same thing was on every page.
SO it had to be global. After checking several files I found the culprit
/includes/templates/desertnoon/common/html_header.php
That line was in there. As soon as I deleted it. Poof all my pages no longer had the meta tag for robots on it. So I checked my original files and the line is in my orginal files for ver 1 of desert noon. And I downloaded the newest version and the line is slightly different in the new version, but appears it will do the same thing.
Is this intentional on your part or is it possible something is wrong with my install that is misinterpreting that command line. Because it seems to me that the command line you have in that file is to only tell the robots not to index certain pages like order total etc.
This is the default for ZC and will not index any page in this list:PHP Code:
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
Code:define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');
Hello Clyde,
Very new to Zen Cart and I get more and more confused every day. I read the forums and Wiki like a maniac and have managed to set up the basics of a bilingual store (greek and english). I was playing with the settings of the Classic Contemporary Green template and it seemed to work in both languages after a lot of trial and errors.
Today I downloaded the Desert Noon template, the only one I liked from the free offered templates. I installed the 1.3.9 version as per instructions in the readme file and immediately found out that:
1) It didn't work when I switched to greek; there was only a blank page. See note 5 below on what I did to overcome this.
2) Although I reset from admin > tools > layout boxes controller, there were some side boxes that I had previously selected not to appear.
3) In the english language, the New Products sidebox shows 3 products when only 2 test products have been entered so far. One of them shows twice (in unreadable greek and english) and the second shows in unreadable greek. When the title link of the box is clicked, the sidebox remains the same but the page to its right shows the two items correctly in english.
4) Something similar happens when the language is switched to greek. The two products are shown correctly in greek within the main page, but the sidebox displays 3 products, one of them been listed in both greek and english.
5) To display the greek pages, I created an /includes/languages/greek/desert_noon folder and copied there all the files of the corresponding /includes/languages/greek/classic folder. I know that this is unorthodox but couldn't think of anything better. I must say that managing languages and templates is a nightmare with all those folders named "include", "languages" etc. I have spent hours in the forums but couldn't find some easy to understand tutorials or answers to posts by other members.
6) As a result of my action in 5, the greek home page has the standard contents of the Classic template. This is not a big issue as I will change it anyway but I wonder if I have done something very wrong which will show later.
My Zen Cart version is 1.3.9d and my URL: http://athenscollectibles.info which you may want to visit and have a better idea of what I described above. I really like the template and would be very disappointed if I had to uninstall it. On the other hand, I wouldn't want to spend endless hours customising it, only to find out that there's something fundamentally wrong which will make it unusable later.
Any idea, help, comment or suggestion will be much appreciated. I won't see it for a few hours as I'm in Greece and midnight is only a few minutes away.
Thank you in advance for your assistance and have a nice day. :smile:
when you reset the sideboxes you will then have to go through and turn on/off the sideboxes you want.Quote:
2) Although I reset from admin > tools > layout boxes controller, there were some side boxes that I had previously selected not to appear
If you have created includes/languages/greek/desert_noonQuote:
5) To display the greek pages, I created an /includes/languages/greek/desert_noon folder and copied there all the files of the corresponding /includes/languages/greek/classic folder. I know that this is unorthodox but couldn't think of anything better. I must say that managing languages and templates is a nightmare with all those folders named "include", "languages" etc. I have spent hours in the forums but couldn't find some easy to understand tutorials or answers to posts by other members.
Then all you need to do is copy the contents of includes/languages/english/desert_noon to that location.
This may help with the unreadable text problem:
just unzip the package and FTP the includes folder to your server.
Attachment 7832
I am using 1.3.9 at http://scripturalscenery.com and I would like to be able to do 2 things; 1.) How do I remove the wording on the main page "New Products for July"? And just make it display "Photos", and 2.) I would like a tab next to the "Home" tab that says "About" and link to the about fount under the navigation bar.
1) open includes/languages/desert_noon/english.php
find the following line of code (around line 500)
and replace it with the following:Code:define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
2) open includes/templates/desert_noon/common/tpl_header.phpCode:define('TABLE_HEADING_NEW_PRODUCTS', '');
find the following section of code:
And replace it with the following:Code:<ul class="back">
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
</ul>
Code:<ul class="back">
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
<li><?php echo '<a href="' . zen_ez_pages_link(1) . '"><span>ingredients</span></a>'; ?></li>
</ul>
Thank you for the coding for http://scripturalscenery.com and the tab along with the change for the "products for July". I have one more question for you on the desert noon template which is outstanding. How do I shut off the "### Units in stock" under the pictures when you go to the products page. http://scripturalscenery.com/index.p...&products_id=6
Thanks
Thanks again!
clydejones, first of all thank you. You work has inspired many ideas for me. I have played with a few carts to help remind me of some of the code dynamics, but now i'm ready to get serious.
I would like to know if the code for the tabbed options across the top of Desert Noon can be transfered to a custom or other template like my own. If so, what files need to be changed? Referring specifically to the below:
http://i26.photobucket.com/albums/c1...DesertNoon.jpg
Thanks for your time.
Just installed this on a test fresh 1.3.9 install. My question / query is the search button on the top right in the header is showing up as the default browser search button rather than the gif that is intended to be with the template. The test site is at knotsewcraftyDOTorg. The template displayed on (sorry, site offline) shows a custom search gif in the top right. Just wondering why it's not present on this site (have verified that the gif file itself is there)
Cheers
Sorry quick edit to the above post: the url is as above /index.php - the current default on the site is a holding page.
oen includes/templates/desert_noon/sideboxes/tpl_search_header.php
find the following section of code:
And replace it with the following:PHP Code:
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' ' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
} else {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' <input type="submit" value="' . HEADER_SEARCH_BUTTON . '" style="width: 45px" />';
}
PHP Code:
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' <input type="submit" value="' . HEADER_SEARCH_BUTTON . '" style="width: 45px" />';
} else {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' ' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
}
Thanks very much for the speedy response Clyde. :clap:
Hi Clyde I just updated my other store to zen-cart-v1.3.9f and using your desert noon template. Great template by the way. My question to you is this. On the product info page how do I move the products name, price, model number, and add to cart beside the picture about half way up. Thank you in advance. One more thing on the main page how can I center the about us link
Thanks Clyde for the help. I just can not seem to get it like I want it so I will leave it alone. Looks OK to me except the model number. How do I move it above the price and inline. Also how can I move the add to cat box to the left some. Every time I try to move it, it want move for some reason.
As I said, its a matter of moving sections of code around within the tpl_pproduct_info_display.php file.
find the following section:
and move it to below this line of code:PHP Code:
<!--bof Product details list -->
<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<ul id="productDetailsList" class="floatingBox back">
<?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
</ul>
<br class="clearBoth" />
<?php
}
?>
<!--eof Product details list -->
----------------PHP Code:
<!--eof Product Name-->
for the add to cart box, open your stylesheet.css
find the following section
#cartAdd {
float: right;
text-align: center;
margin: 1em;
border: 1px solid #000000;
padding: 1em;
}
make any adjustments you feel necessary.
Thanks Clyde. I have another question for you. If I want to center everything on my page picture, item name, model number and so on, where is the code in the style sheet to do that. I have been working on this for about an hour now and I just can not seem to be able to find the code to move it. Thank You again for your help.
You could try installing this add-on
www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_62&products_id=482
Just installed 1.3.9h and is fine. I was trying to install Desert template but without success. Your instructions are very clear and I followed all. Uploaded the entire includes folder to server includes folder and overwrite. It will not show the template in the dropdown menu. Other templates do the same. I uploaded ver 2 of template. Any help appreciated.
Bruce
make sure the following folders are installed on your server
includes/languages/desert_noon
includes/languages/english/desert_noon
includes/languages/english/extra_definitions/desert_noon
includes/languages/english/html_includes/desert_noon
includes/modules/desert_noon
includes/modules/sideboxes/desert_noon
includes/templates/desert_noon
Hi,
Not sure if this is the right place to post this. I'm using this template with english and french language packs.
I can't figure out how to stop new products added appearing in the New Products box on the left twice ie, once in french and then again in english. I had thought only the english version should show when displaying site in english, and then when french language was selected only french descriptions would show. It only happens in the left hand column box, not if you click to see all new products in the main centre column of the website.
Anyone have any suggestions, I'm new to all this and haven't a clue where to look to fix this.
Thanks.
Try this fix
Just unzip the package and upload/FTP the includes folder to your server.
Attachment 8450
Thank you, so chuffed new products sidebox is now working correctly :hug: you've made my day!!
I just installed this template and noticed there are some characters not diplayed.
For example, not quite sure how this will be displayed here, but I'm copying and pasting
Shipping�Sample Text�...
When viewing in FireFox, there is a little box with 'FF DD' after "Shipping" and another after "Text"
When viewing in Internet Explorer there's a question mark instead of the little box shown in FireFox.
Why does this happen?
I was comparing with stock files and noticed for the template 'en_US.utf8' and the stock file 'en_US.ISO_8859-1'
Does this have anything to do with it? Which encoding is better?
Thanks.
Yep, changing to en_US.ISO_8859-1 in the english.php fixed it.
Opening the files containing these characters that did not display correctly revealed the character was just a space. Deleting the space then typing it again and saving the file also could fix it.
Are the files inside includes/modules/sideboxes/desert_noon necessary?
I'm comparing with the current stock files for the latest version and they seem to be pretty much exactly the same.
I'm just trying to get rid off unnecessary files in override folders that are already the same as the stock files.
Thank you for the fast reply.
Yes, I use WinMerge.
I'm using 1.39h and just installed Desert Noon and can't seem to get the cc_accept sidebox to work with it. When I turn the sidebox on it doesn't show up and also removes any sideboxes that are there except for the top Shopping Cart box. It has the same effect on both left or right side, is there something I'm missing or is this add on just not compatible?
Thanks for the great template!
www.ktsaddedvalues.com
I'm using this one:
Add-On: Credit Cards Accepted Sidebox
Designed for: Zen Cart v1.2.1d
Created by: Carter Harris
Upgraded to Zen Cart 1.3 by kuroi
Reviewing the install nots I see there was an addition I needed to make to the CSS it look like?
Sorry, the exact title is Credit Card Sidebox and it's in the downloads section here:
http://www.zen-cart.com/index.php?ma...roducts_id=156
After reinstalling it it's working now and not deleting the other boxes!
Thanks for answering and sorry I wasn't as clear as I should have been.
I am using the add on Google Translate and I know it is not of your making but can you help me as I cannot get the display inside my side box.
OK Clyde, finally decided on the Desrt Noon template of yours. I know, I am picky and sorry about that.
I want to increase the size of the fonts for the sideboxes, headers and all within the sideboxes. I tried looking as I did it in the Glacial Age, but this one looks so different to me. I am sorry about that. I also want to increase the font size for the center box also.
I am using version 1.39h and this is my link once again
https://www.interdigitaldesigns.com
Also Clyde,
When I click on "home" it takes me to my non-secured site. How do I fix it so it always takes people back to the 'https" site, as opposed to the "http" site?
OK, then no big deal, but i still need to know how to change the font size to larger for the sideboxes , titels and content and the center box titel and content please.
Hey Clyde,
I finally got my store pretty much tweaked and now open for business and am using your Desert Noon tamplate and it looks great. If you would like to check it out some time here is the link for you http://www.interdigitaldesigns.com
Thanks so much for your hard work making these templates you have made.
Clyde,
I am new to ZC and a little confused about the install. Maybe because it is so simple, it sounds wrong. The above bolded statement "Uploaded the entire includes folder to server includes folder and overwrite, is that right? Your instructions say to upload the entire includes folder to your server. It does not say to upload to the server/includes folder. I don't want it to overwrite anything do I? It seems that if I do it just like you say, upload to server, it will want to overwrite the original includes folder. Is that right?
I'm sooooooooo confused!!!:frusty:
Well, I guess if you play around with things long enough you figure it out on your own!! I got the template up and running. Nice template Clyde.
My first question is this:
On your readme file you talk about a stylesheet setting that will turn on the IP address in the footer. I don't understand your instructions. Could you give them for an idiot, I mean a layman? Which stylesheet and how do you "comment out this declaration"?
Thanks Clyde
I do have another problem.......
In the header area is the Search box. On mine, the word "Search" of the search button is cut off and does not have the "h". How do I fix this??
link to S&S Bonsai
Wow, this is very sad.
I just noticed that Clyde Jones is also from the same city as I am, Colorado Springs, CO. So I checked his profile that lead to his personal website. There is a notice on his site that he passed away on August 15th. A sad day for us Zenners. I thought it very strange that I was not getting any answers to my questions. :(
Is this thread still active? I installed this template and would like to know if I will receive support with this template. Thank you.
Disregard the previous message. I chose another template. Thank you.