Re: CSS Dropdown menu for your header- With Categories!
Could someone please help clarify where this code mode is placed? File? Approximate line? Thanks!
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
marksu
Well never mind.
I made the changes my self it was mutch simpler than I thought.
Not sure if anyone care as not mutch communication hre but if somebody need solution here it is.
It is based on my earlier design which enables to add ezpaged filtering which groups they belong.
It would be even better code if it could outomatically check if multi languge expages module is installed instead of using comments character. Wen I dont know how to do it so this will do.
// --------------------
If ($chapNumber != ""){
// USE THIS IS MULTI-LANGUGE EZPAGES MODULE NOT INSTALLED
// $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where toc_chapter = " . $chapNumber . " and status_header = 1 order by header_sort_order, pages_title");
// USE THIS IS MULTI-LANGUGE EZPAGES MODULE IS INSTALLED
// query modified for multi-language support
$page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
where toc_chapter = " . $chapNumber . " and e.pages_id = et.pages_id
and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
and status_header = 1
and header_sort_order > 0
order by header_sort_order, pages_title");
// end of modification
} else
{
// USE THIS IS MULTI-LANGUGE EZPAGES MODULE NOT INSTALLED
$page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 order by header_sort_order, pages_title");
// USE THIS IS MULTI-LANGUGE EZPAGES MODULE IS INSTALLED
// query modified for multi-language support
$page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
where e.pages_id = et.pages_id
and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
and status_header = 1
and header_sort_order > 0
order by header_sort_order, pages_title");
// end of modification
}
// --------------------
marksu
I am having a problem where EZPage titles will not appear on the CSS Drop Down menu. I am using the Spanish language pack with the most current version of ZenCart and this CSS Dropdown menu. The above code appears that it may correct the problem, but does not list how or where to implement it. Also, strangely, the default EZPage links (I've left the external link to ZenCart on the menu) work OK, but any pages added do not show up on the Header Menu. They show up and translate just fine on the sidebox and footer menus. I have searched for hours to no avail. Any suggestions? The site I am referring to is: http://www.altaonemedical.com/index.php Thanks
Re: CSS Dropdown menu for your header- With Categories!
Seems to me as if the links are there but no words are showing in the dropdown.
Have you got all the page titles entered? Not sure how it works with multi languages, I only ever work with english.
Sorry I cannot help more.
You need to change your admin directory too. See here:
http://www.zen-cart.com/wiki/index.p...ecommendations
Craig
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
CES
Seems to me as if the links are there but no words are showing in the dropdown.
Have you got all the page titles entered? Not sure how it works with multi languages, I only ever work with english.
Sorry I cannot help more.
You need to change your admin directory too. See here:
http://www.zen-cart.com/wiki/index.p...ecommendations
Craig
The titles are all entered. Thanks for the security suggestion, I will be doing that and other measures. Still not done with the site yet. Thanks
Re: CSS Dropdown menu for your header- With Categories!
Hi,
I seem to be having spacing issues which is forcing my menu onto 2 lines.
Does anyone know how I need to edit the css file to fix this issue? I have tried many variations of the css code already but nothing seems to work.
Since I can't have it on a live website at the moment here is a screenshot of what I mean:
http://tomanthonyphotography.co.uk/menuproblem.jpg
Any suggestions would be most welcome please.
Cheers
Claire :mellow:
Re: CSS Dropdown menu for your header- With Categories!
Hi, I am a newbie to zen cart. I have installed the css flyout menu and it all works well but when I adjust the website template width to auto, the menu width got auto adjusted but the sub menu is not. How can I adjust that? My website http://www.bruneipartyshop.com
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
jettrue
This add-on will allow you to have a horizontal css based flyout menu for your zen cart header. It also display your categories dynamically, along with other useful links for your customers. information. This mod was built upon a previous version built for earlier versions of zen cart.
You can see this mod in action at
http://www.applezen.sagefish.com/
It is also integrated into the Apple Zen template found here:
http://www.zen-cart.com/index.php?ma...roducts_id=449
Submitted to the download section.
Yeah....:clap:
this is just what I need....
Thank you :clap:
Re: CSS Dropdown menu for your header- With Categories!
How do I get the dropdown menu to not do subcategories? It is saying I have too many links on each page so I do not want it to do a dropdown for the different subcategories of chickens http://www.purelypoultry.com/
Re: CSS Dropdown menu for your header- With Categories!
I doubt that Google's prescription of less than 100 links from a page is applicable to internal navigation; *lots* of sites have flyout-type menus that would run into that. Navigation logic should be your first concern.
A word from one of the experts like mprough would be in order here.
Re: CSS Dropdown menu for your header- With Categories!
Hi,
Thank you very much for your wonderful work. I am new to zen cart and have installed the CSS flyout header.
However, my logo now turns out to be very small in the top corner with the 'Home' and 'Login/Register' still there. How should I edit my tpl_header?
I would appreciate it very much if you could help me with this. By the way, you can see what I meant from here:
www.fabulous-spree.com
Thanks a million :)