drupal_add_css conditional link not working

I am trying to insert a conditional CSS link like this:

drupal_add_css('http://example.com/blueprint-css/blueprint/ie.css', array('type' => 'external', 'weight' => CSS_THEME, 'media' => 'screen, projection', 'browsers' => array('IE' => 'lt IE 8', '!IE' => false)));

According to the API it looks correct.

Any idea what I'm doing wrong, or is it a bug?

Cache: 'multiversioning' ?

Hi Guys,

I've just got deep in the cache mechanism of Drupal, and I got to a scenario where I think it has a little incompleteness. The best word I could describe it: 'multiversioning', and I mean multiversioning of page cache (of a single page)!

I'm shortly describing the scenario where I stucked at without this feature. While creating a new website with Drupal, I tried to handle clients with javascript enabled and without javascript. Drupal has a 'has_js' cookie value to check wheather the user has javascript enabled, and based on this parameter, I'm doing things a little different if the visitor enabled javascript and if not (for eg. if has js, I'm showing a javascript button which works with events, and without js I'm showing a simple basic button). Therefore, I have two 'versions' of the same page, based on a client parameter (has_js). Btw, I'm talking about anonymous visitors.

Sqlite setup help?...

Trying to find documentation on how to setup Sqlite. I want the database to be on a separate server, so can anyone link me to documentation showing me how to do this. Thanks!

Here how my network looks:
---Server - openSuse 11.2 (192.168.0.100)
--------VBox
------------Guest - openSuse 11.2 (Drupal Development) (192.168.56.103)
------------Guest - openSuse 11.2 (Drupal Production) (192.168.56.104)
------------Guest - openSuse 11.2 (Sqlite Database) (192.168.56.105)

Table drupal.blocks doesn't exist after upgrading from 7.0 alpha1 to alpha2

I upgraded from 7.0 alpha1 to alpha2. When I run update.php, I get the error message:

The following updates returned messages

block module

Update #7002

* Failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.blocks' doesn't exist

on the update.php?op=results page.

I'm running Ubuntu 9.10 / Apache 2.2.12 / MySQL 5.1.37 / PHP 5.2.10 on VirtualBox 3.1.4 on Windows XP Pro.

Can I just create the table by hand? Where can I find the table definition?

DrupalCon SF 2010 registration module(s)

Anybody know what module(s) the DrupalCon SF 2010 is using for the event registration? We're building a site with similar functionality - events with multiple options and price points. I've got something going with UberCart, Signup, and uc_signup, but I'd like to know if there's a better way.

Print Main Body of a View Only

I would like to create a link (like a "Printer Friendly" link ) that would only print the main body of a Table View (Please see my example/test site... http://discountcouponsheet.com/test ). When you click on the link only the middle portion will pop up in a new window (in this case the coupons would be ready to print out)... I'm sure this can be done in CSS but I don't know how to write it? Any ideas?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x