<div dir="ltr">By the way, my question is related to Drupal 6. Although insights on how it's handled in Drupal 7 are more than welcome.<br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 3:16 PM, Ashraf Amayreh <span dir="ltr"><<a href="mailto:mistknight@gmail.com">mistknight@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">Hello all,<br><br>Is there a way I can alter the output of other modules' blocks from my own module? This would be similar to the nodeapi hook on $op = "view"<br>
<br>If this doesn't work, then I would like to at least detect weather a block has been rendered on the current page to decide weather to emit javascript related to that block. Otherwise I would have to add the javascript on all pages needlessly.<br>
<br>Thanks!<br clear="all"><br>-- <br>Ashraf Amayreh<br>CEO | O-Minds<br>Cell. 962 78 8099997<br>Tel. 962 6 5655150<br>Fax. 962 6 5675150<br>Skype: aamayreh<br><br><a href="http://www.o-minds.com" target="_blank">www.o-minds.com</a><br>
web development | web design<br>
user experience | branding design<br><br>Connect with us on Twitter<br><a href="http://twitter.com/ominds" target="_blank">http://twitter.com/ominds</a><br><br>Connect with us on LinkedIn<br><a href="http://www.linkedin.com/in/aamayreh" target="_blank">http://www.linkedin.com/in/aamayreh</a><br>
</div>
</blockquote></div>
</div>