Graveyard666 Posted June 5, 2007 Posted June 5, 2007 I need help setting up my category names... If you look at my layout at www.graveyardrecords.com/blood/ but I need my category names to fit like bestbuy.com If u look how my menu is, it looks okay but then my search drop down is messed up, I was wondering how I can make the names appear this way without using the <br> tag (i added the <br> tag from the admin side of the category name page) any help would be appreciated jeff
germ Posted June 6, 2007 Posted June 6, 2007 I think the "Options" under "Select a Category" need to be formatted something like this: <option value="3">Graveyard Exclusives</option> <option value="2">Action Figures</option> <option value="410">Horror Figures</option> <option value="399">Props/Masks</option> <option value="87">Living Dead Dolls</option> <option value="400">Horror Mags</option> <option value="502">Serial Killers</option> <option value="107">Spawn</option> It looks like your HTML is a little ragged... :blink: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Graveyard666 Posted June 6, 2007 Author Posted June 6, 2007 I hear you but the drop-down is generated dynamically from the DB, here is my code... <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); ?><?php echo ' ' . tep_draw_hidden_field('search_in_description','1') . tep_draw_hidden_field('inc_subcat', '1', true) . tep_draw_input_field('keywords','','size="16" maxlength="45" class="searchForm" style="width: ' . (BOX_WIDTH-10) . 'px"') .' '. tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)))) . tep_hide_session_id() . ''. tep_image_submit('search.jpg', BOX_HEADING_SEARCH); ?> I don't know how to make those changes u suggest I think the "Options" under "Select a Category" need to be formatted something like this: <option value="3">Graveyard Exclusives</option> <option value="2">Action Figures</option> <option value="410">Horror Figures</option> <option value="399">Props/Masks</option> <option value="87">Living Dead Dolls</option> <option value="400">Horror Mags</option> <option value="502">Serial Killers</option> <option value="107">Spawn</option> It looks like your HTML is a little ragged... :blink:
germ Posted June 6, 2007 Posted June 6, 2007 If u look how my menu is, it looks okay but then my search drop down is messed up, I was wondering how I can make the names appear this way without using the <br> tag (i added the <br> tag from the admin side of the category name page) The <br> tag wasn't necessary. And I'm not sure exactly how and where you got it in there? :huh: Can you tell me how and where you did? If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.