Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have a new module almost completed. It is an "HTML scraper". It is intended to be administered & run by admins only. I have added a permission "administer scraper", and have tested that unauthorized users cannot access its pages.
The issue is that this module permits the (admin) user to enter PHP code in a form and execute it. I had to use the PHP eval() function, since drupal_eval() would not work. So clearly this module could blow away your site if the wrong hands get access to its pages.
I follow all the steps given in README.txt, but when I go to administer -> content -> configure -> content types, and click the node type... I can't see any 'Tagnode' configuration option. Can you help me? Thanks.
I've had the pleasure of extending the SimpleVote module lately and I wanted to share some of the things I learned with other starting developers. I extended the SimpleVote module to add access control, association with node types and other things. The text I wrote is too big to post here so I will link to it. I have also included the source of the extended module, together with the code of the original module.