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 am using Drupal 7 and adding content to my front page using the "basic page" content type. I want the full content to show on the front page and not a teaser that links to the full post. What is the best way to get the full content to display instead of the teaser. Thanks.
I'm using the book structure to organise content on my web site, but now i would like to make a forum (not a forum topic) a page in a book. Forum's don't have the option to place them in a book directly as far as i know, but is there another way to accomplish this?
This has been driving me crazy. I've been trying to add a javascript file to just one page but I can't seem to get it to work. I've tried the instructions here:
and I must be missing something. The setup I have now is, I've added the .js file to my themes /js directory. I've made a node and added this to the body (trying 7 different methods):
I am trying to alter the node.tpl.php and am having quite some issues. First I don't seem to be catching on to the way this should be done. Some fields I can use this call for:
print $node->field_wr[und][0]['value'];
But should I be doing that? I also keep getting this error often...
Notice: Use of undefined constant und - assumed 'und' in include() (line 96 of C:\wamp\www\backoffice\themes\bartik\templates\node--job.tpl.php).
I am working on an e-commerce store for motorcycle parts and am having problems sorting out the taxonomy. I want to be able, when creating a part as a node, to enter a 'from date', 'to date', 'make', & 'model' for multiple models. Marking the part as fitting each year separately is not an option. If I add a 'from date' & 'to date' in the taxonomy then I seem to have to list each year range for each model separately which also is not an option.