Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Category name shows under sidebox image

Category name shows under sidebox image

Locked

Views: 1,202

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
31 Mar 2009, 2:48 PM
#1
tcooptx avatar

tcooptx

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Category name shows under sidebox image

I've searched everywhere for an answer. I am using ver. 1.3.8 at my zen store The Bitty Baby Shop

  1. I created an image called Our Favorites for the center box heading (I can't remember if I'm replacing New products or Featured Product files :dontgetit), but the category name is showing through. I can't determine if I switch this off in Admin or change in the code somewhere? If you go to my store and click on the category called Twenty Dollars you will see what I mean on that page.

  2. Is there a way to change the invoice numbers to start somewhere other than 1? I really don't want my customers to know they are only customer #5 or sale #10- trying to create an experienced image, you know? :blush:

I'm really new at this so please give very detailed instructions. Thanks so much for everyone's help.

31 Mar 2009, 3:19 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Category name shows under sidebox image

  1. The easiest way to control the heading text here is to install Image Titles, which will automatically suppress the extra text if you have an image for the location.

  2. Admin > Tools > Store Manager > Reset Current Order ID.

2 Apr 2009, 12:19 AM
#3
tcooptx avatar

tcooptx

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Re: Category name shows under sidebox image

Hi Glenn, thanks for the response. I installed images as titles, but I still have the same problem. It is probably because I had a hard time with the read me instructions: when I made the changes to the php files (featured, new products, and specials index) I ended up with no products showing at all. When I commented out my changes, I got my product images back along with the category name text under my image- which is what I was trying to get rid of in the first place.

Was I supposed to name my image centerboxhead-new.gif? I'm confused. Please help.

2 Apr 2009, 12:39 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Category name shows under sidebox image

Perhaps the readme wasn't clear enough: you do not have to make any file edits yourself - the edits are described for information only. The files that come with the mod already have all of the needed edits.
"The code procedures given are for information only; the files have already been edited. You only need to create image files as directed."

The only manual editing would be if you wanted category- or month-specific images for the centerboxes, as described at the bottom of the readme.

Yes, the image titles would be as you mention:
"Name your header title images centerboxhead-featured.gif, centerboxhead-new.gif, and centerboxhead-specials.gif and save in /your_template/buttons/your_language/."

2 Apr 2009, 3:07 AM
#5
tcooptx avatar

tcooptx

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Re: Category name shows under sidebox image

I restored all three of the php files. I renamed my image: centerboxhead-featured.gif; centerboxhead-new.gif; centerboxhead- specials.gif;

Question: I'm only using one image as my center box heading on all pages. Did I really need to do a save as/rename the same image three different ways? That's what I did, but not sure if correct.

Question: I did not originally have a folder called /shop/buttons/english so I created one in includes/templates... was this correct?

Thanks for your help. My site is at www.bittybabyshop.com

2 Apr 2009, 4:08 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Category name shows under sidebox image

Yes, the code looks for a filename that follows the exact convention for each centerbox, so even if it is the same image, you need a copy with the correct filename for each type of centerbox. If you are not using the featured or specials centerboxes, you do not need filenames for them.

You should have an /includes/templates/shop/buttons/english folder for the images, but if you uploaded the Image Titles mod as directed, it would already be there. The fact that you had to create it indicates that you may have missed some step in the installation. Is there a /your_template/ folder anywhere on your server, especially under /includes/templates/ ?
If so, its contents should be moved to /shop/.

I see that sidebox title images are coming from /shop/images/ instead of from /shop/buttons/english/, which means that you are not using Image Titles for those.
Likewise, there is no image or text being output for the centerbox heading:

<!-- bof: whats_new --> <div class="centerBoxWrapper" id="whatsNew"> <h2 class="centerBoxHeading"></h2>

which may mean that you incorrectly restored the file. Try re-uploading the mod files, paying attention to setting foldernames first as the readme directs, and see what you get. Did you edit sidebox files individually with the tutorial? That is the hard way to get what Image Titles does for you automatically.

I notice that you have a missing quote " which is likely causing some problem:

<div class="centerColumn" id="indexDefault"> <div id="centerColumnHeader></div> <h1 id="indexDefaultHeading"></h1>

should be

<div class="centerColumn" id="indexDefault"> <div id="centerColumnHeader"></div> <h1 id="indexDefaultHeading"></h1>
8 Oct 2009, 6:46 AM
#7
xman888 avatar

xman888

Zen Follower

Join Date:
Jan 2007
Posts:
226
Plugin Contributions:
0

Re: Category name shows under sidebox image

Hello,

Spot on with the help once again,

Kind regards,
Anthony