I am pretty knowledgeable with PHP, but am stuck on something when it comes to module development. I have tried to use the function db_result, and it comes up with this error:
"Fatal error: Call to undefined function db_result() in /home/liv17894/public_html/bbatest/sites/all/modules/jobs/jobs.module on line 6"
Why is Drupal not recognising the function? Do I need to include a file to reference it's functions in the module or something?
I have created many terms in taxonomy vocabulary.
When users make content they must pick 1 term from taxonomy.
So in the end i have lets say 30users that have picked term A, 20 picked B, and so on...
I will use views to have all of terms on the 1 page shown.
Is there is a way that i get a number after each term automatically when users pick a term. For example:
If i have 30users picked term A i would like to see in my views page:
A (30)
B (20)
C (5) and so on...
I just installed drupal 7.7 on a ubuntu 10.04 server. The installation said it was successful and everything, but when I click the "navigate to your new site" it just goes to the default "It works!" apache 2 page. I also tried navigating to www.mysite.com/admin it's hosted locally so it's a local IP, but that was to no avail either. Am I missing something? How do I get to the control panel?
I want to create a view that lists titles of published and unpublished nodes.
How can I make the view include unpublished nodes?
How can I style the node titles of unpublished nodes as plain text whereas the node titles of the published nodes are links to the node?
If it's not at all possible to make the view include unpublished nodes, I'd use an artificial flag field.