Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
chuckienorton
Does that make sense??? :blink:
In the readme (readme's are great, ;)) for this mod, there are instructions for adding this to the header, that code should work better than what you're using:
Code:
<div id="dropDownHeader"><?php
echo zen_draw_form('categoriesSelect', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
echo zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
echo zen_draw_pull_down_menu('cPath', zen_get_categories(array(array('id' => '', 'text' => PRODUCT_LISTING_SEARCH_TEXT_ALL_CATEGORIES)), '0' ,'', '1'), (isset($_GET['categories_id']) ? $_GET['categories_id'] : ''), 'onchange="this.form.submit();" size="1"') . zen_hide_session_id();
echo '</form>';
?></div>
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
jettrue
In the readme (readme's are great, ;))
HA! Always had a feeling they were there for something. Thanks so much! This is perfect!
I also just figured out the second part of that question - which was how to select one specific category & all of it's products.
This is great! THANK YOU JETTRUE!
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
jettrue
In the readme (readme's are great, ;)) for this mod, there are instructions for adding this to the header, that code should work better than what you're using:
Code:
<div id="dropDownHeader"><?php
echo zen_draw_form('categoriesSelect', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
echo zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
echo zen_draw_pull_down_menu('cPath', zen_get_categories(array(array('id' => '', 'text' => PRODUCT_LISTING_SEARCH_TEXT_ALL_CATEGORIES)), '0' ,'', '1'), (isset($_GET['categories_id']) ? $_GET['categories_id'] : ''), 'onchange="this.form.submit();" size="1"') . zen_hide_session_id();
echo '</form>';
?></div>
Hallo
is possible to center the drop box in the middle of header or right?
code from redme put drop box left.
can anyone help me pls ?
Thank you Katamave
Re: Category Drop Down SELECT Menu Sidebox Mod.
Would someone be so kind as to post the entire contents of tpl_categories_select.php here? (Don't ask - It's a long story...)
Thanks so much!
Re: Category Drop Down SELECT Menu Sidebox Mod.
<?php
/**
* Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_manufacturers_select.php 4771 2006-10-17 05:32:42Z ajeh $
*/
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('categories_form', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
$content .= zen_draw_pull_down_menu('cPath', zen_get_categories(array(array('id' => '', 'text' => PRODUCT_LISTING_SEARCH_TEXT_ALL_CATEGORIES)), '0' ,'', '1'), (isset($_GET['categories_id']) ? $_GET['categories_id'] : ''), 'onchange="this.form.submit();" size="1"') . zen_hide_session_id();
$content .= '</form>';
$content .= '</div>';
?>
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
Katamave
Hallo
is possible to center the drop box in the middle of header or right?
code from redme put drop box left.
can anyone help me pls ?
Thank you Katamave
Could I see a link to the site? Thanks!
Re: Category Drop Down SELECT Menu Sidebox Mod.
Another question about drop box on front page here: when selecting a menu item from drop down (for instance - women's 'Beautifeel' brand) it goes to correct page, but doesn't open the sidebox categories menu for that brand....which would happen if you click women at topnav bar, then click 'beautifeel' (it then highlights the brand your on, and allows you to select other brands within that category).
It's probably easier if you check it out: shopwalkthisway.com. Try clicking on brand from front page drop down, then note how the sidebox looks... then click "women's shoes" at top nav and note how sidebox looks.
(ps - thanks for all your help! This is a great app)
Re: Category Drop Down SELECT Menu Sidebox Mod.
Jade, thanks for a great mod; something I've been looking for for my template.
Any ideas how I could do the same thing for the "Information" sidebox? On my site here it's just below the categories side box.
I would *love* to have the same thing for information! <hint>
Mike
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
chuckienorton
Another question about drop box on
front page here: when selecting a menu item from drop down (for instance - women's 'Beautifeel' brand) it goes to correct page, but doesn't open the sidebox categories menu for that brand....which would happen if you click women at topnav bar, then click 'beautifeel' (it then highlights the brand your on, and allows you to select other brands within that category).
It's probably easier if you check it out:
shopwalkthisway.com. Try clicking on brand from front page drop down, then note how the sidebox looks... then click "women's shoes" at top nav and note how sidebox looks.
(ps - thanks for all your help! This is a great app)
I just want to clarify exactly what I mean here...
If you click CATEGORY 2/ SUBCATEGORY 3 from the drop down, the link goes to to the right page, but doesn't tell the left hand menu which category it's in. So on my site, the user would either have to go back to home, and choose another sub category, or use the left hand category menu to repick a main category, then after that rechoose another subcategory...
Dropdown link: http://shopwalkthisway.com/index.php...=index&cPath=3
Link it should be: http://shopwalkthisway.com/index.php...ndex&cPath=2_3
Any clue how to fix it??
Re: Category Drop Down SELECT Menu Sidebox Mod.
Sorry for the lack of knowledge.
I have installed this mod. but it has effect my other template setting. Mainly the heading pic and website name and tag line. Is it possible to put the menu in without effecting everything above it? If so how?