Welcome To Snipplr


Everyone's Recent Snippets



1 ... 163 164 165 166 167 ... 553
simply add s4-notdlg to the class of the element that you don't want to appear in dialog boxes. See example.
0 1857 posted 14 years ago by rumremix
The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit"...
1 2816 posted 14 years ago by rumremix
function for determining the section ID of a given page. Good to include in a templatetools.php file inside of a template to set up some custom conditional logic
0 1559 posted 14 years ago by beneberle
Another version for my old Order by Rand function now it includes some PHP
0 1268 posted 14 years ago by aamirrajpoot
0 1246 posted 14 years ago by zealmurapa
Put in head tag
0 1462 posted 14 years ago by stephcode
Get a list of providers for DTrace that OSX supports. (DTrace is a probe/profiling tool created by Sun that came with Mac OS X starting with Leopard.)
0 2760 posted 14 years ago by zingo
Call Taxonomy anywhere on a template (without link)
0 1714 posted 14 years ago by zealmurapa
0 1650 posted 14 years ago by stephcode
Returns the video id for any type of youtube url that holds one.
2 2400 posted 14 years ago by KabuqueJoe
0 1511 posted 14 years ago by zealmurapa
0 1132 posted 14 years ago by zealmurapa
strip html on loop
0 1276 posted 14 years ago by zealmurapa
0 1777 posted 14 years ago by zealmurapa
Go to the Windows command line by going to Start -> Run and typing in cmd. You need to change directory to the MySQL bin directory. On my version, the directory is c:\wamp\bin\mysql\mysql4.1.22\bin. Therefore, the command to change to this dire...
0 1537 posted 14 years ago by TheJasonParker
post thumbnail function and display as background if function exists
0 1647 posted 14 years ago by zealmurapa
1 ... 163 164 165 166 167 ... 553