Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 438 439 440 441 442 ... 552
One other thing to note, is that the php generated css file can make use of query parameters, for instance: <link rel="stylesheet" href="base.css.php?type=alternate" type="text/css" > in your PHP file you can use the variable: if ($_GE...
2 2660 posted 17 years ago by dbug13
Get Version Number from Info.plist
8 3690 posted 17 years ago by steve918
Grabs the unique device id from the iPhone
3 3457 posted 17 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 4060 posted 17 years ago by steve918
Create theme override file: `upload_attachments.tpl.php` in your theme directory. [CSS styles](http://snipplr.com/view/11848)
2 2185 posted 17 years ago by zachharkey
The following styles are designed to work with the markup from a custom theme override template called [upload_attachments.tpl.php](http://snipplr.com/view/11851)
1 2323 posted 17 years ago by zachharkey
2 1941 posted 17 years ago by zachharkey
Few different ways to output primary links in your page.tpl.php template.
3 2464 posted 17 years ago by zachharkey
Rather than using target="_blank", which is deprecated by the W3C in XHTML, you should use rel="external" for links that you want to pop out in a new window. This is the javascript that makes it happen.
0 2584 posted 17 years ago by chippper
Groovy ranges works on dates also! (http://kousenit.wordpress.com/2009/02/02/groovy-groundhogs/)
2 2474 posted 17 years ago by narkisr
2 1821 posted 17 years ago by aflatter
paste it in wp-config.php and make sure the prefixes are right (wp_* is default) also the blogs must be installed on the same database with different prefixes. For example, you might have a primary blog with the table prefix wp_ on the database...
0 1567 posted 17 years ago by philiph
0 1841 posted 17 years ago by oli
3 2143 posted 17 years ago by oli
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 2593 posted 17 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 1936 posted 17 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 1598 posted 17 years ago by lexx
Fix the background at the NSF
0 1767 posted 17 years ago by chablatfriront
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 1987 posted 17 years ago by narkisr
0 1941 posted 17 years ago by stavelin
1 ... 438 439 440 441 442 ... 552