Forums / Addon Templates / Desert Noon Template Support Thread

Desert Noon Template Support Thread

Views: 42,363

Results 101 to 120 of 177
1 Dec 2009, 2:52 PM
#101
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Desert Noon Template Support Thread

Cris:

I'm totally new to Zen Cart, so please excuse any ignorance on my part.
If someone needed to add extra text or images to their footer beside the "powered by Zen Cart" message, how would they do it? I read something about editing the tpl_footer.php file but couldn't find it for this template.. Any ideas?

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Dec 2009, 7:04 AM
#102
cris avatar

cris

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

That's what I needed to know. Thanks.

14 Jan 2010, 1:59 PM
#103
zippiedip avatar

zippiedip

New Zenner

Join Date:
Jan 2010
Posts:
4
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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

14 Jan 2010, 5:14 PM
#104
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

zippiedip:

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

includes/templates/desert_noon/css/stylesheet.css

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Jan 2010, 4:00 PM
#105
shinmai avatar

shinmai

New Zenner

Join Date:
Aug 2009
Location:
Canada
Posts:
42
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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:

21 Jan 2010, 4:58 PM
#106
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

Shinmai:

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Jan 2010, 9:11 PM
#107
shinmai avatar

shinmai

New Zenner

Join Date:
Aug 2009
Location:
Canada
Posts:
42
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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!

21 Jan 2010, 9:15 PM
#108
shinmai avatar

shinmai

New Zenner

Join Date:
Aug 2009
Location:
Canada
Posts:
42
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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:

21 Jan 2010, 9:23 PM
#109
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

Shinmai:

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:

look in includes/templates/desert_noon/sideboxes/tpl_categories.php

from around lines 129 to 139

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Jan 2010, 10:17 PM
#110
shinmai avatar

shinmai

New Zenner

Join Date:
Aug 2009
Location:
Canada
Posts:
42
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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!

22 Jan 2010, 12:30 AM
#111
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

Shinmai:

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.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 Jan 2010, 3:52 AM
#112
shinmai avatar

shinmai

New Zenner

Join Date:
Aug 2009
Location:
Canada
Posts:
42
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

Thanks for the reply! I am so glad that I changed to ZenCart because support is so great :smile:

20 Feb 2010, 11:09 PM
#113
smoother avatar

smoother

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

need_help:

Ok for anyone else who may have this small issue its an easy fix.

I found the problem was the includes/templates/desert_noon/common/htm_header.php file.

For now i have backed that up and deleted it and i am running the template default html_header.php file and noindex,nofollow is gone from the main page and only shows up on pages which should not be indexed such as the login pages.

The problem seems to be the lines

<?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 **//**} ?>

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:

<?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 } ?>

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/

8 Mar 2010, 5:33 PM
#114
custombooks avatar

custombooks

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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.

8 Mar 2010, 5:38 PM
#115
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

CustomBooks:

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:

    <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>

and replace it with the following:

    <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>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Mar 2010, 9:09 PM
#116
custombooks avatar

custombooks

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

clydejones:

open includes/templates/desert_noon/common/tpl_header.php

find the following section of 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> ``` > > and replace it with the following: > > ```php <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> ```

Whoo, woo! It worked! You are the greatest! Many thanks!

20 Apr 2010, 3:28 AM
#117
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

An upgraded version of Desert Noon Template compatible with ZC v1.3.9 should be available in the downloads section shortly.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 4:52 PM
#118
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

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!

30 Apr 2010, 4:55 PM
#119
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Desert Noon Template Support Thread

Doodlebuckets:

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!

Amy,

a link to the site would be useful.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 5:02 PM
#120
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Desert Noon Template Support Thread

clydejones:

Amy,

a link to the site would be useful.

Sorry, I do try to be useful sometimes :D https://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!