Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 327 328 329 330 331 ... 553
A handy, generic form processor which validates presence of fields marked in a hidden value, like: <input>. Easy to override and customize as needed. Adapted from a script found in PHP 5 Unleashed.
1 1912 posted 15 years ago by nate63179
Had many people ask me how I display all posts in a category when they click on the category link in the header @<a href="http://www.vagrantradio.com">http://www.vagrantradio.com</a>. There's a lot more involved, but here's the quick and dirty;
0 1777 posted 15 years ago by vagrantradio
Add a classname of js to the document body to style browsers with javascript enabled differently
1 1427 posted 15 years ago by lwcooper
0 1219 posted 15 years ago by sai-venkat
By using hook_form_alter, you can add your own callback functions to any Drupal form. These functions will be called when Drupal validates the form and when Drupal submits it. In example below, a module called 'simple_checkout' adds its own hand...
1 1718 posted 15 years ago by berkes
This plugin allows you to collapse the inner text so that it adjust into specific width or container width.
1 1723 posted 15 years ago by jaff
0 1164 posted 15 years ago by desmond54
0 1124 posted 15 years ago by desmond54
3 1580 posted 15 years ago by adambundy
Aimed at designers who want to sprinkle in a little PHP to make development easier. If building/prototyping a site with HTML/PHP, this can save time by constructing the navigation list on the fly, based on re-usable navigation settings. Usage: Ass...
0 1180 posted 15 years ago by rareyman
0 1193 posted 15 years ago by kmorey
for help, type: ./compc -help [command]
0 1136 posted 15 years ago by nalmeida
0 1197 posted 15 years ago by Flocke
0 1101 posted 15 years ago by Flocke
0 1527 posted 15 years ago by Flocke
0 1101 posted 15 years ago by Flocke
0 1216 posted 15 years ago by Flocke
0 1126 posted 15 years ago by Flocke
1 ... 327 328 329 330 331 ... 553