ZenphotoCMS Forum
Can't get printCommentForm to work with news.php - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Can't get printCommentForm to work with news.php (/thread-5847.html)



Can't get printCommentForm to work with news.php - slaattnes - 2009-09-15

Hi

I have a weird problem: I can't get the printCommentForm to display the comment function on news.php (the news pages). The are there from before, but it doesn't show anything with the code doubled either. works fine though in its place. What could the problem be? I think that I have renamed the news.php to another name have something to do with it.




Can't get printCommentForm to work with news.php - slaattnes - 2009-09-15

For other that have the same problem:

You have to rename news.php in comment_form.php:

        case 'tekster.php':
        if (!getOption('comment_form_articles')) return;
        $comments_open = zenpageOpenedForComments();
        $formname = '/comment_form.php';
        break;



Can't get printCommentForm to work with news.php - acrylian - 2009-09-15

So you found another part where the news.php and pages.php page is hardcoded? Could you do us a favour and open a ticket for this and note all occurances of this you have found and maybe will find?




Can't get printCommentForm to work with news.php - slaattnes - 2009-09-15

Yes I will. The least I can do for both all your help and this great program!




Can't get printCommentForm to work with news.php - slaattnes - 2009-09-15

http://www.zenphoto.org/trac/ticket/1244