Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 1909 posted 15 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 2872 posted 15 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 1597 posted 15 years ago by beneberle
Another version for my old Order by Rand function now it includes some PHP
0 1298 posted 15 years ago by aamirrajpoot
0 1282 posted 15 years ago by zealmurapa
Put in head tag
0 1493 posted 15 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 2807 posted 15 years ago by zingo
Call Taxonomy anywhere on a template (without link)
0 1755 posted 15 years ago by zealmurapa
0 1691 posted 15 years ago by stephcode
Returns the video id for any type of youtube url that holds one.
2 2439 posted 15 years ago by KabuqueJoe
0 1547 posted 15 years ago by zealmurapa
0 1161 posted 15 years ago by zealmurapa
strip html on loop
0 1307 posted 15 years ago by zealmurapa
0 1814 posted 15 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 1576 posted 15 years ago by TheJasonParker
post thumbnail function and display as background if function exists
0 1692 posted 15 years ago by zealmurapa
1 ... 163 164 165 166 167 ... 553