Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
Slow to respond? You've made 10 posts and the average time to respond to them was around an hour. Not to mention the additional assistance given to you by haredo.
Not sure what coding you're talking about.
The file structure of the template is the same as the Zen Cart Structure:
All the necessary folders/files are located in the includes folder of the template.
One can either upload (FTP) the entire includes folder to the server and the template folders/files will go where they belong.
OR (as you've apparently done)
One can open the includes folder and each of the necessary folders/files and upload them individually to the appropriate location on the server.
Not sure how you tell time but respond time was 3 hrs. Not counting the private message I sent you. Neither here or there.
"You can just FTP the whole /includes directories to your site".
This is not a good discription on how to. Should say upload includes folder to override existing includes folder.
Thank you for your help and yes haredo is the man, Very good teacher and well indepth explantations of how to use Zen Cart. Learned more from haredo in a hour than in three days of reading on this forum.
Don't mind asking for help, giving credit where credit is due and don't ming Donating for good advice.
Please be assured that I don't want to be a php programer. If I didn't have so much time in this and know what I know now I would have bought a cart.
I guess this will piss everyone off, I'm sorry but we all are not php people.
Thank You,
Bob
Re: Cold Steel Template Support Thread
Hi again.
Got a new problem when i try to translate it to swedish it works fine with english when i change the language default swedsih the site go blank and i got this error message...
[21-apr-2009 00:42:53] PHP Fatal error: Cannot redeclare zen_date_raw() (previously declared in /customers/textsystem.se/textsystem.se/httpd.www/includes/languages/cold_steel/swedish.php:41) in /customers/textsystem.se/textsystem.se/httpd.www/includes/languages/swedish.php on line 92
Do anyone have a clue?
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
http://www.textsystem.se
// Rikard
Think i got it.. it was my languages/swedish.php file it was something wrong with... i copy english.php file and renamed it to swedish and now its fine again =)
Re: Cold Steel Template Support Thread
Love the layout of this template, however I have a question. I've made significant changes (all graphics have changed, as well as the position of many of the boxes, etc). Am I able to change the 'Cold Steel Template Design by Clyde Jones' text in the footer? I've looked through every file but cannot find it.
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
zingslings
Love the layout of this template, however I have a question. I've made significant changes (all graphics have changed, as well as the position of many of the boxes, etc). Am I able to change the 'Cold Steel Template Design by Clyde Jones' text in the footer? I've looked through every file but cannot find it.
Never mind I found my answer .
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Hi Clyde,
I am brand new at PHP and Zen cart. Have spent ages looking for some step by step guides on changing header content.
I have .swf file that i want to use as my header it also has the navigation on it.
Where do I include it on the cold steel template header? A
nd what can I take out of the header? I have noticed that if I take out
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
then the page is blank.
I managed to get my flash to work in the original template with zen cart but I really want to use your 2 column set up.
Some help to start would be great.
Thanks
Renate
I managed to get my flash to work in the original template
Can you post the code you used for this?
Then I can figure out where it should go.
Re: Cold Steel Template Support Thread
Here is the code
<object type="application/x-shockwave-flash" data="includes/templates/iqtpl/images/flash/3427.swf" width="716px" height="180px">
<param name="movie" value="includes/templates/iqtpl/images/flash/3427.swf" />
<param name="quality" value="high">
<param name="BGCOLOR" value="#000000">
<param name="menu" value="false">
</object>
the address is
www.cardstands.com.au
I placed this code inbetween the following
<div id="headerWrapper">
<div align="center">
<!--bof-branding display-->
<object type="application/x-shockwave-flash" data="includes/templates/iqtpl/images/flash/3427.swf" width="716px" height="180px">
<param name="movie" value="includes/templates/iqtpl/images/flash/3427.swf" />
<param name="quality" value="high">
<param name="BGCOLOR" value="#000000">
<param name="menu" value="false">
</object>
<!--eof-branding display-->
You will see here I am not sure how to get rid of the tagline....
I can't for the life of me get rid of the white block that appears behind my links. Any ideas as to where this is on the css?
THanks a heap
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Here is the code
<object type="application/x-shockwave-flash" data="includes/templates/iqtpl/images/flash/3427.swf" width="716px" height="180px">
<param name="movie" value="includes/templates/iqtpl/images/flash/3427.swf" />
<param name="quality" value="high">
<param name="BGCOLOR" value="#000000">
<param name="menu" value="false">
</object>
the address is
www.cardstands.com.au
I placed this code inbetween the following
<div id="headerWrapper">
<div align="center">
<!--bof-branding display-->
<object type="application/x-shockwave-flash" data="includes/templates/iqtpl/images/flash/3427.swf" width="716px" height="180px">
<param name="movie" value="includes/templates/iqtpl/images/flash/3427.swf" />
<param name="quality" value="high">
<param name="BGCOLOR" value="#000000">
<param name="menu" value="false">
</object>
<!--eof-branding display-->
You will see here I am not sure how to get rid of the tagline....
I can't for the life of me get rid of the white block that appears behind my links. Any ideas as to where this is on the css?
THanks a heap
Open includes/templates/cold_steel/common/tpl_header.php
First: find the following section of code: Delete the highlighted portion and replace it with your code.
Code:
<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>
Second: find and delete this section of code:
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-->
Save the edited file and upload to your server
Re: Cold Steel Template Support Thread
Thanks so much that is a ripper!!
There is now a pretty big gap between the flash and the top of the main page. How do I reduce this?
In the CSS accompanying this template there are so many text variations for the different columns and categories. Can I delete these and just have global settings for my a: links?
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
thevagr1
Thanks so much that is a ripper!!
There is now a pretty big gap between the flash and the top of the main page. How do I reduce this?
In the CSS accompanying this template there are so many text variations for the different columns and categories. Can I delete these and just have global settings for my a: links?
open includes/templates/cold_steel/css/stylesheet.css
This will reduce the gap.
find the following declaration and add the highlighted portion:
#logoWrapper{
display:none;
margin:0;
height:112px;
width:917px;
position: relative;
top:0;
left:0;
}
You can modify the template any way you want to achieve the look you want.