Find the number of results in a view. Add this snippet to the header or footer of the view, depending on where you want the number of results to be displayed.
From: http://drupal.org/node/131031
See Number of results in a Drupal View SnippetFind the number of results in a view. Add this snippet to the header or footer of the view, depending on where you want the number of results to be displayed.
From: http://drupal.org/node/131031
See Number of results in a Drupal View SnippetDrupal ships with an incredibly powerful and flexible categorisation system, called Taxonomy. However, many developers and site builders get confused when trying to decide if something should be a taxonomy term or a field in its own right.
Read Drupal Taxonomy vs Content Type FieldYou can use node relativity to attach nodes to other nodes. In this case, I am using it to attach reviews to product nodes, where the reviews are nodes in their own right. I want to be able to view the reviews (children) within the product node (parent).
See Node relativity view childen in parent node SnippetThis snippet will select Webform (Webform module) submitted data between a given date range. In this case, that date range is between 2009-06-04 and 2009-07-07.
The UNIX_TIMESTAMP function converts the date into a Unix Timestamp. This is because the value of submitted is in Unix Timestamp format.
See Select Webform submissions between a date range SnippetIt is often useful to add a "edit this node" or "edit this block" if a site editor is viewing content on a page that is not the node page itself. This includings viewing content from a "view" page where the normal edit tabs are not present for nodes or blocks.
See Add Edit this node/block link to Drupal View SnippetAdvanced Forum (Drupal module) comes with a few variants on the theme. The following can be added to the sites main theme style sheet and adjusted to suit. This will override most of the colours of that come with Advanced Forum.
See Override Advanced Forum Colours SnippetBoost is an amazing Drupal module that can dramatically improve the page speed performance. This can improve the experience of visitors and help a web site cope with unexpected surges in traffic.
Read Boost your Drupal websiteUsing the Pathauto module is a quick and easy way of automatically creating meaningful URL's. Instead of having to type in a URL path manually for each node (page, story etc) yourself, it will do it automatically based on set criteria, like the category it belongs to and the title.
Read Changing existing URL paths in pathautoJonny Platt has developed a Drupal module that integrates Affiliate Window's ShopWindow functionality into Drupal. ShopWindow is a system that enables a webmaster or affiliate marketer to add thousands of products to a website with amazing ease and speed.
Read Affiliate Window ShopWindow Module for DrupalThe Drupal Content Construction Kit allows you to create custom content types rather then relying on the default ones. It is an amazing feature and can add real flexibility to the system.
Read Correct Markup with CCK (Drupal Quick Tip)