Closed (works as designed)
Project:
Slashcomments
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2010 at 23:10 UTC
Updated:
4 Jun 2010 at 21:28 UTC
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
Comment #1
mukhsim commentedThis 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.