Zen Cart Logo
Forums / Addon Templates / Pure green header and top menu buttons problem

Pure green header and top menu buttons problem

Locked

Views: 3,420

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
28 Sep 2010, 11:35 AM
#1
hound avatar

hound

New Zenner

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

Pure green header and top menu buttons problem

Just starting to finally upgrade to 1.39f and installed this new template. Here is the link to our test site. http://update.wholesomehound.com/

Have a few questions.

  1. The text on the Header button for the cart is showing up wrong. How and where do I edit this.

  2. I also have the same problem on the top menu with the featured products button.

  3. How can I get the categories on the left side box to expand when clicked on to show the different subcategories?

  4. How and where do I add content to the top right "Important Links" sidebox and bottom left "More Information" sidebox?

I'm a novice programmer, so please keep that in mind when answering. Sometimes ya'll lose me! :D

28 Sep 2010, 12:36 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pure green header and top menu buttons problem

1&2 -

https://www.zen-cart.com/tutorials/index.php?article=95
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

3 - Admin - Configuration - Layout Settings - Categories - Always Open to Show SubCategories to 1, and hope your template designer didn't remove that feature.

4 - The 'Important Links' sidebox lists your EZ pages. Add more EZ pages to add content.

28 Sep 2010, 6:21 PM
#3
hound avatar

hound

New Zenner

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

Re: Pure green header and top menu buttons problem

Thanks!
Number one magically fixed itself. Go figure????

For #2;
Here is the line of code that I found that references the Featured Products Button

Line #48 : <li id="<?php echo $active;?>"><a href="index.php?main_page=featured_products"><?php echo TOP_MENU_FEATURED_PRODUCTS;?></a></li>

What is the correct syntax for adding the title? Not sure where to plug it into this line. Is it before or after the semi colon and does it need to be in parenthesis?

I also did as you said in #3 and it is acting VERY weird. Any ideas? The display is off terribly.

Did find the solution to #4 and it works.

Thanks for the help! Anna

28 Sep 2010, 7:04 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pure green header and top menu buttons problem

You don't add stuff to the page code, generally.

TOP_MENU_FEATUED_PRODUCTS doesn't exist in a stock Zencart installation, so it's something your template designer added, or a mod you installed.

I don't see what's wrong with #3.

28 Sep 2010, 7:26 PM
#5
hound avatar

hound

New Zenner

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

Re: Pure green header and top menu buttons problem

On #3 the subcategories only display after a click and by that time you are already navigated to another page. Also, each sub category has an I_ in front of the name such as I_Acana and the spacing is off. I was hoping it would pop out like a drop down menu or expand without a click. Guess I want too much. LOL

The template is Pure Green and the only reference I can find to Top_Menu_Featured_ Products is that line. So, what should I do at this point? It is clearly not working right. Is there a way to just remove the button?

29 Sep 2010, 11:29 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pure green header and top menu buttons problem

Sounds like you want the subcategories to pop out on hover.

There's this:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=75

I haven't used it.

Check to make sure all the files in the template package were uploaded successfully. That should be defined somewhere.

30 Sep 2010, 11:27 AM
#7
hound avatar

hound

New Zenner

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

Re: Pure green header and top menu buttons problem

Thanks!! That definitely looks like what I want but the readme file does not tell you WHERE to install the files. Any ideas on what directory to copy them to for the install?

30 Sep 2010, 12:53 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pure green header and top menu buttons problem

Just change the folder named YOUR_CUSTOM_TEMPLATE_NAME to the name of your template, then drag the 'includes' folder in the mod to the root (top directory) of your store. The files and folders will fall where they belong.

5 Oct 2010, 3:16 PM
#9
hound avatar

hound

New Zenner

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

Re: Pure green header and top menu buttons problem

Last problem and I am ready to go live. When I add products to the cart the display for the cart at the top right shows something like this instead of just the subtotal. Any clue where to fix this? http://update.wholesomehound.com/
HEADER_PRODUCT_AMOUNT1, HEADER_CART_SUBTOTAL$2.59
Checkout

5 Oct 2010, 3:27 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Pure green header and top menu buttons problem

https://www.zen-cart.com/tutorials/index.php?article=95

You have several constants (the uppercase stuff) that aren't defined. None exist in a stock Zencart installation, so it's most likely a language file from your template package that didn't get uploaded.