[support] A CSS for each locale

Frans Kuipers franskuipers at gmail.com
Wed Mar 5 20:04:17 UTC 2008


Tink it is possible, but never done it.

Put something like this in the template.php of your theme

Case $user-role
   admin:
  drupal_add_css("red.css");
  break;
  editor:
  drupal_add_css(blue.css");
  break;
  default:
  ......
end case


For exact details see the drupal handbook about theming and template.php



On 04/03/2008, Marolijo - Pol maresma <marolijo at yahoo.es> wrote:
>
>  Hello, is it possible?
> Thank's!
>
> Pol Maresma
> PolNetwork.com / Serveis d'Internet
> msn: marolijo
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Frans Kuipers
Cell: +27 (0)76 169 8752
Fax SA: 086 601 8352
Fax NL:  084 228 8562


Quote - Jules Renard - "It is not how old you are, but how you are old"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080305/bafa52b1/attachment.htm 


More information about the support mailing list