Please note that Form2Content is no longer being developed. All files from the latest version can be found on Github.

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Steve Frise
  2. F2C article templating
  3. Sunday, 17 December 2017
  4.  Subscribe via email
Version info:
(Joomla! 3.8.3) (F2C Pro 6.12.0)

Hello! Thanks again for the great Joomla! component. It has become essential to my business and was worth every cent!

I am having a few issues with the F2C_TAGS field type and have had a hard time finding any documentation on it (I have looked everywhere!). The only thing I was able to find was this forum post (attached) that talks about how the tags are stored as an array and Smarty foreach commands are necessary to work with them.

With other F2C fieldtypes, such as multi-select list and database query, you can list the values in the array with a foreach command and using $i and $k (also attached), but at the moment with the F2C_TAGS I can only verify what is actually in the array using Smarty (conditions for value in array, bottom of second attached link).

From what that forum post says the F2C_TAGS field type only enables the entering of tags in a F2C form but doesn't allow you to call them back into the intro or main templates using F2C, is this correct? If so, is there no way to actually retrieve the (text only) data from the array of tags?

Thank you for everything!

Accepted Answer
Accepted Answer Pending Moderation

Yes, you can use the tags array for output in your template. Here's an example of the syntax that will print out all the tag titles:

{foreach from=$F2C_TAGS key=k item=i}

Responses (2)
Accepted Answer Pending Moderation
Ah I see! So unlike the other F2C arrays you don't need to add _VALUES to the F2C_TAGS field.

Thank you!

  1. more than a month ago
  2. F2C article templating
  3. # 1
  • Page :
  • 1

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