Project:Views Filter Block
Version:5.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have activated 2 blocks in Views Filter Block configuration page and placed views for both slots. If I want to write a special function for each block, how can I identify those two blocks in template.php?

I can identify both with this line on code:
function phptemplate_views_filterblock($form) {

But how about "Views Filter Block.0" and "Views Filter Block.1" separately?

Comments

#1

subscribing

even though my deadline is 5 days away, still like to know this. Seems logical to have a different function per block!
>>>>>>>
It's not exactly what i need, but i want to note that using "block-views_filterblock-0.tpl.php" gives the ability to change at least some of the output!

nobody click here