resting


Member since 09/03/2010

Location: Singapore

14 snippets

381 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

resting's Recent Snippets



« Prev 1 Next »
0 109 posted 9 years ago by resting
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0 65 posted 9 years ago by resting
Drupal 5. Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
0 57 posted 9 years ago by resting
Put in /sites/default/settings.php
0 83 posted 9 years ago by resting
Save in a php file and run in the directory. Remove directory files through ftp. Remove php file
0 66 posted 9 years ago by resting
Only this portion needed // Add page template suggestions based on node type, if we aren't editing the node. if ($vars['node'] && arg(2) != 'edit') { $vars['template_files'][] = 'page-nodetype-'. $vars['node']->type;...
1 92 posted 9 years ago by resting
Just include **global $user;** and **$user->uid != 1** into the function
0 91 posted 9 years ago by resting
To be placed in template.php preprocess_page function.\\r\\n\\r\\nBreaks stylesheets into 2 style tags with limit of 30 @imports each. IE has a limitation of 31 @imports or 31 style tags. (source: [http://john.albin.net/ie-css-limits/single-style-tes...
1 80 posted 9 years ago by resting
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1 121 posted 9 years ago by resting
0 112 posted 9 years ago by resting
1 93 posted 9 years ago by resting
Embed tag doesn\'t validate. Quick solution.
0 101 posted 9 years ago by resting
« Prev 1 Next »