Welcome To Snipplr


Everyone's Recent Snippets



1 ... 439 440 441 442 443 ... 553
0 1498 posted 17 years ago by oli
3 1769 posted 17 years ago by oli
Thanx to Guillaume Laforge, who provided this code snippet of Groovy code in a GSP. The snippet below is more or less the same, less the HTML. It will show all future evens and create a eventMap for each event.
0 2200 posted 17 years ago by hansamann
Please, be careful with trailing slash rewrite as post requests without a trailing slash will be ignored. Be sure to test if you plan on using that one. Not compatible with Drupal.
0 1586 posted 17 years ago by troynt
I wanted to show a block of the current taxonomy term info (desc, name, img) in Drupal 6 views 2 Provide default argument
0 1281 posted 17 years ago by lexx
Fix the background at the NSF
0 1460 posted 17 years ago by chablatfriront
Running a btrace script takes two separate steps by default: 1. Running jps to get the Java process ID. 2. Running btrace on the ID. A simple awk script can merge the two into a single step.
0 1597 posted 17 years ago by narkisr
0 1536 posted 17 years ago by stavelin
1 1443 posted 17 years ago by fackz
0 1365 posted 17 years ago by tibormiklos
my take on an xhtml skeleton
3 2231 posted 17 years ago by rwczippy
here's the suckerfish dropdown menu for Joomla 1.5 that written by tbianco. It's extremely easy and here's what you need to do: 1) Create the main menu module and add a suffix to it of '_topmenu'. I use the underscore to so that the class name in...
4 2080 posted 17 years ago by jitendraweb
An example of how to write your own navigation with dynamic "active" classes.
3 2163 posted 17 years ago by kristarella
I currently have project_issue nodes set for replacement pattern issues/issue[nid] in Drupal 5.x PathAuto. This query fixes all of the URL aliases for entries created before this was set correctly.
0 1601 posted 17 years ago by tgbdad
this function formats a web address for use in a link
2 1801 posted 17 years ago by jlvallelonga
This snippet assumes that you have a container `div` with an id of "images". It also assumes that each img element inside your container div has the CSS property `visibility: hidden`
0 1207 posted 17 years ago by username
This snippet contains a text input field called 'abc' and we calling the checkNum function as the onclick action of a button 'btn'
0 1817 posted 17 years ago by juzerali
this will give you a lovely RSS. Im sure you will need to edit the database stuff and row names
5 2263 posted 17 years ago by antpaw
dont use spaces around the ":" in CSS its buggy :(
2 3270 posted 17 years ago by antpaw
1 ... 439 440 441 442 443 ... 553