Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Barna László
  2. F2C Content type settings
  3. Wednesday, 15 July 2020
  4.  Subscribe via email
I want to ask for help with a template error
The error occurred while testing localhost!

I attach the picture!

Warning: A non-numeric value encountered in C:\wamp\www\kutya\administrator\components\com_form2content\views\templates\tmpl\default.php on line 68
Attachments (1)
Responses (3)
Accepted Answer Pending Moderation
I changed this:
<tr class="row<?php echo $i % 2; ?>">

<tr class="row<?php echo (int)$i % 2; ?>">

With that, the error is gone, but I don’t think this is the final solution!
Accepted Answer Pending Moderation
Hi Barna,

The templates use Smarty Templating, adding Joomla php generally doesn't work. Please refer to the documentation for examples of the Smarty syntax.

Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thanks Patrick!

Then I'll try to solve it on my own, but I won't give up because I like the component! I'm sorry they're not formatted for more people to use!

  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.