/[drupal]/contributions/modules/comment_og/readme.txt
ViewVC logotype

Contents of /contributions/modules/comment_og/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Wed Jul 2 20:45:10 2008 UTC (16 months, 4 weeks ago) by rapsli
Branch: MAIN
CVS Tags: DRUPAL-5--0-3beta2
Changes since 1.5: +1 -1 lines
File MIME type: text/plain
*** empty log message ***
1 The patch is taken from the module comment_notify. Actually only parts of it are needed,
2 but I thought it's easier to use an existing and working patch than to create a new one.
3 I also added the patched comment.module file. You can just replace the original comment.module file.
4
5
6 Right now if you just use the module, all comments will be displayed with the private once just being empty. If you don't want any of the private comments to be displayed you need to slightly modify your comment.tpl.php:
7
8 <?php if ($comment->visibility == 1):?>
9
10 //here is the existing comment.tpl.php content
11
12 <?php endif; ?>
13
14 I will also add an example comment.tpl.php file from the YAML theme.
15
16 ===========================
17 FAQ
18 ===========================
19 Q - When I upload the module into the modules directory drupal doesn't see my comments module anymore.
20 A - Make sure to correctly patch the comment.module file. If there's an existing comment.module file in
21 the comment_og folder, it needs to replace the existing comment.module file of the system.

  ViewVC Help
Powered by ViewVC 1.1.2