Re: CSS Dropdown menu for the header- With Categories!
Quote:
Originally Posted by
clydejones
@Get Em Fast
I'm using your updated menu on a client site. (using the alternate version)
The client only has 5 top categories but only needs to have 4 shown in the menu.
How can I change tpl_drop_menu.php to only show those 4 top categories?
Thanks
Hmmmmm...........not sure, Clyde. As the menu uses the url_generator.php to generate the categories, then all the top Cats will be displayed. I guess...........a person could include an 'if' statement to hide one category, but I'm not sure exactly how it would be coded.
Oh.............forget about the "Hide Categories" mod, too. It doesn't work with this menu. Just though I'd let you know that, to maybe save a headache.
I'll do some checking, though, and see what I can get done.
Re: CSS Dropdown menu for the header- With Categories!
Quote:
Originally Posted by
Get Em Fast
Hmmmmm...........not sure, Clyde. As the menu uses the url_generator.php to generate the categories, then all the top Cats will be displayed. I guess...........a person could include an 'if' statement to hide one category, but I'm not sure exactly how it would be coded.
Oh.............forget about the "Hide Categories" mod, too. It doesn't work with this menu. Just though I'd let you know that, to maybe save a headache.
I'll do some checking, though, and see what I can get done.
Thanks, I'll also do some checking.
Re: CSS Dropdown menu for the header- With Categories!
Quote:
Originally Posted by
Get Em Fast
Hmmmmm...........not sure, Clyde. As the menu uses the url_generator.php to generate the categories, then all the top Cats will be displayed. I guess...........a person could include an 'if' statement to hide one category, but I'm not sure exactly how it would be coded.
Oh.............forget about the "Hide Categories" mod, too. It doesn't work with this menu. Just though I'd let you know that, to maybe save a headache.
I'll do some checking, though, and see what I can get done.
Quote:
Originally Posted by
clydejones
Thanks, I'll also do some checking.
Worked it out.
I just added an additional element to the where clause of the select statement. The highlight would be the category id you want to hide in the menu.
and c.categories_id != 80
Re: CSS Dropdown menu for the header- With Categories!
Re: CSS Dropdown menu for the header- With Categories!
Quote:
Originally Posted by
Get Em Fast
Hmmmmm...........not sure, Clyde. As the menu uses the url_generator.php to generate the categories, then all the top Cats will be displayed. I guess...........a person could include an 'if' statement to hide one category, but I'm not sure exactly how it would be coded.
Oh.............forget about the "Hide Categories" mod, too. It doesn't work with this menu. Just though I'd let you know that, to maybe save a headache.
I'll do some checking, though, and see what I can get done.
Quote:
Originally Posted by
clydejones
Worked it out.
I just added an additional element to the where clause of the select statement. The highlight would be the category id you want to hide in the menu.
and c.categories_id != 80
And FYI.. something similar to this would allow the hideCategories module to work with this menu as well..:smile:
and before anyone asks.. No... off the top of my head, I do not know the SPECIFIC code required to use this menu with hideCategories. However, I do know that adding the right condition to the where clause would/should be the solution to allow hideCategories to work with this menu (I used this very thing for the older version of this mod)..:smile:
Re: CSS Dropdown menu for the header- With Categories!
Hi,
I've searched the forum and can't seem to find an answer to my problem. I have a slideshow on my home page. It works fine, but the dropdown categories are being obscured by the slideshow images. I have the following in my "define_main_page.php" file. Any help would be GREATLY appreciated!
<CENTER>
<BR>
<script type="text/javascript" src="http://www.mysite.com/includes/templates/avonlee_contempo/jscript/fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [660, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.mysite.com/images/slide3.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["http://www.mysite.com/images/slide4.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["http://www.mysite.com/images/slide1.jpg"],
["http://www.mysite.com/images/slide2.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<div id="fadeshow1"></div>
<BR>
</CENTER>
Re: CSS Dropdown menu for the header- With Categories!
gmc,
What, the menu drops down behind the slider images, right? If you'll look in your includes/templates/your_template/css/stylesheet_header_menu.css for any entries of "z-index: 1000" and change the number to a higher value than 1000, that should do the trick.
But, of course, if you had a url, and we could SEE the site, we could help you with a more EXACT solution..........:)
Re: CSS Dropdown menu for the header- With Categories!
thankq jettrue for your contribution and support.
hi! am new here i just install the module CSS Dropdown menu for the header (CSS Flyout Header 1.5)..zen v1.3.8a, even am using Magic SEO URLs module.
i followed as per instruction install, tested on local server its fine but when i install on live its shows only shopping cart and contact us link in top menu (no catagries no drop down menu)..
please educate me where am wrong.
thanks
rashu
Re: CSS Dropdown menu for the header- With Categories!
hey!:laugh: it works now...sorry for pre post.
actually i forgot :ohmy: add .htaccess code on root dir.
thank
Re: CSS Dropdown menu for the header- With Categories!
I'm getting lots of validation errors with this add-on.. especially concerning non-closed arguments involving li and ul tags and so forth.. anyone having the same problem?