Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1908
posted 16 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
1336
posted 16 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
1109
posted 16 years ago by lexx
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
1403
posted 16 years ago by narkisr
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
1840
posted 16 years ago by jitendraweb
An example of how to write your own navigation with dynamic "active" classes.
3
1883
posted 16 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
1400
posted 16 years ago by tgbdad
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
1038
posted 16 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
1566
posted 16 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
2034
posted 16 years ago by antpaw