Closed (fixed)
Project:
YUI Menu
Version:
6.x-1.1-1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2008 at 11:02 UTC
Updated:
7 Aug 2009 at 00:05 UTC
Hello,
I ì'm trying to have a top nav menu in Garland. I pasted in my page.tpl.php the 3 lines that are listed in INSTALL.TXT, just after the "print header" DIV. The first-level menu appears in the page, but there are no drop-down submenus, also if they are present in the page's source.
Can someone explain me what exactly means:
The theme should appropriate to use this a drop down menu. Some css based themes may have display problems.
For instance garland is an exception because of the phptemplate.
To active the menu you have to add a short text in to your active page.tpl.php.
What is the text to add? The 3 lines listed in INSTALL.TXT?
Thanks a lot for any suggestion and bye!
Comments
Comment #3
bakyildiz commentedGood point. The short text is the 3 line code that you already passed to your page.tpl file.
"The first-level menu appears in the page, but there are no drop-down submenus"
This is generally the yui configuration problem. Please try to ensure that the yui module is properly configured.
Comment #4
ggamba commentedThank you! I was able to make it work, at last! I was adding the three lines in the wrong place! But I'm afraid that customize the CSS emulating primary links from Garland theme (this was my intention) is too complicated for me...
Thanks and bye
Gabriele
Comment #5
bakyildiz commentedComment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
pankajshr_jpr commentedhi ggamba
I am also getting the same problem. no sub menus
could you please tell which place you have added the 3l lines to get it work in garland?
Comment #8
telepheasa commentedI would like to have drop down menus in Garland. What are the 3 lines to install in the page.tpl.php file?
Would you post the exact three liines? Where exactly should they go in the page.tpl.php file?
Thanks for you help!