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
911
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
843
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
1704
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
1081
posted 16 years ago by shrop
Using this convention, you can override any system table setting.
1
799
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
836
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
924
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
915
posted 16 years ago by shrop