Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The following code lets us designate "menu links" that will not actually link anywhere.
0
1203
posted 17 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
1317
posted 17 years ago by aleprieto
For use with the Firefox Stylish add-on. I put this up on userstyles.org as well - http://userstyles.org/styles/9213.
When you edit a snippet, especially with the comment box, the font is large and fancy. This style changes them to a normal, *rea...
0
1137
posted 17 years ago by wizard04
write this in your .htaccess
links are going to look like this
yourpage.de/yourVariableValue1/yourVariableValue2/
[NC] will remove the case sensitivity of your static words like "admin"
its going to work, even if you type
yourpage.de/a...
2
1339
posted 17 years ago by antpaw
To run this demo, you need to download and install the trial verson of ImgX Controls from [here](http://www.atalasoft.com/download/ImgX64.exe). You may also want to download a scanner emulator (TWAIN data source), such as _TWAIN WG sample source_ ava...
0
1771
posted 17 years ago by dreamlusion
Makes Drupal Advanced Search form non collapsible and expanded by default.
0
1074
posted 17 years ago by aleprieto
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
1940
posted 17 years ago by sgraber
This is a simple function that will take a folder path and remove all of its contents including files and directories.
0
1370
posted 17 years ago by aristoworks
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
1412
posted 17 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
1507
posted 17 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
1817
posted 17 years ago by aleprieto