Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Manufacturer's Side box dropdown text

Manufacturer's Side box dropdown text

Locked

Views: 1,445

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Mar 2007, 1:49 AM
#1
red8ii8 avatar

red8ii8

New Zenner

Join Date:
Feb 2007
Posts:
38
Plugin Contributions:
0

Manufacturer's Side box dropdown text

OK I've gone round and round in the forums and can't quite find this. Where can I change the "Please Select" text on the drop down?

I have already changed everything else but can't quite find this one.

Thanks!

19 Mar 2007, 2:06 PM
#2
red8ii8 avatar

red8ii8

New Zenner

Join Date:
Feb 2007
Posts:
38
Plugin Contributions:
0

Re: Manufacturer's Side box dropdown text

I brought in the big guns (aka hubby) and he can't find it either. He went into the database looking. It's driving us nuts!

19 Mar 2007, 4:10 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Manufacturer's Side box dropdown text

If you were to go to Tools ... Developer's Tool Kit ...

Enter in the bottom input box the text you are searching for:
Please Select

and from the dropdown pick the Catalog ...

You will find there are defines for this in the language files ...

Now if you were to look for those defines, example:
PULL_DOWN_ALL

You would notice that this is used in the manufactuers sidebox ...

You could customize the sidebox by copying it to your templates and overrides directory ...
/includes/modules/sideboxes/manufacturers.php
/includes/templates/template_default/tpl_manufacturers_select.php

/includes/modules/sideboxes/your_template_dir/manufacturers.php
/includes/templates/your_template_dir/tpl_manufacturers_select.php

And change what is used in the dropdown in place of the:
PULL_DOWN_ALL

NOTE: PULL_DOWN_ALL is a constant used for many things so you may wish to use your own text on this or create a new define to use ...

19 Mar 2007, 10:19 PM
#4
red8ii8 avatar

red8ii8

New Zenner

Join Date:
Feb 2007
Posts:
38
Plugin Contributions:
0

Re: Manufacturer's Side box dropdown text

Beautiful! I took
from includes/modules/sideboxes/MY_TEMPLATE/manufacturers.php

// Display a list
    $manufacturer_sidebox_array = array();
    if (!isset($_GET['manufacturers_id']) || $_GET['manufacturers_id'] == '' ) {
      $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_ALL);
    } else {
      $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_ALL);
    }
```And replaced the PULL_DOWN_ALL with '-My desired text-'  and voila! My hijacking of the manufacturers sidebox so people can shop via an alternate categorizing method is complete :lol:. And all the other dropdowns are unchanged.

Thank you!
19 Mar 2007, 10:39 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Manufacturer's Side box dropdown text

Thanks for the update and glad that this worked for you ... :smile:

2 Jul 2007, 8:27 PM
#6
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Manufacturer's Side box dropdown text

I have been trying to figure out how to do this forever! Thanks!!!

3 Jul 2007, 4:57 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Manufacturer's Side box dropdown text

Thanks for the update and letting us know that your search of the forums was able to locate the solution that worked for you ... :smile: