DrupalBin
Submit Code
About
Recent Posts
css path
21 min 58 sec
ago
Fix for Code
4 hours 21 min
ago
Fix for Code
4 hours 27 min
ago
Fix for Code
4 hours 35 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
Fix for Adding CSS
View
Download
Fix
This fix will not be saved to the database until you submit.
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Source code:
*
// in my template.php $theme_path = path_to_theme(); // Add javascript and stylesheets here. drupal_add_css($theme_path .'/css/mystyles.css', 'theme', 'all'); drupal_add_js($theme_path .'/myjavascript.js');
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal
Drupal 5
Drupal 6
HTML
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.