Form2Content Forum
Questions and answers for Form2Content, a Joomla CCK.
Discussions tagged php
I would like to calculate the age from a given birthdate. I found these examples, but I'm not sure how to implement them in an article template.
Convert date to age
Calculate Age
Any help appreciated...
Junior Member
{php}{/php} tags not allowed. Use SmartyBC to enable them
- Resolved
- Last updated was 6 years ago
- alena replied 6 years ago
Hi,
I have a php script in my template but it seems to cause troubles in 6.17.4 version:
{php}{/php} tags not allowed. Use SmartyBC to enable them...
Junior Member
Upgraded from php 5.6 to 7.0.
when i open a form to edit an article, i get this message-
Methods with the same name as their class will not be constructors in a future version of PHP; F2C_FileInfo has a deprecated constructor in .../.../.../......
No Ranking
PHP Code for specific content type template? Help Please
- Question
- Last updated was 7 years ago
- F2C webmaster replied 7 years ago
Hello,
I am relatively new to F2C so there may be an easy answer to this.
I created a content type which is supposed to represent a shop item. When on the read more page of the item the user will have the functionality of sending a price offer for ...
New Member
500 - View not found when searching with F2C Search
- Bug
- Last updated was 7 years ago
- F2C webmaster replied 7 years ago
Hello, I have encountered a bug using F2C Search.
I installed com_form2content_pro_6.16.0_J3.7.x and mod_form2contentsearch_6.7.0_J30 through extensions manager and created a search as stated in the documentation. But the console shows an error &quo...
New Member
Main Template File Getting Processed Twice (Joomla 1.6.3)?
- Resolved
- Question
- Last updated was 8 years ago
- Travis S. replied 8 years ago
Hey there! So I'm doing a non-article creating content type in F2C Pro. I've created a form for people to request a room reservation for meetings to take place (contact details, room requested, time/date, etc.). This form's template is utilizing th...
New Member
Prefilling form from joomla user information
- Resolved
- Question
- Last updated was 9 years ago
- Dan Phillips replied 9 years ago
I asked this a couple of years ago and the answer at that time was that it was not possible, but might be in the future. It's the future now So I'll ask again.
In my setup, users are required to log in to access the f2c submission form. The form ...
New Member
Hi
Normally in Joomla I would add JavaScript and CSS files to my page using something like the following:
[CODE]
<?php
$doc = JFactory::getDocument();
$doc->addScript('path/to/j-avascript/script.js');
$doc->addStyleSheet('path/to/s...
Junior Member
Search by year as well as month.
- Resolved
- Example code
- Last updated was 9 years ago
- David replied 9 years ago
F2C Pro 6.11.0
F2C Search 6.5.0
Joomla 3.4.3
Hi
Within the search forms manager you have a Date Interval filed. You have kindly provided php code that will display the months from the current year. I have used this and it works brilliantly.
My...
Junior Member
Facebook og:image
- Resolved
- Common question answered
- Last updated was 10 years ago
- F2C webmaster replied 10 years ago
Form2Content Pro 6.7.0 / Joomla 3.3.6
Is there a way to implement the og:image tag in a F2C template (directly in the template and not via a extra plugin)?
You can add css styles directly in the template, but it does not seem to work with metada...
Senior Member
- Page :
- 1