when I choose to use "Exposed form in block", the delta value in {blocks} table looks like this:
$exp-viewname-page_1

I am curious about the $ sign. Is it intentional or is it a bug?

Comments

merlinofchaos’s picture

Status: Active » Fixed

It is intentional; it's a non-legal character in a view name so that the views_block implementation can tell that it's a 'special' block.

pasqualle’s picture

Status: Fixed » Active

this makes an invalid HTML

<div id="block-views-$exp-cars-page_1" class="block block-views">

Warning:

attribute "id" has invalid value "block-views-$exp-cars-page_1"

and other problem:
I am not able to theme the block with block-views-$exp-cars-page_1.tpl.php template (but maybe this is not related)..

merlinofchaos’s picture

Status: Active » Fixed

I changed the $ into a - in -dev, with an update to modify the blocks database to match.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.