SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

Fields - subform render into article

More
2 years 2 months ago #2221 by GetToNet
HI there,

can you help me how to render my custom fields in article itself?
I'd like to render some of the fields in the article, in <head> metadata everything is showing well, but I can't figure out how to render specific field myself..

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #2222 by michael
Did you create your own, or are you using the twitter example I provided?

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #2223 by GetToNet
I'm using DCMI example that you were kind to give me.

I would like to build another set of fields and display them in the article using my own template, but I don't know how to render them.

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #2224 by michael
Ah - OK.

You can let the plugin turn your form into a table by itself. You don't need an output template if the data is just a (single or repeating) series of non-repeating fields.

Try it without the PHP file first. I really tried to make it super friendly for that type of data.

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #2225 by GetToNet
That's the problem, I don't want it to be table.
And data would be repeating field (multiple values)

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #2226 by GetToNet
This is my simple repeatable field:
<form>
<field type="subform" name="test_multiple_form" multiple="true"
layout="joomla.form.field.subform.repeatable-table"
label="Multiple test"
description="Multiple form test">
<form>
<field type="text" name="value" default="" label="test-form-value" description="" />
</form>
</field>
</form>

It causes error:
Warning: array_key_exists() expects parameter 2 to be array, null given in (...)plugins/fields/subform/helper.php on line 47

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Powered by Kunena Forum