i have to use module_invoke in case of how my page ist structured, in which i want to display the block.
the autocomplete "block" needs to be shown between two handcoded segments and the only way to realize this in the page is to use module_invoke. i could realize it through making three blocks for this page, but my "blocks-list" is already very long and i love dynamic solutions ;)
i tried it with module_invoke(block, block, view, number)...but it didnt work, not only because the $delta is wrong but it seems to be of another kind than "block". i think the blocks in this module have some kind of other description or function call. being still a novice to php i cannot completely understand the module source code :)
Comments
Comment #1
danielb commentedI don't understand what the problem is. You don't need to use module_invoke to display the block.
Comment #2
Paschka commentedi have to use module_invoke in case of how my page ist structured, in which i want to display the block.
the autocomplete "block" needs to be shown between two handcoded segments and the only way to realize this in the page is to use module_invoke. i could realize it through making three blocks for this page, but my "blocks-list" is already very long and i love dynamic solutions ;)
i tried it with module_invoke(block, block, view, number)...but it didnt work, not only because the $delta is wrong but it seems to be of another kind than "block". i think the blocks in this module have some kind of other description or function call. being still a novice to php i cannot completely understand the module source code :)
any ideas? :)
greetings
Paschka
Comment #3
danielb commentedare you doing something like this?
can you post your code so we can compare?
Comment #4
Paschka commentedhaha thx it works with your code now :)
the code was nearly the same but i tried:
trying the module name was not in my brainwave ^^
kind regards
Paschka
Comment #5
Paschka commentedComment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.