Why couldn't install yui_tabview on drupal 5.3? just blank screen, What Can I do debug it?

Comments

bakyildiz’s picture

Did you install http://drupal.org/project/yui this module first?

ottafei’s picture

Yes I did! and yui menu etc is ok! but just tab view don't work , and i can't understand this "Be sure that you remove all the usage of the build_tabview function from your site." in readme.txt

bakyildiz’s picture

If you disable the module while you have a block added with tab_view in your front page this will cause a problem. If you have a block added in front page you have to remove this before you disable the yui_tabview.

And for 5.3 i am not sure why it is not working. Is it possible to try with the version 5.7? I will try also with 5.3.

ottafei’s picture

ok thanks very much!

fadi.wahba’s picture

I'm using drupal 5.9 and the YUI editor works fine but when enabled the YUI Tapview i got this on my screen:

Parse error: syntax error, unexpected $end in D:\xampp\htdocs\drupaltest\sites\all\modules\yui_tabview\yui_tabview.install on line 10

Please Help..!

ottafei’s picture

in yui_tabview.install you need rewrite this function
function yui_tabview_install(){
drupal_set_message('Please visit '. l('tabview/sample', 'tabview/sample'));

}
and remove function yui_tabview uninstall() { db_query('DROP TABLE {counter}');}

bakyildiz’s picture

Assigned: Unassigned » bakyildiz
Category: support » bug

I am sorry for my late response. Was too busy. ottafei, thank your you have done great job! I applied your fix.
By the way cyberlot has made a good improvement to yui_tabview. Hopefully to night snapshot build will include this two.