SSL Labs ScoreSecurityHeaders.io Score

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

subform - other custom field

More
4 months 2 weeks ago #2256 by tamir72
tamir72 created the topic: subform - other custom field
is it possible to use another 'custom field' (like you custom field 'location' in the subform XML definition?

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

More
4 months 2 weeks ago #2268 by michael
michael replied the topic: subform - other custom field
Yes. If you download the twittercard example subform, it has a custom field in it. It works like any other Joomla JForm XML.

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

More
4 months 1 week ago #2294 by tamir72
tamir72 replied the topic: subform - other custom field
I define in my subform XML definition the following:
...
<fieldset addfieldpath="plugins/fields">
...
<field
type="location" <-- You custom field 'location'
name="location"
label="Location"
description="The time between the two points"
/>
</fieldset>

Is this the way to do it? Because I am getting a "text" field and not "location" :-(

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

More
4 months 1 week ago #2296 by michael
michael replied the topic: subform - other custom field
I've never tried that. My location field isn't built for that sort of thing. It would need to be rewritten as a field, not as a custom field plugin....I know that sounds funny - but they are very different. Many of the standard Joomla field types are not available as custom field plugins (I've released a few to fill those gaps).

I can try it - but it's not going to be easy to write that code because of the way google maps are initialized.

Were you planning on making the subform repeatable?

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

More
4 months 1 week ago #2304 by BodgeIT
BodgeIT replied the topic: subform - other custom field
This is where I got confused, I was expecting to be able to pull in other "Custom Fields", not make my own custom fields.

Is this a feature that could be added? It make make this plugin immensely powerful.
The following user(s) said Thank You: tamir72

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

More
4 months 1 week ago #2305 by michael
michael replied the topic: subform - other custom field
That would be cool. Technically complex thought.

I'll look into it

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum