Zen Cart Logo
Forums / General Questions / Trouble Trying to edit header

Trouble Trying to edit header

Views: 1,523

Results 1 to 17 of 17
15 Apr 2012, 5:07 AM
#1
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Trouble Trying to edit header

Hey guys,

First post, hoping you can help me out.

My site is amphobby.com. Things got complicated when I changed the template. Take a look to see how messed up the header is. That is the right logo, but only half appears. How and where can I edit the size? I'm not even sure what I did (and where I did it) to get the logo on there in the first place. Also, how and where can I edit the other half, the part that when you mouse over says HEADER_AD_TEXT. Thank you so much, I have spent way too much time trying to solve this myself :censored::yuck::frusty:

15 Apr 2012, 8:03 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Trouble Trying to edit header

Who designed that template? It looks awful messy?

Additionally, if you take pics of products with a digital camera, these need RE-SIZING before you load them up to the site. Your images are MASSIVE - both in dimensional as well as file size.

Your site is slower than the cooling rate of the sun. You must OPTIMISE images (both in dimensional AND file size).

Try a different template... As a novice, you are going to battle with that one.

The ones from 12leaves are quite nice, and they are reliable

15 Apr 2012, 2:46 PM
#3
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

LOL @ cooling rate of the sun, nice :P

Thanks for the reply. You're talking about the item pictures? (those are fake listings, by the way) Yeah, they are massive - I have them re-sized on photobucket, what size would you recommend?

I got the template (bluecart) from this page here (simply liked the look of it)

Those templates look great - I'll likely select a new one. Thanks for the link. Is there anything I need to do to "clear" what I may have messed up with this template before adding a new one?

Thanks for all the help.

15 Apr 2012, 4:40 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Trouble Trying to edit header

There is a nice image edit tool available at coolutils. It's commercial, but very cheap. It can re-sample and save images at different sizes and aspects.

Also... when you take pictures, try not to make them look as if you just put the item on the bedroom carpet first. Images are your BIGGEST SELLING TOOL... Bad images will lose you sales. Use a well-ironed, plain white bed sheet as a background. If you can, set up a table outside, so you use natural light. Better on a cloudy day so there are soft shadows. Take several pics of the products at different angles, and then use the additional images feature to show those images along-side a main image.

Image NAMES should all be lower-case letters, followed by the extention .jpg in lower-case. No SPACES in images names, and better to not have capital letters. No SPECIAL CHARACTERS (%,$,@,#,{ )

15 Apr 2012, 5:12 PM
#5
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

schoolboy:

Image NAMES should all be lower-case letters, followed by the extention .jpg in lower-case. No SPACES in images names, and better to not have capital letters. No SPECIAL CHARACTERS (%,$,@,#,{ )

That last may be my problem. Let me test a couple things. I appreciate all the help and advice :) I switched my template now as well.

15 Apr 2012, 5:17 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Trouble Trying to edit header

Your have not loaded your template correctly. You have not loaded some LANGUAGE files to the right place. That is why you are seeing things like: HEADER_SHOPPING_CART_EMPTY

15 Apr 2012, 5:22 PM
#7
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

I just followed all instructions in this video:

youtube.com/watch?v=dcU-69h-ONc

What else do I need to do?

Still can't figure out where or how to edit the logo

15 Apr 2012, 6:36 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Trouble Trying to edit header

Rather read the instruction in the template's README file...

15 Apr 2012, 8:30 PM
#9
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

Nothing was working the way the tutorials said - I have removed Zen Cart now and am going to start piecing it back together.

15 Apr 2012, 8:44 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Trouble Trying to edit header

AMP Hobby:

Nothing was working the way the tutorials said - I have removed Zen Cart now and am going to start piecing it back together.

Why be so radical? This is like dismantling your entire car just to empty the ash tray...

15 Apr 2012, 8:46 PM
#11
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

:D Yeah, but I had hardly gotten anywhere anyway, just getting a new start :)

15 Apr 2012, 10:40 PM
#12
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

Take another look at my site... my logo is edited, but how do I change the "Zen Cart Make your business better" thing?

16 Apr 2012, 1:32 AM
#14
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

Thanks, but how do I look up that image at the top to know where to edit it?

16 Apr 2012, 4:16 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Trouble Trying to edit header

I see an "AMP Hobby" logo in the top right corner now, so I guess you already realized that you can right-click on the image and find the path to the image and then replace that file on your server with the new image you wish it to use. And better yet, put the replacement in your custom template's own images folder so that it overrides the defaults, as explained in the other templating Tutorials/FAQs articles.

21 Apr 2012, 8:40 PM
#16
amp_hobby avatar

amp_hobby

New Zenner

Join Date:
Apr 2012
Posts:
9
Plugin Contributions:
0

Re: Trouble Trying to edit header

DrByte:

I see an "AMP Hobby" logo in the top right corner now, so I guess you already realized that you can right-click on the image and find the path to the image and then replace that file on your server with the new image you wish it to use. And better yet, put the replacement in your custom template's own images folder so that it overrides the defaults, as explained in the other templating Tutorials/FAQs articles.

Gotcha. But take another look. (amphobby.com) I got my logo looking nice. However, this trick doesn't work with the HEADER_AD_IMAGE on the right. The file path does not point to any type of image file :wacko: I can't replace it with a .gif like I did with the logo. Help!

30 Apr 2012, 4:04 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Trouble Trying to edit header

Well, Zen Cart doesn't come with anything talking about HEADER_AD_IMAGE or HEADER_AD_TEXT. So it's coming from something you've added.
On a technical level, you're missing define() statements for those constants. So, you probably failed to upload a required file for the template you installed, or something similar.
The file probably contains something like the following, and probably belongs in a folder like:
/includes/languages/english/YOUR_TEMPLATE_NAME_HERE/extra_definitions/somefilename.php : ```

<?php define('HEADER_AD_IMAGE', 'myheaderadimage.jpg'); define('HEADER_AD_TEXT', 'This is the advert text to show over my wide image'); ```