OK, but the custom template will be what I have already done? What do you mean by upgrade the cart?
OK, but the custom template will be what I have already done? What do you mean by upgrade the cart?
Every few months (more or less) a new version of Zen Cart is released, with new features and fixes for problems that have been found. Even if you don't need the new features, it is always good to upgrade so your cart will work its best and be secure.
If you don't have a custom template, your customizations will be erased when the new files are loaded. The custom template (override) system keeps your customized files in a safe place where they will automatically be used when they are needed.
The Classic template was intended only for people upgrading from old versions of ZC and is not really suitable for building a new store.
If you have already altered the Classic template files to your liking, the simplest fix would be to copy all /classic/ folders and the files in them and rename the copied folders to /your_template/, then follow the directions in the FAQ for editing template_info.php and activating your template.
The *best* fix would be to apply your styling to a copy of /template_default/ or the free future_zen template you can download (button at top of page).
In your code snippet
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
you would probably insert your link code before the </div>
...lumn_right.php')); ?><your link code goes here></div>
Good luck!
Ok, I'll give that a try. I very tedious to us the file manager in cPanel, would it be better to use a FTP client like SmartFTP? It's probably easier to move files around.
Creating folders and copying files in cPanel will probably work fine, but I understand it is not recommended for editing files - it tends to put undesirable characters/symbols in without telling you.
FTP'ing copies to your local computer, editing there and FTP'ing back as the desired custom template files is the recommended practice. FileZilla is another respected FTP client.
Hi there:
I took advantage of this thread and add a Image link on my right side column.
I followed instructions and it worked. But my image shows at the end of the right column. Is there any way that we can handle the position of this image link ?
I'd like to have some others image links; one on the first position of the righ column and other on the middle and at the bottom, etc
Appreciate your help.
Thanks![]()
aldo
Adding an image link at the top of the sidebar is as easy as adding it at the bottom. Just put your code at the beginning of the div:
PHP Code:...echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MOD...Other positions will be trickier. You will have to look in the php file where the column_right boxes are assembled (it is called by tpl_main_page.php). It will likely not just be a matter of dropping code into a spot. Good luck! :)PHP Code:...echo BOX_WIDTH_RIGHT; ?>"><your link code><?php require(DIR_WS_MOD...
I'm trying to follow the instructions for creating a custom template and using a ftp program it will not allow me to copy and paste files into the new directory. it only transfers. why is this? its very frustrating to have trouble with something that seems to be simple.
Kim,
I have tried to follow the directions to create a custom template, but when It asks to copy the css files to my own css directory in my custom "winegear" folder it won't let me copy and paste it only wants to move the existing files. How do I get it to copy the files to my new css directory?
Thanks Glenn,
How do you use one of these new templates? Are there instructons? As you can see I'm rather confused with it all. but I'm persistent and have to finish this shop for my client.
Go to http://www.portlandwinegear.com/shop and you can see what a mess it is since I created a custom template. I want to get rid of all the purple and pink! why would that replace the basic orange theme with these bad colors to begin with??
I made some progess with the shop, now I want to add the logo-link to the lower right hand column, do I ftp the image to my image folder at:
includes/templates/my-winegear-template/image ?