Turn off skinning

Jonathan.D - September 9, 2008 - 23:10
Project:YUI Menu
Version:6.x-1.1-beta2
Component:Code
Category:feature request
Priority:normal
Assigned:drupalhizmetleri
Status:active
Description

Hi, thanks for the great implementation. Easy to use and plugs straight into drupal.

One annoyance I have though is that it's a bit redundant to copy over the css if you don't like the default yui stuff.

I took out line 70 in the module to get rid of Sam's Skin for the moment, but a better way might be to add an option to use, or not use, Sam's Skin css.

line 70:
  yui_add_css('menu', $yui_source, '/build/menu/assets/skins/sam/menu.css');

#1

Jonathan.D - September 9, 2008 - 23:18

I thought I'd reiterate. If you take off skins/sam/menu.css the whole menu will be broken. If you don't use the Sam skin you need to use menu-core.css. You can then theme the menu from there.

#2

drupalhizmetleri - September 12, 2008 - 06:48

Jonathan, i could not understand what you mean by "If you don't use the Sam skin you need to use menu-core.css"

Can you give more detail. Is there anything that i can correct in code?

#3

asak - December 3, 2008 - 17:42

subscribing.

#4

drupalhizmetleri - December 3, 2008 - 18:25
Assigned to:Anonymous» drupalhizmetleri

Hi Jonathan
The yui module has a "Skin to use for YUI" variable. If you enter something different for "yui-skin-sam" the sam skin we be out of use and as you mentioned the menu system will not work any more. But you also mention that using menu-core.css will repair the problem. I tried the menu-core.css bu i could not see that the menu is working. If you can help me to figure out how to have a working menu without sam skin we can add this funtionality to yuimenu.

#5

asak - December 5, 2008 - 09:33

What's strange is that i could not find any other skins online...

 
 

Drupal is a registered trademark of Dries Buytaert.