I have a problem. I just dont know what should i do to fix it. I installed the flexinode plugin to my drupal site. And when i try to add new content type i have and error:
Fatal error: Call to undefined function: drupal_get_form() in /home/keldrir2/public_html/proov/modules/flexinode/flexinode.module on line 831
And when i try to look the Content Types i have another error:
Fatal error: Call to undefined function: drupal_add_js() in /home/keldrir2/public_html/proov/modules/flexinode/flexinode.module on line 361
I want to develop a module to handle an external db that I want to attach to the drupal site I'm working on. I have extended the user profile to gather info needed for this other db.
I posted this question on another topic called Customizing Comments but the thread die. I wonder if someone can help me.
I am trying to create a module that will allow the user to vote on a node and comment on that vote in the comment section. I have two questions.
First, how do I get the node id number while in the comment section? There is great documentation on the variables available through phptemplate in $node. Unfortunately there is not the same for comments.
after upgrading my development install from 4.7b3 to 4.7b4
I'm facing some strange mysql behaviour...
this query does not return any result:
SELECT n.nid, n.created FROM node n WHERE n.type = 'story' AND n.status = 1 ORDER BY n.created DESC;
instead this one works and return latests nodes of type story:
SELECT n.nid, n.created FROM node n WHERE n.type like 'story' AND n.status = 1 ORDER BY n.created DESC;
The only differece between the two are n.type = 'story' in the first and n.type like 'story' in the second.