i just installed codoforum in a directory of my site (www.clamorcity.com/codoforum) but i cant view my forum categories. anytime i click any of my forum categories, i get the error below:

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/home/chillex/publichtml/codoforum/sites/default/themes/default/templates/forum/category.tpl" on line 157 "<input placeholder="{("Select a date"smile}" class="form-control col-md-3" type="text" id="datetimepicker"/>" unknown function "_" <-- thrown in /home/chillex/public_html/codoforum/sys/Ext/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 157

please help me out.
Thanks.

i just installed codoforum in a directory of my site (www.clamorcity.com/codoforum) but i cant view my forum categories. anytime i click any of my forum categories, i get the error below: Fatal error: Uncaught --&gt; Smarty Compiler: Syntax error in template &quot;file:/home/chillex/public_html/codoforum/sites/default/themes/default/templates/forum/category.tpl&quot; on line 157 &quot;&lt;input placeholder=&quot;{_(&quot;Select a date&quot;)}&quot; class=&quot;form-control col-md-3&quot; type=&quot;text&quot; id=&quot;datetimepicker&quot;/&gt;&quot; unknown function &quot;_&quot; &lt;-- thrown in /home/chillex/public_html/codoforum/sys/Ext/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 157 please help me out. Thanks.
 
0
reply

Hi,

Open the file

codoforum/sites/default/themes/default/templates/forum/category.tpl"

On line 157, replace

<input placeholder="{_("Select a date")}" class="form-control col-md-3" type="text" id="datetimepicker"/>

with

<input placeholder="{_t("Select a date")}" class="form-control col-md-3" type="text" id="datetimepicker"/>
Hi, Open the file ``` codoforum/sites/default/themes/default/templates/forum/category.tpl&quot; ``` On line 157, replace ``` &lt;input placeholder=&quot;{_(&quot;Select a date&quot;)}&quot; class=&quot;form-control col-md-3&quot; type=&quot;text&quot; id=&quot;datetimepicker&quot;/&gt; ``` with ``` &lt;input placeholder=&quot;{_t(&quot;Select a date&quot;)}&quot; class=&quot;form-control col-md-3&quot; type=&quot;text&quot; id=&quot;datetimepicker&quot;/&gt; ```
Necessity is the mother of all inventions!
 
0
reply
31
views
1
replies
2
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft