Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 65 66 67 68 69 ... 152
Very usefull translation adapter for simple interfaces where creating translation files is just a bit to much.
1 303 posted 11 years ago by RonXS
Use this to fix Pagination Problem on query posts page. This will fix the problem where clicking on the next page keeps showing same posts
1 320 posted 11 years ago by Farhan
Nice and short
0 296 posted 11 years ago by Blerx
Takes the ID of a page, then displays a list of child pages with thumbnails and page titles. The thumbnail is generated from the 'featured image' of the particular child page.
2 444 posted 11 years ago by martinlucas
0 280 posted 11 years ago by rliverman
2 296 posted 11 years ago by mb2o
This snippet saves in the $return array all the names of the fields that a content type has added with CCK, has to be installed the cck module.
0 601 posted 11 years ago by JohnnyGamba
Script used to access the Envato API, and get extra details using Curl. This script will only work on PHP5 on a Linux hosting account (with safe mode / openbasedir disabled). Will need slight adjustment if trying to run it otherwise. You are w...
1 449 posted 11 years ago by dtbaker
0 309 posted 11 years ago by dmertl
CSS: <pre><code>div.pagination { padding: 3px; margin: 3px; } div.pagination a { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #AAAADD; text-decoration: none; /* no underline */ color: #000099; } div.pagination a:...
1 308 posted 11 years ago by Alexxandar
0 265 posted 11 years ago by karmacode
Prints an array (recursive) as PHP code (can be pasted into a php file and it will work). Note: This function can process arrays with integers/strings/sub-arrays. It is impossible to process resources (they have a state), and while it is possible...
1 379 posted 11 years ago by BrunoDeBarros
Add block in anywhere in the content, node in drupal
2 310 posted 11 years ago by jesudasjj
This was a fix for the form that allowed me to automatically replace the text when I focused on area. Find the file text.php inside modules. Replace line 89 with this code.
0 402 posted 11 years ago by gera3d
I edit this from tylerhall on 11/30/-1
0 337 posted 11 years ago by redoc
0 360 posted 11 years ago by kidmizere
0 270 posted 11 years ago by Joergermeister
1 ... 65 66 67 68 69 ... 152