This piece of code is to generate a menu or list of links to taxonomy pages. I used it inside a block. I created a view that shows all items under certain taxonomy term.
It is basically a taxonomy menu but you can customized an place it anywhere.
Good link to learn more about embedding your own views: http://groups.drupal.org/node/10129
Insert snippet into a node's body. Select the php input format and submit the node.
I found it here: http://www.computerminds.co.uk/bulk-deleting-drupal-nodes-particular-content-typeI was trying to do the same on drupal 6.x I used to do with drupal 5.x to post a form inside a node. In oder words, to embed a node add form inside the body text area of a page. But I was getting fatal errors. I went to drupal.org site and found out that 6.x doesn't include some files when rendering the pages.
http://drupal.org/node/312189
Basically this is what I used to do on Drupal 5.x:
These are some of the directive you can use to have your website work a bit better in terms of uploading files and showing really long pages like modules page and blocks page in the admin section of drupal.
Create a php.ini file in your site's root folder and copy and paste this code into it.
register_globals = Off memory_limit = 96M post_max_size = 100M upload_max_filesize = 100M max_execution_time = 1000 max_input_time = 1000
You can also check this link for more good info on how to fix server memory problems. http://drupal.org/node/76156
This is an example on how you can create a custom search box for your drupal site. The code below renders a text box and a button. When you perform a search, drupal will only look for the keyword inside the node types specified below (page, recipe, product, blog_article). You can just copy and paste this code into a block.
use_pager) {
$output .= theme('pager', '', $view->pager_limit, $view->use_pager - 1);
}
$output .= theme_views_view($view, $type, $nodes, $level = NULL, $args = NULL);
return $output;
}
?>
Tested in drupal 4.x and 5.x