In the install file, it requires me to comment out code from core. This means whenever core is updated, i have to comment portions of it out. This is bad practice.

Instead, you could override the core functions, could you not?

Comments

mukhsim’s picture

Status: Needs work » Closed (works as designed)

This cannot be done on PHP level because "comment_render()" function is hardcoded and is not a hook or a themeable function in Drupal 6. The parent functions for "comment_render()" are "node_show()" and "node_page_view()" that cannot be overriden either.

Mukhsim.