Profile
Achievement
shrop's Recent Snippets
- All /
« Prev 1 Next »
Insert into your phptemplate theme's template.php file to override the original View theme code.
0
919
posted 16 years ago by shrop
This will create a general site blog teaser list at /blog. It requires a cck type named blog. This view also generates an RSS feed for the blog. This is compatible with Views1 for Drupal 5.
2
851
posted 16 years ago by shrop
This is useful if you are changing a Drupal site's file upload path and/or changing from a private to a public file store.
3
1710
posted 16 years ago by shrop
Creates a category list showing the number of posts in each category similar to some blogging platforms. The view exposes a block and page.
2
1088
posted 16 years ago by shrop
Using this convention, you can override any system table setting.
1
805
posted 16 years ago by shrop
I use this code to place in blocks or pages to show a link to the user registration page if the user is not currently logged in. An example is a block I have setup on the home page of http://www.lightentheload.net. If the user is logged in, the block...
0
839
posted 16 years ago by shrop
View to use with the docs at http://drupal.org/node/144725 for creating image gallery using cck, views and thickbox.
3
933
posted 16 years ago by shrop
A Views export for Drupal 5. A block that only site admin and site manager roles can access, showing unpublished comments for blog entry content type.
3
919
posted 16 years ago by shrop