I made a custom php script to handle comments but I can't seem to be able to include the script into my content node

The reason I need this instead of the comments module is I needed to be able to define my comment lists so that I could have unlimited number of comment lists per node.

I really want to avoid Iframes if at all possible.

Comments

marcvangend’s picture

Including a php script in your node content is not a good solution to change the behavior of your drupal site. There are probably contributed modules for your needs, or you could implement your own php script as a custom module.

Can you explain what you are trying to achieve? I don't understand when you say 'unlimited number of comment lists per node'. Please tell us which page you want to change, what you want to see on the page, how the user should interact with the page. Also, please mention which version of Drupal you're using.

nickeberle’s picture

I am in Drupal 5.x you can look at the page that I would use it on here (http://spiritoffire.com/?q=node/1)

I'm using hovertips and reftagger to add multiple scripture references per verse of this scriptural poem my dad made. The idea was that we were going to make it so that users could submit references so what I would be looking for is to add a simple one line reference form with a unique id for the comments so that each tooltip would have a scripture reference submit form and a list of user submitted references in it.

here is an example made with iframes and the gentalsource comment script (iframes break the reftagger code) http://spiritoffire.com/?q=node/57

marcvangend’s picture

I'm not experieced with the modules you mention, so I can't really say what you should do. There are some of modules available which might be useful to you... You could search drupal.org of drupalmodules.com for modules related to comments, reviews, community tagging and the voting API. It should probably be combined with custom javascripts and/or php; both are best put in a module, not in the node's content.