Profile
Achievement
shrop's Recent PHP SnippetsTagged drupal
- All /
« Prev 1 Next »
Insert into your phptemplate theme's template.php file to override the original View theme code.
0
727
posted 15 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
658
posted 15 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
875
posted 15 years ago by shrop
Using this convention, you can override any system table setting.
1
603
posted 15 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
644
posted 15 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
696
posted 15 years ago by shrop