Welcome To Snipplr


Everyone's Recent Snippets



1 ... 471 472 473 474 475 ... 552
Set the center of the map on the person's location based on IP address. In this case the user is required to be in the USA.
0 2795 posted 18 years ago by sgraber
0 1880 posted 18 years ago by sudarkoff
0 1823 posted 18 years ago by Anthony
0 1537 posted 18 years ago by Meestercor
This is a simple function that will take a folder path and remove all of its contents including files and directories.
0 2094 posted 18 years ago by aristoworks
2 2612 posted 18 years ago by mikegreen
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 2202 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 2294 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 2837 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 2513 posted 18 years ago by aleprieto
This code snippet make use of the API to accomplish a block with links to related content.
1 2428 posted 18 years ago by aleprieto
Replace all mysql_query() calls in your project to debug_mysql_query() to see all mysql queries in Firebug console.
1 2237 posted 18 years ago by stancell
0 3532 posted 18 years ago by denilw
3 2092 posted 18 years ago by antpaw
Atualiza janela principal após fechar Pop-UP Refresh Main window after close the Pop-Up
0 1803 posted 18 years ago by LondonWeb
0 2147 posted 18 years ago by LondonWeb
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 1632 posted 18 years ago by LondonWeb
mostrar resultados - simplified version show results
1 1898 posted 18 years ago by LondonWeb
0 1709 posted 18 years ago by LondonWeb
Simplified form to extract data through MySQL
0 1609 posted 18 years ago by LondonWeb
1 1632 posted 18 years ago by LondonWeb
0 1617 posted 18 years ago by zeman
0 1818 posted 18 years ago by goo
1 1622 posted 18 years ago by marouanomezzine
Takes a delimited string and a the delimiter, and returns a dynamic arrary
0 1589 posted 18 years ago by ScryptKeeper
0 1586 posted 18 years ago by wizard04
1 ... 471 472 473 474 475 ... 552