You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
hvorragend edited this page Aug 5, 2011
·
1 revision
If you want to make a module commentable (as module developer for example) integrate these codelines into your template
at the place where you want to have your comment function.
Step: Generate the return url. EZComments has to know from which page the comment was sent from. This is an example
of the MyProfile profile module
Step. Call the hook: This is also an example from the MyProfile module. module has to be
the commentable module, returnurl is the url we constructed one line above this text and
owneruid should be the owner of the displayed content. This (owneruid) is very
importan because it allows the content owner (weblog owner, gallery owner, profile
owner) to moderate the comments other users submitted for his content.
Otherwise the admin (you?) have to moderate everything by hand!