Forums / Templates, Stylesheets, Page Layout / It has been asked before - but no clear answer

It has been asked before - but no clear answer

Locked

Views: 2,777

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
31 May 2006, 3:45 AM
#1
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

It has been asked before - but no clear answer

I have been working on Mambo-Joomla for several years now so I am pretty uptodate with PHP, MySQL, and CMS's in general.

I have to say - ZENCART is something else. ;-)

Here is a URL:
http://www.wisdomee.com/cart/

I am trying to get the logo to display in its entirety.

I have searched the archives for adjusting templates to
accomodate the header_bg.jpg and the like.

All I have found are numerous different answers that lead nowhere.

This is the first time in a long time where I feel stupid.
Suggestions?
Trust me - I have searched everywhere and played with every file;
english.php, header.php, tpl_header.php

All I want to do is show the header_bg.jpg in full size.
I have been designing webpages since 1994.
ZenCart is confusing!

31 May 2006, 4:08 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

includes/languages/english/header.php - make your copy, put it in your override directory and change the following section:

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
  define('HEADER_SALES_TEXT', 'TagLine Here');
  define('HEADER_LOGO_WIDTH', '192px');
  define('HEADER_LOGO_HEIGHT', '64px');
  define('HEADER_LOGO_IMAGE', 'logo.gif');

The image is still using those defined sizes.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

31 May 2006, 4:10 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

I do have one question, if you don't mind.

Why put your logo in the background instead of the foreground?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

31 May 2006, 4:30 AM
#4
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Kim:

I do have one question, if you don't mind.

Why put your logo in the background instead of the foreground?

Actually -- I am not trying to do that at all.

header_bg.jpg IS the logo.

I am try desperately to find a reference to it somewhere
and all I am getting from all the reading is a runaround.

I have never seen such a convoluted system as ZenCart.

I guess I have spent way too much time on Joomla and Mambo!

:-)

31 May 2006, 4:32 AM
#5
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Kim:

includes/languages/english/header.php - make your copy, put it in your override directory and change the following section:

In my "override" directory?

I have placed "header.pho" in a variety of places
as described in the forums and DOCS...

and nothing has happened.

Refresh my memory please:

Where is the override directory?

--frustrated.

31 May 2006, 4:42 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: It has been asked before - but no clear answer

I'm sorry you're finding it difficult to understand the terminology we're using.

The "overrides" system is another name for the "foldername used for your custom template, as it relates to various components of the system".

There are "template" folders for "templates" and "languages", as well as "modules" and "sideboxes" and a few other things.

They all work together to make it very simple to switch between templates when necessary, as well as to make identifying files to be careful with when upgrading.

The FAQ's section has a number of good articles on the template system, which should help clarify things greatly for you:
http://www.zen-cart.com/forum/faq.php?faq=catalog_issues#faq_template_customize

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 May 2006, 4:43 AM
#7
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Colin,

In case you need more help on the overrides, take look at this thread - http://www.zen-cart.com/forum/showthread.php?t=36567. Admittedly, it leads you to other places but should help overcome the "This is the first time in a long time where I feel stupid" factor.

As for your concern that > All I have found are numerous different answers that lead nowhere.
know that there only about five questions that I can answer and yours is one of them. In checking my threads and it looks like I have answered it 15+ times in May.

Suggest you read the FAQ and Wiki. With your knowledge of php you should catch on quickly and make great contributions to the Zen Cart community.

Best wishes.

PS - In case you are not aware, Kim is one of the devs here and whatever she says you may consider gospel. So if it does not work, it is most likely a ebkau problem

31 May 2006, 4:56 AM
#8
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

I really appreciate the people that have jumped in --

new problem:
http://www.wisdomee.com/cart/index.php?main_page=index

My "Logo" is, well obviously, too wide now...
And I am wondering if there is a setting somewhere that
I have missed.

Sorry to be a whiner, but with Joomla CMS, there is
an index.php and a template.css

With ZenCart, one is dashing all over the place updating all kinds
of files that seem to have little or no logical relationship to
one another - files here, files there.

Frankly, I am astounded.

I will keep trying though -- I really want to make this work.
Colin
Editor/Creator: https://www.coffeecrew.com - https://www.bobharris.com - https://www.dxer.ca - https://www.wisdomee.com etc etc etc

31 May 2006, 5:01 AM
#9
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Colin-

I can empathize with you- I throw up my hands and cuss whenever I have to work with a system I am not familiar with - should have heard the swearing with vBulletin.

At first the overrides system with be confusing, but I promise there is a method to the madness and after working with it for a while you will suddenly see the light and understand the reason it is the way it is. It is so wonderfully flexible that you will ask yourself how you ever designed before.

Please take a deep breath and start at the beginning. :wink2:

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

31 May 2006, 5:11 AM
#10
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

I appreciate that.

I need to put it aside for the evening.

Tired.

31 May 2006, 5:23 AM
#11
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Hi Colin,

I am barely able to spell CSS much less program it, but, it looks like your header is repeating rather than too wide. Maybe the norepeat; command in the logowrapper.

Also, sorry to be the bearer of bad news, but, the Classic tempate is a holdover from previous versions. You would really be better off to start with template_default or Kuroi's template rather than starting with the Classic template.

One nifty suggestion I read was to delete all the files from the /classic folders and then as you edit files put the in the appropriate /classic folder. It will help you to know where you edits go a little more easily.

You will only edit files that are essential to get your information in the cart. Those files will be your new template and they go in various folders in /includes and a few in /admin (look for /custom). The core files don't get touched except by the devs for patches, upgrades etc. Your customized files don't get overwritten since they are in the /custom, /classic, /your_template, /whatever folder.

When you turn on your template in the admin, it uses the default file unless there is a customized version in you override folder.

This is the 60 sec version of what is in the thread that I referred you to. Took me many times through it to pretend that I understood. STRONGLY suggest you read the tutorial by NetworkDad in the FAQ (and in my thread from earlier) for more on this.

Don't give up.

31 May 2006, 6:13 PM
#12
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: It has been asked before - but no clear answer

Thanks for the help everyone - It is all starting to fall into place.

I think, if anything, I have spent so much time working on the
same CMS systems (Mambo-Joomla) and their associated extentions-API.

So much so that I have forgotten how to stretch my brain-cells into unusual shapes.

ZenCart is different (and immensely powerful), I will grant you that!

Cheers,

Colin -

https://www.coffeecrew.com | https://www.bobharris.com | https://www.wisdomee.com | https://www.dxer.ca | etc