English 中文(简体)
Drupal TAC不工作吗? 定错? [闭门]
原标题:Drupal TAC not working? Setup wrong? [closed]
Closed. This question is off-topic. It is not currently accepting answers.

。 因此,在Stack Overflow的

Closed 11 years ago.

I m New to Drupal, and decision to use Drupal 7 to management auser system in which one lostal inuser sees one page, and another lostal inuser sees another page. 我先问一下,每个用户日志在哪里,并用在它们的着陆页上,没有问题。 然而,如果用户1一被拖入,就试图看到用户2个着陆页(即改变地址中的旋律),那么用户1正在看用户2的着陆页,不应发生。 它也相反。

我建立了“经济准入控制”,但我不敢确定,是否适当建立这种控制? Lite版本赢得了适当设置的标记(尽管此处似乎更适用),在重建许可时失败。 因此,我可以找到这个办法。 我无法指出,在我的内容中添加“术语”。 我设立了各种角色——观众Company1和观众Company2。 我的用户对这些角色进行了适当的界定。 我仅能说明如何告诉Droupal博士“允许用户1看到着陆页”。

问题回答

Harp, 几乎在那里。 这正是我通常在D7号文件中确定的。

  1. Create a role called "Members"
  2. Create a new vocabulary called "Access"
  3. Add two terms to the "Access" vocabulary, "Public" and Members Only"
  4. Add a new field to each content type - Admin > Structure > Content Types of type term reference. I usually use the checkbox widget but it is up to you.
  5. Set the vocabulary to be the "Access" vocabulary you set up in step 2
  6. Set the default to be "Public" - this is optional but it means all pages are publicly accessible unless specifically set to "Members Only"
  7. Save
  8. Go to the Manage Display settings for that content type
  9. Set the Access field to hidden
  10. save
  11. Now go to Admin > Configuration > Taxonomy access control
  12. Go to edit access rules for anonymous users
  13. Under "New" select members in the dropdown
  14. Set each option in the row to "D"
  15. Click Add
  16. Do steps 12 to 15 for the authenticated user
  17. Do steps 12 to 15, expect select "A" instead of "D" for the members role

现在,在你只为进入现场挑选成员时,匿名和经认证的用户不会看到 no。 任何成员角色的用户都能够看到这个节点。 这还将掩盖针对这一节点的菜单。 http://drupal.org/node/31601"rel=“nofollow” https://drupal.org/node/31601

您需要在您的类型名词中添加一个新的领域,然后将其与适当的词汇联系起来。 接下来是 question子,选择他们应该属于哪类。

Once you ve done this the nodes will be linked to taxonomy terms so the TAC module should then work as expected.





相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签