If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Add record companies to advanced search

Add record companies to advanced search

Started by doooomed on 5 Jun 2012, 7:13 PM · Views: 638

Results 1 to 6 of 6
5 Jun 2012, 7:13 PM
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Add record companies to advanced search

Hello!

I would like to remove the "Limit to manufacturer" option in the advanced search and in it's place I would like a similar looking box/drop down that instead Limits to Record Companies.

Can anyone help me with some info on how to do this? Thank you!

6 Jun 2012, 5:37 PM
#2
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Add record companies to advanced search

Seems no one knows how to do this? How about just removing the "Limit to manufacturer" option in the advanced search for starters? Any help would be greatly appreciated!

6 Jun 2012, 6:02 PM
#3
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Add record companies to advanced search

could start by looking at
/includes/templates/template_default/templates/tpl_advanced_search_default.php

/includes/templates/YOUR_TEMPLATE/templates/tpl_advanced_search_default.php

find:

<fieldset class="floatingBox forward">
    <legend><?php echo ENTRY_MANUFACTURERS; ?></legend>
    <?php echo zen_draw_pull_down_menu('manufacturers_id', zen_get_manufacturers(array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)), PRODUCTS_MANUFACTURERS_STATUS), $sData['manufacturers_id']); ?>
<br class="clearBoth" />
</fieldset>
<br class="clearBoth" />
6 Jun 2012, 9:33 PM
#4
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Add record companies to advanced search

Thanks for the reply! I did look at those files... I don't know what to do with them though :dontgetit

6 Jun 2012, 10:40 PM
#5
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Add record companies to advanced search

you could delete it, that will remove it - however I would not just in case you need it again in the future

you could comment it out like so

<?php

/**

<fieldset class="floatingBox forward">
    <legend><?php echo ENTRY_MANUFACTURERS; ?></legend>
    <?php echo zen_draw_pull_down_menu('manufacturers_id', zen_get_manufacturers(array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)), PRODUCTS_MANUFACTURERS_STATUS), $sData['manufacturers_id']); ?>
<br class="clearBoth" />
</fieldset>

*/

?>

<br class="clearBoth" />

this leaves an open space tho

as far as replacing it with another dropdown for record companies it would require some custom coding - I will look at it but not sure when I will get to it

9 Jun 2012, 8:45 PM
#6
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Add record companies to advanced search

Okay, I have commented out the manufacturers box... Thank you for that! If you do find time to check into how I can put a drop box in it's place for record labels I would be completely psyched! Thanks again!