Welcome To Snipplr


Everyone's Recent Snippets Tagged module



1 2 Next »
Simple illustration of structuring your JavaScript and minimising your use of global vars.
0 2298 posted 16 years ago by 1man
0 1610 posted 16 years ago by jacobpdq
0 3941 posted 16 years ago by shian
0 1658 posted 16 years ago by magicrebirth
Create a new module using this code:
0 1824 posted 16 years ago by hotdiggity
0 1444 posted 16 years ago by svenkaemper
I added this code in the ModuleNews.php file on line 310 - 314.
0 1867 posted 16 years ago by kahlil
enable and disable sites and modules in apache 2
0 34365 posted 17 years ago by stiobhart
Put this in settings.php
2 2432 posted 17 years ago by aleprieto
2 2106 posted 18 years ago by rblalock
it needs the module mod_deflate
1 2132 posted 18 years ago by iTony
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 2191 posted 18 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 2282 posted 18 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 2822 posted 18 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 2487 posted 18 years ago by aleprieto
This code snippet make use of the API to accomplish a block with links to related content.
1 2417 posted 18 years ago by aleprieto
0 1687 posted 18 years ago by screenager
0 1581 posted 20 years ago by davideweaver
1 2 Next »