Hello,
I added node access password module and created a realm then I chose a content type called petition and added a node access password field but I do not see any field in petition node.
I tested it on other nodes and it is the same.
I think I do not know how to use it. please help
Thanks in advance.
Comments
Comment #1
danielb commentedCreating a realm and choosing a content type there does not automatically add the field to the node. The field must be added manually the same way you normally add fields to a content type.
Comment #2
chrisljs commentedSure I did. I added a cck field thourgh all content types I think I did right. It isnt just shown up. please see the images.
I newly installed drupal7.9 just for a test to have a node access password field. It still does not show up.
Please see attached images.
Thanks.
Comment #3
chrisljs commentedone more image for realm
Comment #4
danielb commentedCould be a bug, I'll check it out next week. Sorry about the delay.
Comment #5
countercraft commentedI also have same problem with durpal 7 module, any update on this matter?
Comment #6
netentropy commentedI can confirm the problem as well in both version of the module. You add the field and it does not show on the form.
Comment #7
danielb commentedSorry again about the delay, lots of issues in my queue and this one got lost.
Comment #8
netentropy commentedNo worries. I hope it is something we can figure out. I took a look at it most of the afternoon but failed to see anything I could help with. I did notice in -dev version an error on the user profile page. Thanks!
Comment #9
danielb commentedI have discovered it is due to this issue
#977052: Implement hook_hook_info() for Field API hooks
The file simply isn't included as advertised by this documentation: http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
I will force it to include all the time.
Comment #10
danielb commentedComment #11
netentropy commentedI am getting a SQL error. The previous -dev version also produces this error for me.
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?render=overlay&id=46&op=do StatusText: error ResponseText: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'kob8l59t' LIMIT 0, 1' at line 1: SELECT 1 FROM {nodeaccess_password} password = :password LIMIT 0, 1; Array ( [:password] => kob8l59t ) in nodeaccess_password_node_generate_passwords() (line 53 of /xxxxxx/nodeaccess_password/nodeaccess_password.node.inc).
Comment #12
danielb commentedunrelated, but fixed that too
Comment #14
kiwibytes commentedNode Access Password still doesn't work. What was the fix again?