Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
resting's Recent SnippetsTagged drupal
- All /
« Prev 1 Next »
Drupal 5.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
0
568
posted 13 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
714
posted 13 years ago by resting
Just include
**global $user;** and
**$user->uid != 1** into the function
0
765
posted 13 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
656
posted 13 years ago by resting