我正在尝试在视图中创建节点克隆链接,
我安装了模块node clode
并添加了视图字段,但td为空(即没有链接显示)
使用调试器进行跟踪时,我到达以下代码:
function clone_is_permitted($type) {
$omitted = variable_get('clone_omitted', array());
return empty($omitted[$type]);
}
以值req_positions
调用(这是内容类型)
$omitted = {array} [23]
simplenews = "simplenews"
advertise = "advertise"
icons = "icons"
req_positions = "req_positions"
message = "message"
volunteer = "volunteer"
webform = "webform"
form_jobs = "form_jobs"
article = "article"
info_to_event = "info_to_event"
location = "location"
recipe = "recipe"
recommended_books = "recommended_books"
newsletter = "newsletter"
simple_page = "simple_page"
post = "post"
prptocol = "prptocol"
link = "link"
faq = "faq"
content_presentation = "content_presentation"
donation = "donation"
event = 0
podcast = 0
我想从clone_omitted中删除req_positions。
正确的方法是什么?
答案 0 :(得分:0)
此值可以在/ admin / config / content / clone
中设置