Forums / Templates, Stylesheets, Page Layout / Add item to breadcrumb and Special Instructions box

Add item to breadcrumb and Special Instructions box

Locked

Started by jordanwb on 16 Mar 2009, 2:23 PM · Views: 1,025

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
16 Mar 2009, 2:23 PM
#1
jordanwb avatar

jordanwb

New Zenner

Join Date:
Feb 2009
Posts:
18
Plugin Contributions:
0

Add item to breadcrumb and Special Instructions box

The breadcrumb starts with "Home" which makes sense but I want to rename it to "Store" and add an item before that entitled "Home" which will go up one directory. How do I do that?

Also on step 2 of 3 the Special Instructions box is too short (3 rows) where do I increase it?

16 Mar 2009, 2:57 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Add item to breadcrumb and Special Instructions box

jordanwb:

The breadcrumb starts with "Home" which makes sense but I want to rename it to "Store" and add an item before that entitled "Home" which will go up one directory. How do I do that?

Also on step 2 of 3 the Special Instructions box is too short (3 rows) where do I increase it?

Jo,
First start with this powerful tool and learn how helpful she will be for you to find your question

Developers Tool Kit

Look in your Zen Cart Admin Panel/ Tools/ Developers Tool Kit

You will find a very handy toy for doing searches of the php files and configuration tables ...

Use the bottom input box to enter any text, code, etc. that you are looking for

  1. Place text or code what you are looking for Ex: Home
  2. Then select Catalog, Admin or Both
  3. ... click search ...

This will show you all files that contain the text, code, etc. that you are looking for

This will check the configuration table and the product_type_layout table for configuration_keys that can be customized via the Zen Cart Admin without the need to touch any of the code

  • The top input box can be used to search for constants, the things in ALL_CAPS and select NONE from the dropdown and click search

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 Mar 2009, 3:15 PM
#3
jordanwb avatar

jordanwb

New Zenner

Join Date:
Feb 2009
Posts:
18
Plugin Contributions:
0

Re: Add item to breadcrumb and Special Instructions box

I searched for 'name="comments"' in all files but it couldn't find anything.

16 Mar 2009, 3:30 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Add item to breadcrumb and Special Instructions box

jordanwb:

I searched for 'name="comments"' in all files but it couldn't find anything.

Jo,
How I tracked this little delima down was:

  1. I view source the page
  2. developers tool kit: search for comments
  3. find: 3
  4. includes/ templates/ your_template/ templates/ tpl_checkout/payment_default.php
  5. Find this:
  6. <fieldset>
<legend><?php echo TABLE_HEADING_COMMENTS; ?></legend> <?php echo zen_draw_textarea_field('comments', '45', '3'); ?> </fieldset> 7. The highlighted red font above 3 is your fix

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 Mar 2009, 5:31 PM
#5
jordanwb avatar

jordanwb

New Zenner

Join Date:
Feb 2009
Posts:
18
Plugin Contributions:
0

Re: Add item to breadcrumb and Special Instructions box

Okay I changed those two lines so that the textarea has 8 rows instead of the claustrophobia inducing 3 rows. I also added the new Home link before the $breadcrumb is outputted but how do I change the original "Home" to something else? I suppose I could edit the php file containing the breadcrumb class but that's more of a kludge.