-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
As far as I can tell, you have the navigation menu located inside the headerwrapper.
You need to move it to below the header wrapper.
It feels like I need to end a /div I have tried after the end of the logo div, but it just either throws it out of line or it ends up floating on the left?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
powerdown
It feels like I need to end a /div I have tried after the end of the logo div, but it just either throws it out of line or it ends up floating on the left?
Open includes/templates/cold_steel/common/tpl_header.php
replace the entire contents with the following:
PHP Code:
<?php
/**
* Common Template - tpl_header.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_header = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2006 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: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
?>
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<!--bof-branding display-->
<div id="logoWrapper">
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>
<div id="logo"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT);?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<!--bof-navigation display-->
<div id="navMainWrapper">
<ul id="navMain">
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
<!--eof-navigation display-->
</div>
<!--<br class="clearBoth" />-->
<!--eof-branding display-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
<!--eof-optional categories tabs navigation display-->
<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
<?php } ?>
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
Open includes/templates/cold_steel/common/tpl_header.php
replace the entire contents with the following:
PHP Code:
<?php
/**
* Common Template - tpl_header.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_header = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2006 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: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
?>
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<!--bof-branding display-->
<div id="logoWrapper">
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>
<div id="logo"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT);?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<!--bof-navigation display-->
<div id="navMainWrapper">
<ul id="navMain">
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
<!--eof-navigation display-->
</div>
<!--<br class="clearBoth" />-->
<!--eof-branding display-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
<!--eof-optional categories tabs navigation display-->
<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
<?php } ?>
Hmm, now the links are over to the left hand side. (see picture)
I'm going to go back to the old links for a while and test on a different website. Thanks for your help! I'll let you know if I find a solution.
http://www.environmentalposters.co.uk/screenshot.jpg
-
Cold Steel Template
I am running the latest version of Zen-Cart (1.3.8). I am just setting up Cold Steel. I have 3 questions and could not find the answers in the forum.
1. What file and location can I edit for the main page where it says "Welcome Guest".
2. I want to delete the grey in the header on all pages and just have it white. (What files and locations)
3. In the Information box that has contact us, news letter, site map etc. I would like to reduce what is listed. Example delete "Discount Coupons" (What needs editing to do that)
Thank you in advance for your help....
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
I am running the latest version of Zen-Cart (1.3.8). I am just setting up Cold Steel. I have 3 questions and could not find the answers in the forum.
1. What file and location can I edit for the main page where it says "Welcome Guest".
2. I want to delete the grey in the header on all pages and just have it white. (What files and locations)
3. In the Information box that has contact us, news letter, site map etc. I would like to reduce what is listed. Example delete "Discount Coupons" (What needs editing to do that)
Thank you in advance for your help....
1 - includes/languages/english/cold_steel/index.php
2 - includes/templates/cold_steel/css/stylesheet.css
find the following declaration and delete the highlighted portion
#logoWrapper{
margin:0;
background: url(../images/header_bg.gif) no-repeat;
height:112px;
width:917px;
position: relative;
top:0;
left:0;
}
3 - admin -> configuration -> Define Page Status -> Define Discount Coupon (set to 3)
-
Cold Steel Template Support Thread
Thank you for the fast response
In #1 I did not see how to delete the ticks or check marks
In #3 How do I delete "Gift Certs" and "News letters"
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
Thank you for the fast response
In #1 I did not see how to delete the ticks or check marks
In #3 How do I delete "Gift Certs" and "News letters"
1 - if you scroll to the bottom of the "introducing cold steel template"
You will see the following:
Quote:
This content is located in the file at: /languages/english/html_includes/cold_steel/define_main_page.php
You can quickly edit this content via Admin-> Tools-> Define Pages Editor, and select define_main_page from the pulldown. You can also edit it directly if you prefer.
NOTE: Always backup the files in /languages/english/html_includes/your_template
3 -
admin -> configuration -> E-Mail Options -> Display "Newsletter Unsubscribe" Link? (set to false)
admin -> modules -> Order Total -> Gift Certificates (click the "remove" button)
-
Cold Steel Template Support Thread
Before I start Thank You for all your help
1. In the footer where it is divided into two sections (the one on the left has company name and address and the one on the right has the home button). Can I make it one bar going across that is thin. (One letter height)? In addition can the bottom "Copywrite etc" also be centered?
2. When you are on the home page using IE the task bar says "Zen Cart" can you make it say something else?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
Before I start Thank You for all your help
1. In the footer where it is divided into two sections (the one on the left has company name and address and the one on the right has the home button). Can I make it one bar going across that is thin. (One letter height)? In addition can the bottom "Copywrite etc" also be centered?
2. When you are on the home page using IE the task bar says "Zen Cart" can you make it say something else?
1 - open includes/templates/cold_steel/common/tpl_footer.php
make whatever edits you want.
You will also need to make adjustments in includes/templates/cold_steel/css/stylesheet.css.
2- open includes/languages/english/meta_tags.php
Make your edits and then save the edited file to includes/languages/english/cold_steel/meta_tags/php
-
Cold Steel Template Support Thread
When filling in new account information I would like to delete people from having to enter DOB and news letters. Where to?
Also can I delete "Write a review" on the product page
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
When filling in new account information I would like to delete people from having to enter DOB and news letters. Where to?
Also can I delete "Write a review" on the product page
These are not template specific questions.
All of these can be turned off in your zen cart admin.
Also you should really check the Tutorials/FAQ section link at the top of the page.
-
Re: Cold Steel Template Support Thread
I followed your advice and made many changes that were going smoothly. I guess I forgot to test after a change and I don't know what to do to fix what happened execpt to reload again. Please take a look and tell me if you have any ideas on what to do. I think it was from altering english.php but I uploaded the original file and still have the issue.
airpostworld.com
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
I followed your advice and made many changes that were going smoothly. I guess I forgot to test after a change and I don't know what to do to fix what happened execpt to reload again. Please take a look and tell me if you have any ideas on what to do. I think it was from altering english.php but I uploaded the original file and still have the issue.
airpostworld.com
Best bet - re-install the template
-
Re: Cold Steel Template Support Thread
I serached all over and could not find the answer to how to change the order numbers generated by the system. The default starts at 1. I would like to start at 1901. Is this possible?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
I serached all over and could not find the answer to how to change the order numbers generated by the system. The default starts at 1. I would like to start at 1901. Is this possible?
again, not template specific.
try here
-
Re: Cold Steel Template Support Thread
I have catagories on the left side. I have two catagories one with two subcatagories. This is how they display when picking the one with subcatagories.
Catagory1
Catagory2->
l_Sub1
l_Sub2
Is their a way to display the subs without the "l_" or change the "l_" to "*"
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
I have catagories on the left side. I have two catagories one with two subcatagories. This is how they display when picking the one with subcatagories.
Catagory1
Catagory2->
l_Sub1
l_Sub2
Is their a way to display the subs without the "l_" or change the "l_" to "*"
Not a template specific question..
look at
admin -> configuration -> layout settings
->
Categories Separator between the Category Name and Count
Categories Separator between the Category Name and Sub Categories
change/delete the default settings to fit your needs.
-
1 Attachment(s)
Re: Cold Steel Template Support Thread
Currently the product image on the product page is shown on the left. That way my text isn't alligned like I would. Is it possible to have the product image on the right?
I have attached an example of how it is and how I would like it to be.
Ferid
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
ferid
Currently the product image on the product page is shown on the left. That way my text isn't alligned like I would. Is it possible to have the product image on the right?
I have attached an example of how it is and how I would like it to be.
Ferid
a link to your site would be useful.
-
Re: Cold Steel Template Support Thread
It's offline at the moment. If you PM me your IP address. I'll add it.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
ferid
It's offline at the moment. If you PM me your IP address. I'll add it.
Take a look at the Product Info Display (right side) mod available in the Free Software Add Ons section
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
Designed for Zen Cart version 1.3.8.
Features:
Fixed width 2 column display
Colors: Styled in Black, White and Gray.
Customized button set included.
Per-page CSS stylesheets to style individual pages.
Better Categories Sidebox installed.
Order Steps (Tableless) installed.
Column Divider Pro installed.
Date displayed in the header.
Re-designed Login page included.
Tested using Firefox, IE7, Opera, Safari.
Hi,
Thanks for sharing this information.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
It worked. Thank you!
But now the images of the attributes are also on the right. I would like them to stay on the left as they were.
-
Re: Cold Steel Template Support Thread
I am also searching how to display an image outside the webshop on the left and right side.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
ferid
It worked. Thank you!
But now the images of the attributes are also on the right. I would like them to stay on the left as they were.
You can change the way the product info page looks by opening includes/templates/cold_steel/templates/tpl_product _info_display.php and moving entire sections of code around and making adjustments in the product_info.css stylesheet
Quote:
Originally Posted by
ferid
I am also searching how to display an image outside the webshop on the left and right side.
Not quite sure what you mean.
-
Re: Cold Steel Template Support Thread
Managed to get the product info page as I want to. Thank you.
But still can't get the attribute image on the left. Now they are on the right.
-
Re: Cold Steel Template Support Thread
-
Re: Cold Steel Template Support Thread
Is it possible instead of having the grey square at the bottom where name and address are and on the right where the home button in the footer another box just to have one grey box completely across the bottom?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Jay_Cubs
Is it possible instead of having the grey square at the bottom where name and address are and on the right where the home button in the footer another box just to have one grey box completely across the bottom?
Sure, create a new graphic image that is the height and width of the entire footer.
You'll then need to adjust the following declarations in the stylesheet.css
#footerLogo
#navSuppWrapper
-
Re: Cold Steel Template Support Thread
I am trying to insert an image at the first step when you checkout, above the shippingaddress. But for some reason the image isn't displayed correctly. It's compressed.
What I did is insert the following code in /includes/templates/my template/templates/tpl_checkout_shipping_default.php after line 60, <!-- eof Order Steps (tableless) -->:
<?php echo zen_image('/images/step1.jpg')?>
How can I make so that the image is displayed in it's original size and not compressed?
I've attached an example of how it looks and on the bottom, the original image.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
ferid
I am trying to insert an image at the first step when you checkout, above the shippingaddress. But for some reason the image isn't displayed correctly. It's compressed.
What I did is insert the following code in /includes/templates/my template/templates/tpl_checkout_shipping_default.php after line 60, <!-- eof Order Steps (tableless) -->:
<?php echo zen_image('/images/step1.jpg')?>
How can I make so that the image is displayed in it's original size and not compressed?
I've attached an example of how it looks and on the bottom, the original image.
This is not a template specific question:
I don't see an attachment.
You might want to try something like this:
zen_image($template->get_template_dir(step1.jpg, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . step1.jpg, Step One, 100, 100);
-
Re: Cold Steel Template Support Thread
Thank you again Clyde.
I worked it out.
-
Re: Cold Steel Template Support Thread
Hey Clyde,
Love your template!!!!
I have just started back on my site (s ) after a couple months away and feel like I am back to square one.
Is it possible to add to and or delete from the top horizontal navigation on the cold steel template. ( home, contact us etc.. )
I know you can add ezpages underneath but I would like for example to add a tab that says " Order Online " and then this tab when clicked goes to an online site.
My current site is for showcase only..
www.iqartcards.com I would like the link on the tab to go to www.iqcardshop.com/categories
If this is not possible can I delete the tabs and just use ezpages across the top.
Hope this makes sense
Thanks
Ren
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Hey Clyde,
Love your template!!!!
I have just started back on my site (s ) after a couple months away and feel like I am back to square one.
Is it possible to add to and or delete from the top horizontal navigation on the cold steel template. ( home, contact us etc.. )
I know you can add ezpages underneath but I would like for example to add a tab that says " Order Online " and then this tab when clicked goes to an online site.
My current site is for showcase only..
www.iqartcards.com I would like the link on the tab to go to
www.iqcardshop.com/categories
If this is not possible can I delete the tabs and just use ezpages across the top.
Hope this makes sense
Thanks
Ren
open includes/templates/cold_steel/common/tpl_header.php
find the following section of code:
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<ul id="navMain">
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
<!--eof-navigation display-->
</div>
You can add any additional links you wish.
-
Re: Cold Steel Template Support Thread
Hello,
I just installed the great cold_steel template. Now I am customizing the website and find that modifying the file includes/templates/cold_steel/css/stylesheet.css doesn't change the layout. Then I deleted the file and still nothing changed. Something must be wrong. Would somebody tell me the reason and how to fix it? Thanks in advance!
cclcc
Zen Cart version: 1.3.8a
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
cclcc
Hello,
I just installed the great cold_steel template. Now I am customizing the website and find that modifying the file includes/templates/cold_steel/css/stylesheet.css doesn't change the layout. Then I deleted the file and still nothing changed. Something must be wrong. Would somebody tell me the reason and how to fix it? Thanks in advance!
cclcc
Zen Cart version: 1.3.8a
link to your site?
and what changes do you wish to make?
-
Re: Cold Steel Template Support Thread
Hi clyde,
Thank you for your quick response. The link to my website is: http://www.lincorpjewelry.com/onlinestore/ . I want to change the location of navigation bar in the header. Also I plan to change the position of log in / register.
There is another thing confusing me . When I look up "navMainWrapper" in all files by "developers toll kit ", the resluts show that only two files "includes/templates/cold_steel/common/tpl_header.php "
and "includes/templates/template_default/common/tpl_header.php" include it. But stylesheet.css has the "#navMainWrapper" and I don't understand why it can not be searched.
Thank you again!
cclcc
Zen Cart version: 1.3.8a
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
cclcc
Hi clyde,
Thank you for your quick response. The link to my website is:
http://www.lincorpjewelry.com/onlinestore/ . I want to change the location of navigation bar in the header. Also I plan to change the position of log in / register.
There is another thing confusing me . When I look up "navMainWrapper" in all files by "developers toll kit ", the resluts show that only two files "includes/templates/cold_steel/common/tpl_header.php "
and "includes/templates/template_default/common/tpl_header.php" include it. But stylesheet.css has the "#navMainWrapper" and I don't understand why it can not be searched.
Thank you again!
cclcc
Zen Cart version: 1.3.8a
to change the position of the navigation bar,
open includes/templates/cold_steel/common/tpl_header.php
locate the following section of code and move it to where you would like it to appear.
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<ul id="navMain">
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
<!--eof-navigation display-->
I may be wrong, but I don't think the developers tool kit was designed to search through the stylesheets.
-
Re: Cold Steel Template Support Thread
Hi clydl,
I found the file tpl_header.php. and knew that the location of navigation bar is determined by <div id="navMainWrapper">. The current definition of #navMainWrapper in stylesheet.css is as following:
#navMainWrapper {
position:absolute;
left: 201px;
top: 90px;
font-size: 1.2em;
}
What I want is : left: 350px;
I did the change in stylesheet.css . But it doesn't work. Further I deleted the stylesheet.css file , still nothing changed. It seems the stylesheet.css has no relation with the file tpl_header.php.
Thanks,
cclcc
Zen Cart version: 1.3.8a
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
cclcc
I found the file tpl_header.php. and knew that the location of navigation bar is determined by <div id="navMainWrapper">. The current definition of #navMainWrapper in stylesheet.css is as following:
#navMainWrapper {
position:absolute;
left: 201px;
top: 90px;
font-size: 1.2em;
}
What I want is : left: 350px;
I did the change in stylesheet.css . But it doesn't work. Further I deleted the stylesheet.css file , still nothing changed. It seems the stylesheet.css has no relation with the file tpl_header.php.
You might want to clear your cache, the css file should have an effect on the display of the template.
You might also want to look somewhere in this thread for "tab nav fix" if you just installed the template.
EDIT: didn't read your previous post, you are editing the right file.
-
Re: Cold Steel Template Support Thread
Hi,
I was trying to edit my post again, but it lapse.
You have to enable cold_steel template first if you haven't yet.
Admin>Tools>Template Selection
then
Admin>Tools>Layout Boxes Controller
at the bottom click on reset.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
cclcc
Hi clydl,
I found the file tpl_header.php. and knew that the location of navigation bar is determined by <div id="navMainWrapper">. The current definition of #navMainWrapper in stylesheet.css is as following:
#navMainWrapper {
position:absolute;
left: 201px;
top: 90px;
font-size: 1.2em;
}
What I want is : left: 350px;
I did the change in stylesheet.css . But it doesn't work. Further I deleted the stylesheet.css file , still nothing changed. It seems the stylesheet.css has no relation with the file tpl_header.php.
Thanks,
cclcc
Zen Cart version: 1.3.8a
have you activated the template? when I check the link to your site I'm viewing the "classic" template not "cold steel"
#navmainwrapper does not control where the menu appears. You need to adjust the #navmain
-
Re: Cold Steel Template Support Thread
Thanks Clyde,
Not sure how to go about it though. Do I need to edit any other files? For example if I want to creat an About Us page.
This is what I have done so far:
in includes/templates/mytemplate/common/tpl_header.php I have added this in
<li<?php echo (($current_page_base == 'about_us') ? ' class="current">' : ' >');?><a href="<?php echo zen_href_link( FILENAME_ABOUT_US, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_ABOUT_US . '</span>'; ?></a></li>
I have also changed the /includes/languages/english/html_includes/define_page_2.php to be
/includes/languages/english/html_includes/define_about_us.php
What else do I need to change as on my site the link says HEADER_TITLE_ABOUT_US and when pressed page is not found
THanks
-
Re: Cold Steel Template Support Thread
Oh and should I also have created another file to put this into
/includes/languages/english/html_includes/define_about_us.php
such as
/includes/languages/english/html_includes/mytemplate/define_about_us.php
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Thanks Clyde,
Not sure how to go about it though. Do I need to edit any other files? For example if I want to creat an About Us page.
This is what I have done so far:
in includes/templates/mytemplate/common/tpl_header.php I have added this in
<li<?php echo (($current_page_base == 'about_us') ? ' class="current">' : ' >');?><a href="<?php echo zen_href_link( FILENAME_ABOUT_US, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_ABOUT_US . '</span>'; ?></a></li>
I have also changed the /includes/languages/english/html_includes/define_page_2.php to be
/includes/languages/english/html_includes/define_about_us.php
What else do I need to change as on my site the link says HEADER_TITLE_ABOUT_US and when pressed page is not found
THanks
Quote:
Originally Posted by
thevagr1
Oh and should I also have created another file to put this into
/includes/languages/english/html_includes/define_about_us.php
such as
/includes/languages/english/html_includes/mytemplate/define_about_us.php
If you want to use this code:
PHP Code:
<li<?php echo (($current_page_base == 'about_us') ? ' class="current">' : ' >');?><a href="<?php echo zen_href_link( FILENAME_ABOUT_US, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_ABOUT_US . '</span>'; ?></a></li>
Then you should download and install the "about us" contribution available in the downloads section.
-
Re: Cold Steel Template Support Thread
Hey Clyde, thanks for the last piece of advice that is all working now.
I have just downloaded and uploaded the Contact Us Add Subject form.
I have deleted any info I did in Define Pages but I am not coming up with the add subject fields from this application. Is there anything i should be changing in the admin controls or deleting from my regular files to get this to work??
Cheers
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Hey Clyde, thanks for the last piece of advice that is all working now.
I have just downloaded and uploaded the Contact Us Add Subject form.
I have deleted any info I did in Define Pages but I am not coming up with the add subject fields from this application. Is there anything i should be changing in the admin controls or deleting from my regular files to get this to work??
Cheers
You should probably check the support thread for this mod.
-
Re: Cold Steel Template Support Thread
Hello. You template is wonderful. Thanks! I want to put some Cyrillic words but when i save login.php in UTF-8 the page display hieroglyphs. i have Bulgarian language pack, but it not work with your Template.
Thank you in advance :)
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
vagabont
Hello. You template is wonderful. Thanks! I want to put some Cyrillic words but when i save login.php in UTF-8 the page display hieroglyphs. i have Bulgarian language pack, but it not work with your Template.
Thank you in advance :)
You need to save the file as UTF-8 without BOM
You may also need to make sure your database is set up for UTF-8
-
Re: Cold Steel Template Support Thread
Hi Clyde, I am running into a problem with additional images. I have Image Handler installed along with Zen Lightbox and the second image overlaps the Add To Cart button.
Any thoughts?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
PinkLeopard
Hi Clyde, I am running into a problem with additional images. I have Image Handler installed along with Zen Lightbox and the second image overlaps the Add To Cart button.
Any thoughts?
not without see your site.
-
Re: Cold Steel Template Support Thread
Thanks but I have run into too many problems with this template.
-
Re: Cold Steel Template Support Thread
Hello Clyde - I am having an issue with changing the left column, Main Categories Name to an image file.
When I change the categories name to the file path both show up in the left column - The image path and name show up with bg color and the image is over top.
I did find three different post in this thread with a different solution for each file (categories_css.php),(categories_row.php) and (English.php). English_php seems to be the only change with the overlay mentioned above - The categories_row.php did not show any change for me but maybe further clarification
on editing or del the high lighted code in your previous post.
And yea I tried to just change the color to my background color but the overlay distorts my image.
Thank you for any help here as I am :wacko:.
P.S I have read through this thread and concluded you must be a patient person!
Thanks again
Cheers/ Tidy
I am using ZC 1.3.8 and your Cold Steel dvp with wamp on local server.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
tidy
Hello Clyde - I am having an issue with changing the left column, Main Categories Name to an image file.
When I change the categories name to the file path both show up in the left column - The image path and name show up with bg color and the image is over top.
I did find three different post in this thread with a different solution for each file (categories_css.php),(categories_row.php) and (English.php). English_php seems to be the only change with the overlay mentioned above - The categories_row.php did not show any change for me but maybe further clarification
on editing or del the high lighted code in your previous post.
And yea I tried to just change the color to my background color but the overlay distorts my image.
Thank you for any help here as I am :wacko:.
P.S I have read through this thread and concluded you must be a patient person!
Thanks again
Cheers/ Tidy
I am using ZC 1.3.8 and your Cold Steel dvp with wamp on local server.
Are talking about the sidebox header?
-
Re: Cold Steel Template Support Thread
Wow that was fast "thanks" - Yes the header for the Categories content in the left side box.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
Are talking about the sidebox header?
Wow that was fast "thanks" - Yes the header for the Categories Content in the left side box.
-
Re: Cold Steel Template Support Thread
Hi Clyde I am just in the process of setting up zen cart.
I have added a couple of categories and products and changed from classic to Cold Steel. When I changed from classic to cold steel all my fonts suddenly jumped in size.
How do I get them back to a smaller size?
I am also using bullets in my product desctiptions. e.g.
<ul>
<li>Fast and simple installation. Installation requires only 3 connections. </li>
<li>Everything you need is included in the Stopit! kit, including simple installation instructions</li> </ul>
They work find in preview but when I view the product description the bullets are missing,
Many thanks in advance for your help
www.fastbikegear.co.nz
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Liamv
Hi Clyde I am just in the process of setting up zen cart.
I have added a couple of categories and products and changed from classic to Cold Steel. When I changed from classic to cold steel all my fonts suddenly jumped in size.
How do I get them back to a smaller size?
I am also using bullets in my product desctiptions. e.g.
<ul>
<li>Fast and simple installation. Installation requires only 3 connections. </li>
<li>Everything you need is included in the Stopit! kit, including simple installation instructions</li> </ul>
They work find in preview but when I view the product description the bullets are missing,
Many thanks in advance for your help
www.fastbikegear.co.nz
Ok I have solved the fonts problem (Some files were not transferred the first time I FTP'd to the site)
Still have the problem with the bullets not showing on the Stopit, Indicator reminder product description on my wev site.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Liamv
Ok I have solved the fonts problem (Some files were not transferred the first time I FTP'd to the site)
Still have the problem with the bullets not showing on the Stopit, Indicator reminder product description on my wev site.
open includes/templates/cold_steel/css/stylesheet.css
find the follwoing declaration and delete the highlighted portion
#productDescription ul li {
margin-right:2px;
padding:2px 0 2px 17px;
list-style: none;
font-size: 1.1em;
}
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
tidy
Wow that was fast "thanks" - Yes the header for the Categories Content in the left side box.
This article in the Tutorials/FAQ section may help;
article=135
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
This article in the Tutorials/FAQ section may help;
article=135
Thank You!
I must of missed something last night in my efforts to resolve the "image path showing up as well" in the Categories Content header.
Thanks Again Clyde
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/cold_steel/css/stylesheet.css
find the follwoing declaration and delete the highlighted portion
#productDescription ul li {
margin-right:2px;
padding:2px 0 2px 17px;
list-style: none;
font-size: 1.1em;
}
Thanks for the very fast support. Thanks that worked. The font size of the bulleted items is now larger than the text in the body of the description is there a way to make it the same size?:smile:
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
Liamv
Thanks for the very fast support. Thanks that worked. The font size of the bulleted items is now larger than the text in the body of the description is there a way to make it the same size?:smile:
remove the font-size rule:
#productDescription ul li {
margin-right:2px;
padding:2px 0 2px 17px;
list-style: none;
font-size: 1.1em;
}
-
Re: Cold Steel Template Support Thread
Hi Clyde im using this template for my new website: lemy.co.uk and it looks great...but i would like my customers to navigate better so im trying to install the CSS Flyout menu 1.5 from here:
http://www.zen-cart.com/forum/showthread.php?t=58629
The problem is that the tpl_header from the cold_steel template is modified so in this case its says there in the readme that i should add this code to the tpl_header :
PHP Code:
<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->
<div class="clearBoth"></div>
I've done this and i double check the installation and site is messed up. Is there any way that i can integrate the flyout menu into your template?
Also i would like to know how to add a few extra buttons in the navbar for the rss feed,etc, like you have on you website.
Cheers!
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
Hi Clyde im using this template for my new website: lemy.co.uk and it looks great...but i would like my customers to navigate better so im trying to install the CSS Flyout menu 1.5 from here:
http://www.zen-cart.com/forum/showthread.php?t=58629
The problem is that the tpl_header from the cold_steel template is modified so in this case its says there in the readme that i should add this code to the tpl_header :
PHP Code:
<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->
<div class="clearBoth"></div>
I've done this and i double check the installation and site is messed up. Is there any way that i can integrate the flyout menu into your template?
Also i would like to know how to add a few extra buttons in the navbar for the rss feed,etc, like you have on you website.
Cheers!
Where do you want the menu to go?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
Where do you want the menu to go?
Thanks for the quick reply. I want it positioned just bellow the NavBreadCrumb, about 0.5 em distance from it.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
Thanks for the quick reply. I want it positioned just bellow the NavBreadCrumb, about 0.5 em distance from it.
open includes/templates/cold_steel/common/tpl_main_page.php
find the following section of code:
PHP Code:
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
just below this add the folllowing:
PHP Code:
<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->
<div class="clearBoth"></div>
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/cold_steel/common/tpl_main_page.php
find the following section of code:
PHP Code:
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
just below this add the folllowing:
PHP Code:
<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->
<div class="clearBoth"></div>
I have done that, but doesnt seem to work... you can look at it now:
www.lemy.co.uk
i think its interfering with the navbar from the template
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
I have done that, but doesnt seem to work... you can look at it now:
www.lemy.co.uk
i think its interfering with the navbar from the template
I just did this same thing on my test site and everything works as expected.
have you uploaded all the files for the menu mod.
also download and install the Debug Error Logging Utility available in the downloads section.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
I just did this same thing on my test site and everything works as expected.
have you uploaded all the files for the menu mod.
also download and install the Debug Error Logging Utility available in the downloads section.
Ah thanks a lot clyde i done exactly what u said and it was a silly typo.
I have one more question:
as most of the buttons in the navbar are now covered by the flyout menu, im thinking to remove the 'doubles' from the navbar and add some best selling categories of my choice. How do u think i should do that?
Cheers!
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
Ah thanks a lot clyde i done exactly what u said and it was a silly typo.
I have one more question:
as most of the buttons in the navbar are now covered by the flyout menu, im thinking to remove the 'doubles' from the navbar and add some best selling categories of my choice. How do u think i should do that?
Cheers!
open includes/templates/cold_steel/common/tpl_header.php
find the following section of code; comment out the menu items you don't want and add new items as desired. follow the same <li> </li> pattern for your new items.
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul>
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="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>
</div>
</div>
<!--eof-navigation display-->
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/cold_steel/common/tpl_header.php
find the following section of code; comment out the menu items you don't want and add new items as desired. follow the same <li> </li> pattern for your new items.
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul>
<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 (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><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">' : '>');?><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="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>
</div>
</div>
<!--eof-navigation display-->
Ah thanks a lot, i appreciate it!
-
Re: Cold Steel Template Support Thread
Hi there,
I am customizing the Cold Steel template and am currently working on the Category menu inthe laft column.
I am trying to do the following:
(a) remove the "|_" from the subcategory listings
(b) need to change the colors.
Can you point me in the right direction for these two items?
Thansk
Nett
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
technett
Hi there,
I am customizing the Cold Steel template and am currently working on the Category menu inthe laft column.
I am trying to do the following:
(a) remove the "|_" from the subcategory listings
(b) need to change the colors.
Can you point me in the right direction for these two items?
Thansk
Nett
admin -> configuration -> layout settings
Categories Separator between the Category Name and Count
Categories Separator between the Category Name and Sub Categories
Categories Count Prefix
Categories Count Suffix
Categories SubCategories Indent
includes/templates/cold_steel/css/stylesheet_betterCategoriesEzInfo.css
-
Re: Cold Steel Template Support Thread
Thanks Clyde!
Is there a way to have the categories one color and the subcategories another color?
Thanks,
Nett
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
technett
Thanks Clyde!
Is there a way to have the categories one color and the subcategories another color?
Thanks,
Nett
You can try adding this to the stylesheet. change the highlighted portion as desired
.betterCategories .category-subs-parent a, .betterCategories .category-subs-parent a:visited,
.betterDocuments .category-subs-parent a, .betterDocuments .category-subs-parent a:visited,
.betterEzpages .category-subs-parent a, .betterEzpages .category-subs-parent a:visited,
.betterInformation .category-subs-parent a, .betterInformation .category-subs-parent a:visited,
.betterMoreinformation .category-subs-parent a, .betterMoreinformation .category-subs-parent a:visited,
.betterBestsellers .category-subs-parent a, .betterBestsellers .category-subs-parent a:visited {
display: block;
background-color: #fff;
border-top: 1px solid #DFDFDF;
padding: 0.4em;
}
-
Re: Cold Steel Template Support Thread
Hello, I want to remove all buttons from the shopping cart such as next, previous, add to cart, etc and have only text.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
jeremiah
Hello, I want to remove all buttons from the shopping cart such as next, previous, add to cart, etc and have only text.
This is not a template specific question.
People visiting your site may find that a bit confusing since most people using an e-commerce site expect to see/use buttons to navigate through the cart.
If you don't want buttons just delete the buttons folder completely.
includes/templates/cold_steel/buttons
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
You can try adding this to the stylesheet. change the highlighted portion as desired
.betterCategories .category-subs-parent a, .betterCategories .category-subs-parent a:visited,
.betterDocuments .category-subs-parent a, .betterDocuments .category-subs-parent a:visited,
.betterEzpages .category-subs-parent a, .betterEzpages .category-subs-parent a:visited,
.betterInformation .category-subs-parent a, .betterInformation .category-subs-parent a:visited,
.betterMoreinformation .category-subs-parent a, .betterMoreinformation .category-subs-parent a:visited,
.betterBestsellers .category-subs-parent a, .betterBestsellers .category-subs-parent a:visited {
display: block;
background-color: #fff;
border-top: 1px solid #DFDFDF;
padding: 0.4em;
}
I added this and didn't change the subcategory colors.
However, I moved this to its own section and changed the color for the whole menu:
Quote:
.betterCategories a, .betterCategories a:visited {
color: #FF0000;
}
My Goal is to get the category titles to Red and the subcategories to Blue.
Thanks for your help.
Nett
-
Re: Cold Steel Template Support Thread
I have installed the ultimate seo url's from here to my website: lemy.co.uk and now its messed up except the homepage. I respected the instructions as best i could, but i was a little unclear about the .htaccss modifications. Is there any reason it would behave like this? Thanks!
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
I have installed the ultimate seo url's from here to my website: lemy.co.uk and now its messed up except the homepage. I respected the instructions as best i could, but i was a little unclear about the .htaccss modifications. Is there any reason it would behave like this? Thanks!
Why not make a post in the ultimate seo url's support thread.
This thread is for questions about the cold steel template.
-
Re: Cold Steel Template Support Thread
I resolved it now, sorry for spamming
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
technett
I added this and didn't change the subcategory colors.
However, I moved this to its own section and changed the color for the whole menu:
My Goal is to get the category titles to Red and the subcategories to Blue.
Thanks for your help.
Nett
You might want to check out the categories dressing mod available in the downloads section.
-
Re: Cold Steel Template Support Thread
The reason why I wanted to delete buttons is language. I would definetly like to have these buttons on the site but they have to be in other language. Is it possible for you to upload one blank button (without text) so that I could put my text on it ?
edit
I also want to move all links from the header to this bar underneath (i think this is called ezpages). And the third question, I want to add another line between the attributes of the product and the title.
Atm it's like this
Size: S(radio) (I want to move this first radio button to the next line)
M(radio)
L(radio)
etc
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
jeremiah
The reason why I wanted to delete buttons is language. I would definetly like to have these buttons on the site but they have to be in other language. Is it possible for you to upload one blank button (without text) so that I could put my text on it ?
You can create your own buttons set (in various languages) here
-
Re: Cold Steel Template Support Thread
Thank you very much for this link. Very helpful. Please check again my post above yours for update. thx :)
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
jeremiah
Thank you very much for this link. Very helpful. Please check again my post above yours for update. thx :)
a link to your site would be useful in helping with your additional questions.
-
Re: Cold Steel Template Support Thread
Thanks, clydejones. That was exactly what I needed.
-
1 Attachment(s)
Re: Cold Steel Template Support Thread
Hi Clyde,
I seached this thread but couldn't come up with the answer but how do I go about getting rid of the space between the logo and the navigation buttons. I attached a picture to explain what I mean.
I tried a number of things but couldn't figure out what to change in the stylesheet.
Thanks you!
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
HelpMeSell
Hi Clyde,
I seached this thread but couldn't come up with the answer but how do I go about getting rid of the space between the logo and the navigation buttons. I attached a picture to explain what I mean.
I tried a number of things but couldn't figure out what to change in the stylesheet.
Thanks you!
There could be a couple of reasons for this but without having a look at your site I can't give you a definite answer.
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
There could be a couple of reasons for this but without having a look at your site I can't give you a definite answer.
Just sent you a PM :smile:
-
Re: Cold Steel Template Support Thread
Clyde, Thanks for your templates. I have tried several other templates that were not yours and none worked out.
I have been trying to figure out as much as I can but I am getting a list of questions. Here are 2.
I am going to remove pretty much the whole top banner area and need to move the (Home Log In/Register) links down to the next bar down. I also want to remove the date all together.
The other question is, Where do I edit the links that show up in the Information block on the side.
my build for ref, http://www.centraloutdoors.com/store/
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
MattS
Clyde, Thanks for your templates. I have tried several other templates that were not yours and none worked out.
I have been trying to figure out as much as I can but I am getting a list of questions. Here are 2.
I am going to remove pretty much the whole top banner area and need to move the (Home Log In/Register) links down to the next bar down. I also want to remove the date all together.
The other question is, Where do I edit the links that show up in the Information block on the side.
my build for ref,
http://www.centraloutdoors.com/store/
The link you provided doesn't seem to be working
-
Re: Cold Steel Template Support Thread
You may have to give it some time. Its supper slow loading. But it works
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
MattS
Clyde, Thanks for your templates. I have tried several other templates that were not yours and none worked out.
I have been trying to figure out as much as I can but I am getting a list of questions. Here are 2.
I am going to remove pretty much the whole top banner area and need to move the (Home Log In/Register) links down to the next bar down. I also want to remove the date all together.
The other question is, Where do I edit the links that show up in the Information block on the side.
my build for ref,
http://www.centraloutdoors.com/store/
You can create internal links using ez-pages for these links
You can open includes/templates/cold_steel/css/stylesheet.css
find the following declarations: and make the highlighted changes:
.date {
display:none;
padding-left:5px;
position: absolute;
top: 95px;
right: 20px;
color:#000;
font-weight: bold;
text-align: left;
font-size: 1.2em;
line-height:normal;
}
#navMainWrapper {
display:none;
position:absolute;
left: 201px;
top: 90px;
font-size: 1.2em;
}
if you don't want the information box to display turn it off.
admin -> tools -> layout boxes controller
-
Re: Cold Steel Template Support Thread
Thanks, got those removed and will add what I want back with the EZpages.
I want the information box displayed, I just want to remove pages and add new pages to it. How do I?
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
MattS
Thanks, got those removed and will add what I want back with the EZpages.
I want the information box displayed, I just want to remove pages and add new pages to it. How do I?
personally, I don't use the information sidebox. I've created internal links in ez-pages and assigned them to the ez-pages sidebox.
That said,
A lot of the links in the information sidebox can be turned off in admin.
if you want to add links then open includes/modules/sideboxes/information.php
use the current entries as your model and add new links as desired.
-
Re: Cold Steel Template Support Thread
thanks again, your right on the ezpages route. It does seem to be the best way to go.
-
Re: Cold Steel Template Support Thread
Couple more quick fixes.
I can't get rid of the "New Products" in the middle column. Its turned off in the layout box controller.
Also, refer to my site. I would like the info at the very bottom (copyright......) to be centered on the page. I figured out the ezpages, but can't find that one.
Thanks
Matt
http://www.centraloutdoors.com/store....php?main_page
-
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
MattS
Couple more quick fixes.
I can't get rid of the "New Products" in the middle column. Its turned off in the layout box controller.
Also, refer to my site. I would like the info at the very bottom (copyright......) to be centered on the page. I figured out the ezpages, but can't find that one.
Thanks
Matt
http://www.centraloutdoors.com/store....php?main_page
admin -> configuration -> index listing -> Show New Products on Main Page (set to 0)
open includes/templates/cold_steel/css/stylesheet.css
find the following:
#siteinfoLegal {
margin:0;
padding: 0 15px;
font-size: 0.9em;
text-align:right;
width:619px;
line-height:normal;
clear:both;
float:right;
}
and replace with:
#siteinfoLegal {
margin:0;
padding: 0 15px;
font-size: 0.9em;
text-align:right;
width:619px;
line-height:normal;
clear:both;
text-align:center;
}