Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Manufacturers_select.php Not overriding

Manufacturers_select.php Not overriding

Locked

Views: 1,648

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Sep 2006, 8:11 PM
#1
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Manufacturers_select.php Not overriding

Hi,

I am currently using zencart 1.3.5 and I am doing this on a test machine. I modded manufacturers_select.php and threw it into my custom_template\sideboxes. And zencart is not using the modded file. My modded manufacturers_select.php works, when i copy over the orignal file in template_default\sideboxes. My modded manufacturers_select basically makes a list menu instead of the default pull down menu. Need help with the override system, here is my modded code:

$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content.= zen_draw_form('manufacturers', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
$content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();"') . $hidden_get_variables . zen_hide_session_id();
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT) . '</form>';
$content .= '</div>';

27 Sep 2006, 12:26 AM
#2
Kim avatar

Kim

Obaa-san

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

Re: Manufacturers_select.php Not overriding

Pssst... you know you can change the manufacturers box via the admin from a drop down to a selectable list? Admin> Configuration> Maximums> Manufacturers List - Scroll Box Size/Style

Number of manufacturers names to be displayed in the scroll box window. Setting this to 1 or 0 will display a dropdown list.

27 Sep 2006, 5:27 PM
#3
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Manufacturers_select.php Not overriding

LOL. I feel stupid. Thank you Thank you

27 Sep 2006, 6:02 PM
#4
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Manufacturers_select.php Not overriding

LOL. I feel stupid. Thank you Thank you

opps doubled posted