Hi,
I'd like to make changes to the comment form (just let people know which fields are required, for now).
A little grepping seems to have led to commentform.tpl
But, that's where it gets kinda hairy.
I have competition as my template
There is no commentform.tpl in templates/competition
There are three different commentform.tpl.php variations in templates_c that each start with "competition" and then have a mangled string of characters, and finally "commentform.tpl.php".
there is also a default template that includes a commentform.tpl
So, which do I edit?
And can you clarify why?
Thanks if you can help.
-John
Changes to the comment form how to
Re: Changes to the comment form how to
The default one, which is the fallback, if the template itself does not offer a changed file. So better copy the default/commentform.tpl to competition and make your desired changes in there. From now on Smarty compiler takes that one to compile in templates_c.
The files in "templates_c" are just translations - compilations from smarty-code to php-code internally, not to be touched by a user. So actually at last these PHP-Template codes are processed by your Webserver with PHP.
The files in "templates_c" are just translations - compilations from smarty-code to php-code internally, not to be touched by a user. So actually at last these PHP-Template codes are processed by your Webserver with PHP.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Changes to the comment form how to
That makes sense Timbalu.
Thanks for the clear explanation.
I'll give it a try (real soon now) and let you know how it went.
Thanks for the clear explanation.
I'll give it a try (real soon now) and let you know how it went.