Main Logo

How do you replace the main logo (cscart) with your own? Do I have to use an FTP program and change the img src or can I do it in the admin section?



brand new to cs cart used zen cart previous. Thanks.

You need to ftp your logo to



skins/skin_your_using/customer/images



then open up



skins/skin_your_using/customer/top.tpl (i prefer using ftp for my tpl editing)



Line 8 you will find


[img]{$images_dir}/cscart_logo.gif[/img]



edit the image name with your logo filename (my_logo.gif) and also edit the height and width properties to match your logo file.



Save the file, and overwrite the original top.tpl

Thanks alot!

I thought there was no code editing required for CS-Cart? Granted, it’s not very hard to do the edit, (thanks for a great explanation ETInteractive), but it’s clearly not what is advertised. I couldn’t find the procedure on how to do this anywhere in the manual either. I hope they correct this.



Cheers,

Mike Keeney

Whatever cart software you go with you’ll always have to edit a bit of code to get it to look how you want it to. If they started adding options to change the logo it wouldn’t be so versatile.



Although it does say “No programming knowledge required” it also says “100% template driven storefront and backend” which, to me anyway, means that in order to get it to look how you want it to you’ll have to edit the templates but won’t need to touch the ‘code’.



Glad you got it sorted anyway.

Simon

[quote name=‘recedo’]Whatever cart software you go with you’ll always have to edit a bit of code to get it to look how you want it to. If they started adding options to change the logo it wouldn’t be so versatile.



Although it does say “No programming knowledge required” it also says “100% template driven storefront and backend” which, to me anyway, means that in order to get it to look how you want it to you’ll have to edit the templates but won’t need to touch the ‘code’.



Glad you got it sorted anyway.

Simon[/QUOTE]

You make a good point, there’s no way, at present anyway, to get around having to massage some code. The problem is that people like me don’t have the background or resources to tweak code safely. For you, it might not be any big deal to tinker with a template, but to me, there’s little difference between editing a template and editing ‘code’. From what I can see, I can wreck either by a misplaced comma. The difference is, I wouldn’t know how to troubleshoot the problem and am left with no choice but restoring a backup. Granted, that’s kind of an extreme scenario, but it could still happen. I’m getting the ‘trial by fire’ education about PHP, which is good in the long run.



Cheers,

Mike

You could also just replace the original logo image with your logo image with the same size and keep the image name the same as the original. Then you would not have to adjust any code.

[quote name=‘keith’]You could also just replace the original logo image with your logo image with the same size and keep the image name the same as the original. Then you would not have to adjust any code.[/QUOTE]



Yes, that would probably be a good idea!


[QUOTE]I’m getting the ‘trial by fire’ education about PHP, which is good in the long run.[/QUOTE]



The code in the templates is html and not php. What is meant by not having to program anything is not touching the php code.



I understand where you are coming from with regards to little or no knowledge of html, however to get your own site up and running you’re going to have to learn at least the basics. There are pleanty of resources out there on the web or in your local book shop.



Good luck!

Actually, I don’t have much of a problem with HTML. I built our first website back in the days when the web was brand new and Netscape had just released its first browser. Frankly, PHP is probably easier to learn today than HTML was back then.



In looking through the files I see things that are familiar, such as HTML, but they’re also interspersed with calls, commands, hooks, etc., to PHP code.



I suppose what I’m looking for is an all encompassing solution that can do everything I want without me ever needing to hand edit a single letter of code. But wait, they already have a program that does that, it’s called Micro$oft FrontPage. :rolleyes: Been there, done that, threw it away because it was making decisions I didn’t want, didn’t like or couldn’t agree with. The moral of the story, the perfect program doesn’t exist. It never will. I bitched and moaned about HTML, but I learned enough about it to build some nice websites. Now we have PHP, ASP, .NET, Java, and the latest incarnations of Visual Basic. So what’s holding me back form learning all of this? Well, for starters, I don’t have the time. But I also don’t have the money to hire someone to do everything for me either. That’s why I turn to pre-made solutions such as CS-Cart. It does allot of what I need very easily, other things are not so easy. Being new to this and all on my own, I have to turn to other resources, such as asking for help here on this forum. I’m very grateful to everyone who jumps in to help me and others, and I know that soon enough I will start being the helper as well as the help-ee.



Cheers,

Mike

Mike,



One of the ways that I edit my site is to turn on the Template Debugging Console (Administration > Settings > General) which will list all of the files that are being used to build the CS-Cart page you are currently viewing. As you click on different pages, the Console will update. If you are also familiar with editing HTML by hand (no Frontpage or Dreamweaver) and have command line access (SSH) to your host, then it makes editing very easy. In addition, you can use the grep *nix command to search for strings within files.