Re: Category Drop Down SELECT Menu Sidebox Mod. HELP NEEDED for Firefox error
Quote:
Originally Posted by
swalka
This mod is absoutely fab and really easy to install so firstly thankyou very much!
i have installed it fine and in internet exploder7 it looks great, however if i test it on my mac or my pc using firefox, the css formatting is completely ignored for the menu and it blows the layout all over the place
i saw a post where a user seemed to have a simliar problem - but there was no reply. apologies if this has already been asnwered -
www.ppekit.co.uk.
I'd be really grateful for your help on this, hoping to get the site live shortly and i'd like to iron out all the blips before i present to my client.
thanks
sarah
I don't see the category select drop down menu on your site, but I do see the CSS Dropdown menu for your header- With Categories!
Anyhoo, your problem is you have this before the beginning of your menu:
<!--bof-navigation display
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
Change that to: <!--bof-navigation display-->
and all should be fine.
Re: Category Drop Down SELECT Menu Sidebox Mod. HELP NEEDED for Firefox error
that was a bit of a red herring actually becasue i have just commented out on my tpl_header file the normal menu, the code is complete.
Sorry for posting on the wrong menu item though, thats was a bit daft of me and thanks for your reply
Re: Category Drop Down SELECT Menu Sidebox Mod. HELP NEEDED for Firefox error
Ok i double checked my code and i was missing a second --> which only showed in firefox. many thanks for your assistance as this solved the problem.
Re: Category Drop Down SELECT Menu Sidebox Mod. HELP NEEDED for Firefox error
Quote:
Originally Posted by
swalka
Ok i double checked my code and i was missing a second --> which only showed in firefox. many thanks for your assistance as this solved the problem.
Yep, that's what I mentioned above.
Re: Category Drop Down SELECT Menu Sidebox Mod.
This module would be perfect for my front page center box...
Do you know how to add code to center box? I copied "tpl_categories_select.php" code to index_default with no luck. Any hints?
Also, is there a way to limit the drop down so that I can use one for each of my two categories (mens shoes... women's shoes)?
example is here...
Thanks,
Chuck
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
chuckienorton
This module would be perfect for my front page center box...
Do you know how to add code to center box? I copied "tpl_categories_select.php" code to index_default with no luck. Any hints?
Also, is there a way to limit the drop down so that I can use one for each of my two categories (mens shoes... women's shoes)?
example is here...
Thanks,
Chuck
Link to your site please?
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
chuckienorton
Do you know how to add code to center box? I copied "tpl_categories_select.php" code to index_default with no luck. Any hints?
Also, is there a way to limit the drop down so that I can use one for each of my two categories (mens shoes... women's shoes)?
Quote:
Originally Posted by
jettrue
Link to your site please?
The site is shopwalkthisway.com. You'll notice front page drop down (in center of page) is just an image, but tab categories & everything else on site works.
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
chuckienorton
The site is
shopwalkthisway.com. You'll notice front page drop down (in center of page) is just an image, but tab categories & everything else on site works.
Did you upload all the other files from the mod?
Re: Category Drop Down SELECT Menu Sidebox Mod.
Quote:
Originally Posted by
jettrue
Did you upload all the other files from the mod?
Yes. It worked fine in sidebox... now I have it copied into tpl_index_default.php page, with no luck. I looked up other forum posts on using sideboxes in template with no luck.
here is code I posted in tpl_index_default...
HTML Code:
<?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.
Does that make sense??? :blink: