I want to list states in a combo box to be displayed in block in left side bar. Depending on the selecting of state I want to filter the HTML code within page nodes.
How can I do it?
I want to list states in a combo box to be displayed in block in left side bar. Depending on the selecting of state I want to filter the HTML code within page nodes.
How can I do it?
hook_block
.How to proceed from there depends largely on what type of filtering you need. In any case
hook_nodeapi
is invoked on various node-related occasions, so you might want to implement it to do the actual filtering.