Navicat MySQL可以与任何3.21或以上版本的MySQL一起工作,并支持大部分的MySQL最新功能,包括触发器、存储过程、函数、事件、视图、管理用户, 不管是对于专业的数据库开发人员还是DB新手来说,其精心设计的用户图形界面(GUI)都为我们安全、便捷的操作MySQL数据信息提供了一个简洁的管理 平台。不但可以为window平台稳定运行,同样兼容于Mac OS X 和Linux系统。其官方提供简体中文版供大家下载试用(for 30days),
//修改 menu hook 能够批量添加多个节点的权限 function shipingzhongcustom_menu_alter(&$items) { // Example - disable the page at node/add //var_dump($items);var_dump("DDDDDDDd"); $items['multi_node_add']['access callback']='user_access';
I would put dsm($vars) in a preprocess function in template.php. Just remember if you put it in phptemplate_preprocess_page it will show you the available variables for the page.tpl.php. Likewise if you put it in phptemplate_preprocess_node it will show you the available variables for node.tpl.php.
If you want to see the available variables from a template file, you can also use get_defined_vars(). Use something like:
var_dump(get_defined_vars()); or dsm(get_defined_vars());
下面是drupal6的例子 //-- Delete this line if you want to use this function function shipingzhong_preprocess_page(&$variables, $hook) { //$vars['sample_variable'] = t('Lorem ipsum.');
// To remove a class from $classes_array, use array_diff(). //$vars['classes_array'] = array_diff($vars['classes_array'], array('class-to-remove')); //var_dump(array_keys($vars)); if(arg(0)=='taxonomy' && arg(1)=='term') { if(is_numeric(arg(2))) {