Active
Project:
Node Relativity
Version:
5.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2008 at 12:04 UTC
Updated:
3 Nov 2008 at 12:04 UTC
I have almost no knoweledge of PhP, but I am in the process of learning by doing (just a newbie).
I am trying to nest an if statement to :
// only offer to let user create new child if user has 'create' access
// and common child relationship isn't required
if ($may_create && node_access('update', $parent)) {
In order to not display the "link operations" to create new child only if a certain cck field is checked or contains a word or any word (of course I am not sure at all if this is the right place to do it).
Is it possible? Could you give me some hint on how to do it?
Many thanks for the great module!