線上使用者

目前共有 0 位註冊使用者8 位訪客 在線上。

新會員

  • lady8904
  • xyz
  • arsisthesis
  • selly
  • cxm1234

書籍推薦

阿舍您好,请看下这个问题

2 replies [最新回應]
大德

我要建一个食谱网站,正好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!!!!

大德 (未確認)
阿舍你好,這個問題貌似我已經解決了,我進入數據庫查看了下p

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

Arthur Yu
Arthur Yu 的照片
User offline. Last seen 1 日 17 小時 ago. Offline
Joined: 12/17/2007
這應該是這個模組的問題...

Hello,

一般來說,放到 Permission 資料表的字串應該是英文的,而且是和顯示在 /admin/user/permissions 所用的字串是分開的,也是說,放在 Permission 資料表的字串應該是由程式控制的,而不會放到 PO 檔裡去的,所以,阿舍是覺得,這個可能是這個模組在匯出 PO 檔時或程式撰寫的失誤吧 ! 這也是阿舍第一次聽到哩 ! 換成是阿舍,搞不好還找不到問題的原因哩 !! ...呵呵 !!

註 : 未指定權限的情況下,依照 Drupal 的通用邏輯是指權限全開的意思...。

供參囉 !! ^^=。

阿舍..
阿舍的 Drupal 架站經驗談
http://drupal.soa.tw

阿舍...
阿舍的 Drupal 架站經驗談
http://drupal.soa.tw

發表新回應

此欄位內容將保密,不會公開顯示出來。
  • 自動將網址與電子郵件位址轉變為連結。
  • 可使用的 HTML 標籤:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自動斷行和分段。

更多關於格式化選項的資訊

BloggerAds

Facebook Page

Drupal 新聞

Translate


訂閱服務...

最新回應

阿舍的隨手....