Hi all !
I am facing quite a problem here. I'm currently creating a module for oxid and I'd like to add a js block to every page.
I already created a block in the /views/block directory and declared it in the metadata.php.
The problem is that the content of the variables of the block will depend on the content of the page.
At first I wanted to extend oxView or oxUBase so I would not have to create a controller for each page. Yet those controllers cannot be extended... So I'm stuck ! :(
Does someone know how I could do that ?
I don't know if I'm making myself clear so if you have any question, just ask ;)
Thanks !
I am facing quite a problem here. I'm currently creating a module for oxid and I'd like to add a js block to every page.
I already created a block in the /views/block directory and declared it in the metadata.php.
The problem is that the content of the variables of the block will depend on the content of the page.
At first I wanted to extend oxView or oxUBase so I would not have to create a controller for each page. Yet those controllers cannot be extended... So I'm stuck ! :(
Does someone know how I could do that ?
I don't know if I'm making myself clear so if you have any question, just ask ;)
Thanks !