aleprieto


Member since 07/15/2008

14 snippets

2348 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

aleprieto's Recent SnippetsTagged drupal



« Prev 1 Next »
Put this in settings.php
2 954 posted 15 years ago by aleprieto
The following code lets us designate "menu links" that will not actually link anywhere.
0 751 posted 16 years ago by aleprieto
If you want to use a specific node.tpl.php for a node, paste or merge this code into your template.php
1 803 posted 16 years ago by aleprieto
Allows to customize the search results page.
0 639 posted 16 years ago by aleprieto
Makes Drupal Advanced Search form non collapsible and expanded by default.
0 687 posted 16 years ago by aleprieto
Here is a simpler list format without the Term name, sorted by date, filtered for published and images, and is rendered correctly by the theme.
1 820 posted 16 years ago by aleprieto
Use the code below to build a custom block that shows the related nodes to the current node by taxonomy term. For example: If the current node in display has a taxonomy term "fish", a bunch of links that link to nodes that have the "fish" term is to...
1 855 posted 16 years ago by aleprieto
This is a simple little block that displays a list of terms in a vocabulary as a list of links to /taxonomy/term/tid pages. Items are listed in the order set for the vocabulary. You could probably use the php sort() function to change that if desired...
0 1316 posted 16 years ago by aleprieto
Fairly simple way to match sidebar content with the main content for several pages without the need to create multiple blocks or the hassle of putting content in a block. For example, your Home, About and Contact pages all have a sidebar with some...
1 1079 posted 16 years ago by aleprieto
This code snippet make use of the API to accomplish a block with links to related content.
1 1015 posted 16 years ago by aleprieto
« Prev 1 Next »