Member
Member
slaattnes   2009-09-15, 01:06
#1
Hi

I have a weird problem: I can't get the printCommentForm to display the comment function on news.php (the news pages). The <?php printCommentForm(); ?> are there from before, but it doesn't show anything with the code doubled either. <?php printContactForm(); ?> 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.
Member
Member
slaattnes   2009-09-15, 01:29
#2
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;
Administrator
Administrator
acrylian   2009-09-15, 10:37
#3
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?
Member
Member
slaattnes   2009-09-15, 11:02
#4
Yes I will. The least I can do for both all your help and this great program!
Member
Member
slaattnes   2009-09-15, 12:02
#5
http://www.zenphoto.org/trac/ticket/1244
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.