ZenphotoCMS Forum
check 'Private comment' by default - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: check 'Private comment' by default (/thread-7009.html)



check 'Private comment' by default - Guest - 2010-05-06

Can anyone tell me how I can have 'Private comment' checked by default. What do I need to edit?

Thanks for your help!




check 'Private comment' by default - sbillard - 2010-05-07

place $_zp_comment_stored[5]=1 just before you call printCommentForm()




check 'Private comment' by default - Guest - 2010-05-07

Thanks, appreciated!!!




check 'Private comment' by default - Guest - 2010-05-07

One more question. I keep getting errors, where would you place that line:




check 'Private comment' by default - acrylian - 2010-05-07

If you haven't I suggest to read the theming tutorial and look at the standard themes.




check 'Private comment' by default - Guest - 2010-05-07

I have actually but I have no php knowledge. Is going to take me a lot of time to figure out what's going on that's why I thought i'd ask I was hoping it would be easy for you to point out where exactly to place the ' $_zp_comment_stored[5]=1'




check 'Private comment' by default - acrylian - 2010-05-07

sbillard already told you where to place that above...