我要建一个食谱网站,正好drupal有第三方模块叫做recipe
在新建之后一切正常,注册用户可以发表文章(我并未赋予权限)
在我赋予了权限之后,反而他们不能发表文章了,(在创建文章内容的时候没有那个recipe的选项了),再反复赋予与取消之后,均不行。
经过测试,并未与其他模块或者翻译相冲突,请问这是为什么啊。。。。。。
Because I come from mainland of China ,so I don't know if you can understand my simplechinese,so I translate it into English
I want to build a recipe site,and there is a module called "recipe" ,so I use it ,and when I start the site,it's just OK,the Registered Users can publish their content (I even didn't give them the permission.)
When I give them the perission,or even I just visit the "permission page" ,they can not publish their recipe content .
I tried several times ,it still can not work.
after the test ,I think it will not be conflict with other modules,please help me ,thanks very much!!!!
Hello,
一般來說,放到 Permission 資料表的字串應該是英文的,而且是和顯示在 /admin/user/permissions 所用的字串是分開的,也是說,放在 Permission 資料表的字串應該是由程式控制的,而不會放到 PO 檔裡去的,所以,阿舍是覺得,這個可能是這個模組在匯出 PO 檔時或程式撰寫的失誤吧 ! 這也是阿舍第一次聽到哩 ! 換成是阿舍,搞不好還找不到問題的原因哩 !! ...呵呵 !!
註 : 未指定權限的情況下,依照 Drupal 的通用邏輯是指權限全開的意思...。
供參囉 !! ^^=。
阿舍..
阿舍的 Drupal 架站經驗談
http://drupal.soa.tw


阿舍你好,這個問題貌似我已經解決了,我進入數據庫查看了下permission,不可思議的是,create recipes ,edit own recipes竟然變成了中文創建食譜,編輯自己的食譜,我記得我只是用了那個模塊的翻譯.po文件,在裏面按照格式改的,為什麼會被寫進數據庫呢,實在是不可思議,請問這個毛病還會不會復發,我應該怎麼解決呢?謝謝阿舍